Skip to content

Instantly share code, notes, and snippets.

@alloy
Last active August 29, 2015 14:26
Show Gist options
  • Save alloy/3e824676fda828f0bc9f to your computer and use it in GitHub Desktop.
Save alloy/3e824676fda828f0bc9f to your computer and use it in GitHub Desktop.
int _ccec_x963_import_priv_size(int arg0) {
rdi = arg0;
rax = 0xc0;
if (rdi <= 0xc6) {
if (rdi <= 0x90) {
if (rdi != 0x49) {
if (rdi == 0x55) {
rax = 0xe0;
}
else {
if (rdi == 0x61) {
rax = 0x100;
}
else {
rax = 0x0;
}
}
}
}
else {
if (rdi == 0x91) {
rax = 0x180;
}
else {
rax = 0x0;
}
}
}
else {
if (rdi == 0xc7) {
rax = 0x209;
}
else {
rax = 0x0;
}
}
return rax;
}
int _ccec_x963_import_pub_size(int arg0) {
rdi = arg0;
rax = 0xc0;
if (rdi <= 0x84) {
if (rdi <= 0x60) {
if (rdi != 0x31) {
if (rdi == 0x39) {
rax = 0xe0;
}
else {
if (rdi == 0x41) {
rax = 0x100;
}
else {
rax = 0x0;
}
}
}
}
else {
if (rdi == 0x61) {
rax = 0x180;
}
else {
rax = 0x0;
}
}
}
else {
if (rdi == 0x85) {
rax = 0x209;
}
else {
rax = 0x0;
}
}
return rax;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment