Function at 0x510870
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
sub esp, 0x204
lea edx, [esp + 0x5c]
mov dword [esp + 0x30], ecx
lea eax, [esp + 0x200]
mov dword [esp], edx
mov dword [esp + 0x74], 0x567468
mov dword [esp + 0x78], 0x5c41b2
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0x511419
mov dword [esp + 0x84], esp
call fcn.00567748
mov ecx, dword [esp + 0x30]
mov dword [ecx], 0x631228
sub ecx, 0xffffff80
mov dword [esp], 0x630c90
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x60], 1
call fcn.00585180
sub esp, 4
mov ecx, dword [esp + 0x30]
mov dword [ecx + 4], 0x62bf14
mov dword [ecx], 0x62bd78
mov dword [ecx + 0x80], 0x62bdd8
add ecx, 4
mov dword [esp], 0x630c70
mov dword [esp + 0x48], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x60], 2
call fcn.005866a0
sub esp, 4
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x214], 0x1ff
mov dword [ecx], 0x63303c
mov dword [ecx + 0x80], 0x633114
mov dword [ecx + 4], 0x6330ac
jbe 0x5114de
cmp dword [esp + 0x218], 2
jbe 0x51142c
test byte [esp + 0x218], 1
je 0x51142c
mov edx, dword [esp + 0x218]
mov dword [esp + 4], 0
lea ecx, [esp + 0xac]
mov dword [esp + 0x60], 9
mov dword [esp], edx
call fcn.004d9f80
sub esp, 8
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0xac]
mov dword [esp + 0x60], 0xd
mov dword [esp], eax
add ecx, 0x98
mov dword [esp + 0x40], ecx
call fcn.00576d10
sub esp, 4
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xac]
mov dword [ecx + 0xa8], eax
mov ecx, dword [esp + 0xb8]
mov eax, dword [esp + 0xb4]
test ecx, ecx
je 0x5109e5
test eax, eax
jne 0x5111e2
mov eax, dword [esp + 0x214]
lea edx, [esp + 0xc0]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x2c], edx
add eax, 1
shr eax, 1
add ecx, 0x1c
mov dword [esp + 0x44], eax
lea eax, [esp + 0xd4]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x24], eax
jmp 0x510bd5
mov ecx, dword [esp + 0x34]
call fcn.00453c30
mov ecx, dword [esp + 0x214]
mov dword [esp + 0x14], 2
mov edx, dword [esp + 0x40]
mov dword [esp + 0x10], 1
mov dword [esp + 0x60], 9
sub ecx, eax
mov eax, dword [esp + 0x210]
mov dword [esp + 0xc], edx
lea edx, [esp + 0xd4]
mov dword [esp + 8], ecx
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0050d4d0
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
add ecx, 0x30
cmp ecx, eax
mov dword [esp + 0x3c], ecx
je 0x510acd
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x60], 0xf
mov dword [esp], eax
call fcn.00576bc0
sub esp, 4
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0xd8]
mov edx, dword [ecx + 0x34]
cmp edx, eax
cmovbe eax, edx
shl eax, 2
mov dword [esp + 8], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 4], eax
mov eax, dword [ecx + 0x30]
mov dword [esp], eax
call fcn.0056d278
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xd4]
mov dword [ecx + 0x40], eax
mov ecx, dword [esp + 0xe0]
mov eax, dword [esp + 0xdc]
test ecx, ecx
je 0x510afc
test eax, eax
jne 0x510d00
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0xe8]
mov dword [esp + 0x60], 9
mov ecx, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 0x28], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
call fcn.004d0b30
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
add ecx, 0x84
cmp ecx, eax
mov dword [esp + 0x38], ecx
je 0x510b8d
mov eax, dword [esp + 0xec]
mov dword [esp + 0x60], 0x10
mov dword [esp], eax
call fcn.00576bc0
sub esp, 4
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0xec]
mov edx, dword [ecx + 0x88]
cmp edx, eax
cmovbe eax, edx
shl eax, 2
mov dword [esp + 8], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 4], eax
mov eax, dword [ecx + 0x84]
mov dword [esp], eax
call fcn.0056d278
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xe8]
mov dword [ecx + 0x94], eax
mov ecx, dword [esp + 0xf4]
mov eax, dword [esp + 0xf0]
test ecx, ecx
je 0x510bbf
test eax, eax
jne 0x510cd0
mov ecx, dword [esp + 0x38]
call fcn.00453c30
cmp dword [esp + 0x214], eax
je 0x510d30
mov edx, dword [esp + 0x40]
mov dword [esp + 0x14], 2
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x210]
mov dword [esp + 0x60], 9
mov dword [esp + 0xc], edx
lea edx, [esp + 0xc0]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0050d4d0
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x34], ecx
je 0x510c6f
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x60], 0xe
mov ecx, dword [esp + 0x34]
mov dword [esp], eax
call fcn.00576bc0
sub esp, 4
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0xc4]
mov edx, dword [ecx + 0x20]
cmp edx, eax
cmovbe eax, edx
shl eax, 2
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp], eax
call fcn.0056d278
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xc0]
mov dword [ecx + 0x2c], eax
mov ecx, dword [esp + 0xcc]
mov eax, dword [esp + 0xc8]
test ecx, ecx
je 0x510a20
test eax, eax
je 0x510a20
test edx, edx
je 0x510a20
mov ebx, dword [ecx]
shl eax, 2
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x60], 9
call eax
sub esp, 8
jmp 0x510a20
test edx, edx
je 0x510bbf
mov ebx, dword [ecx]
shl eax, 2
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x60], 9
call eax
sub esp, 8
jmp 0x510bbf
test edx, edx
je 0x510afc
mov ebx, dword [ecx]
shl eax, 2
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x60], 9
call eax
sub esp, 8
jmp 0x510afc
mov dword [esp], 1
lea ecx, [esp + 0x160]
mov dword [esp + 4], 0
mov dword [esp + 0x60], 9
call fcn.004d9f80
sub esp, 8
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x160]
mov dword [esp + 0x60], 0x11
lea ecx, [esp + 0x14c]
mov dword [esp + 8], eax
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004d0770
mov dword [esp], 1
lea ecx, [esp + 0x138]
mov dword [esp + 4], 0
mov dword [esp + 0x60], 0x12
call fcn.004d9f80
sub esp, 8
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x138]
mov dword [esp + 0x60], 0x13
lea ecx, [esp + 0x124]
mov dword [esp + 8], eax
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004d0770
lea eax, [esp + 0x14c]
mov dword [esp + 0x60], 0x14
lea edx, [esp + 0x124]
mov dword [esp + 8], eax
lea ecx, [esp + 0x110]
mov dword [esp + 4], edx
mov dword [esp], ecx
call fcn.004ef990
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x110]
mov dword [esp + 0x60], 0x15
lea ecx, [esp + 0xfc]
mov dword [esp + 8], eax
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004dd6a0
mov eax, dword [esp + 0x30]
lea edx, [esp + 0xfc]
mov dword [esp + 0x60], 0x16
mov dword [esp], edx
add eax, 8
mov ecx, eax
mov dword [esp + 0x38], eax
call fcn.00576d10
sub esp, 4
mov eax, dword [esp + 0x10c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xfc]
mov dword [ecx + 0x18], eax
mov ecx, dword [esp + 0x108]
mov eax, dword [esp + 0x104]
test ecx, ecx
je 0x510e7d
test eax, eax
jne 0x5113f0
mov ecx, dword [esp + 0x11c]
mov eax, dword [esp + 0x118]
mov edx, dword [esp + 0x110]
test ecx, ecx
je 0x510e9e
test eax, eax
jne 0x5113c7
mov ecx, dword [esp + 0x130]
mov eax, dword [esp + 0x12c]
mov edx, dword [esp + 0x124]
test ecx, ecx
je 0x510ebf
test eax, eax
jne 0x51139e
mov ecx, dword [esp + 0x144]
mov eax, dword [esp + 0x140]
mov edx, dword [esp + 0x138]
test ecx, ecx
je 0x510ee0
test eax, eax
jne 0x511375
mov ecx, dword [esp + 0x158]
mov eax, dword [esp + 0x154]
mov edx, dword [esp + 0x14c]
test ecx, ecx
je 0x510f01
test eax, eax
jne 0x51134c
mov ecx, dword [esp + 0x16c]
mov eax, dword [esp + 0x168]
mov edx, dword [esp + 0x160]
test ecx, ecx
je 0x510f22
test eax, eax
jne 0x511323
mov dword [esp], 1
lea ecx, [esp + 0x19c]
mov dword [esp + 4], 0
mov dword [esp + 0x60], 9
call fcn.004d9f80
sub esp, 8
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x19c]
mov dword [esp + 0x60], 0x17
lea ecx, [esp + 0x188]
mov dword [esp + 8], eax
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004d0770
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x188]
mov dword [esp + 0x60], 0x18
lea ecx, [esp + 0x174]
mov dword [esp + 8], eax
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004e7960
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x174]
mov dword [esp + 0x60], 0x19
mov dword [esp], eax
add ecx, 0x44
call fcn.00576d10
sub esp, 4
mov eax, dword [esp + 0x184]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x174]
mov dword [ecx + 0x54], eax
mov ecx, dword [esp + 0x180]
mov eax, dword [esp + 0x17c]
test ecx, ecx
je 0x510fec
test eax, eax
jne 0x5112fa
mov ecx, dword [esp + 0x194]
mov eax, dword [esp + 0x190]
mov edx, dword [esp + 0x188]
test ecx, ecx
je 0x51100d
test eax, eax
jne 0x5112d1
mov ecx, dword [esp + 0x1a8]
mov eax, dword [esp + 0x1a4]
mov edx, dword [esp + 0x19c]
test ecx, ecx
je 0x51102e
test eax, eax
jne 0x5112a8
mov dword [esp], 1
lea ecx, [esp + 0x1d8]
mov dword [esp + 4], 0
mov dword [esp + 0x60], 9
call fcn.004d9f80
sub esp, 8
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x1d8]
mov dword [esp + 0x60], 0x1a
lea ecx, [esp + 0x1c4]
mov dword [esp + 8], eax
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004d0770
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x1c4]
mov dword [esp + 0x60], 0x1b
lea ecx, [esp + 0x1b0]
mov dword [esp + 8], eax
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004e7960
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x1b0]
mov dword [esp + 0x60], 0x1c
mov dword [esp], eax
add ecx, 0x58
call fcn.00576d10
sub esp, 4
mov eax, dword [esp + 0x1c0]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x1b0]
mov dword [ecx + 0x68], eax
mov ecx, dword [esp + 0x1bc]
mov eax, dword [esp + 0x1b8]
test ecx, ecx
je 0x5110f8
test eax, eax
jne 0x51127f
mov ecx, dword [esp + 0x1d0]
mov eax, dword [esp + 0x1cc]
mov edx, dword [esp + 0x1c4]
test ecx, ecx
je 0x511119
test eax, eax
jne 0x511256
mov ecx, dword [esp + 0x1e4]
mov eax, dword [esp + 0x1e0]
mov edx, dword [esp + 0x1d8]
test ecx, ecx
je 0x51113a
test eax, eax
jne 0x51122d
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x1ec]
mov dword [esp + 0x60], 9
mov edx, dword [esp + 0x3c]
mov dword [esp], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], edx
call fcn.004dd6a0
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x1ec]
mov dword [esp + 0x60], 0x1d
mov dword [esp], eax
add ecx, 0x6c
call fcn.00576d10
sub esp, 4
mov eax, dword [esp + 0x1fc]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x1ec]
mov dword [ecx + 0x7c], eax
mov ecx, dword [esp + 0x1f8]
mov eax, dword [esp + 0x1f4]
test ecx, ecx
je 0x5111ad
test eax, eax
jne 0x51120b
mov eax, dword [esp + 0x210]
mov dword [esp + 0x60], 9
mov ecx, dword [esp + 0x48]
mov dword [esp], eax
call fcn.004626a0
sub esp, 4
lea eax, [esp + 0x5c]
mov dword [esp], eax
call fcn.00567750
add esp, 0x204
pop ebx
pop ebp
ret 0xc
test edx, edx
je 0x5109e5
mov ebx, dword [ecx]
shl eax, 2
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x60], 9
call eax
sub esp, 8
jmp 0x5109e5
test edx, edx
je 0x5111ad
mov ebx, dword [ecx]
shl eax, 2
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x60], 9
call eax
sub esp, 8
jmp 0x5111ad
test edx, edx
je 0x51113a
mov ebx, dword [ecx]
shl eax, 2
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x60], 9
call eax
sub esp, 8
jmp 0x51113a
test edx, edx
je 0x511119
mov ebx, dword [ecx]
shl eax, 2
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x60], 0x1a
call eax
sub esp, 8
jmp 0x511119
test edx, edx
je 0x5110f8
mov ebx, dword [ecx]
shl eax, 2
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x60], 0x1b
call eax
sub esp, 8
jmp 0x5110f8
test edx, edx
je 0x51102e
mov ebx, dword [ecx]
shl eax, 2
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x60], 9
call eax
sub esp, 8
jmp 0x51102e
test edx, edx
je 0x51100d
mov ebx, dword [ecx]
shl eax, 2
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x60], 0x17
call eax
sub esp, 8
jmp 0x51100d
test edx, edx
je 0x510fec
mov ebx, dword [ecx]
shl eax, 2
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x60], 0x18
call eax
sub esp, 8
jmp 0x510fec
test edx, edx
je 0x510f22
mov ebx, dword [ecx]
shl eax, 2
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x60], 9
call eax
sub esp, 8
jmp 0x510f22
test edx, edx
je 0x510f01
mov ebx, dword [ecx]
shl eax, 2
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x60], 0x11
call eax
sub esp, 8
jmp 0x510f01
test edx, edx
je 0x510ee0
mov ebx, dword [ecx]
shl eax, 2
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x60], 0x12
call eax
sub esp, 8
jmp 0x510ee0
test edx, edx
je 0x510ebf
mov ebx, dword [ecx]
shl eax, 2
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x60], 0x13
call eax
sub esp, 8
jmp 0x510ebf
test edx, edx
je 0x510e9e
mov ebx, dword [ecx]
shl eax, 2
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x60], 0x14
call eax
sub esp, 8
jmp 0x510e9e
test edx, edx
je 0x510e7d
mov ebx, dword [ecx]
shl eax, 2
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x60], 0x15
call eax
sub esp, 8
jmp 0x510e7d
mov dword [esp], 8
call fcn.00567530
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x60], 0xa
mov dword [esp + 0x58], eax
mov dword [esp], ecx
lea ecx, [esp + 0xa8]
call fcn.0059b1c0
sub esp, 4
lea eax, [esp + 0xa8]
mov dword [esp + 8], str.:_Invalid_encryption_exponent
lea edx, [esp + 0xa4]
mov dword [esp + 4], eax
mov dword [esp], edx
mov dword [esp + 0x60], 0xb
call fcn.005bdf60
lea ecx, [esp + 0xa4]
mov dword [esp + 0x60], 0xc
mov dword [esp], ecx
mov ecx, dword [esp + 0x58]
call fcn.00567538
sub esp, 4
lea ecx, [esp + 0xa4]
call fcn.00567508
lea ecx, [esp + 0xa8]
call fcn.00567508
mov eax, dword [esp + 0x58]
mov dword [esp + 8], fcn.00567528
mov dword [esp + 4], 0x62e404
mov dword [esp + 0x60], 9
mov dword [esp], eax
call fcn.00567540
mov dword [esp], 8
call fcn.00567530
lea edx, [esp + 0xa0]
mov dword [esp + 0xc], 0
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x214]
mov dword [esp + 8], 0
mov dword [esp], edx
mov dword [esp + 0x60], 3
mov dword [esp + 4], eax
call fcn.0046a0e0
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x60], 4
mov dword [esp], ecx
lea ecx, [esp + 0x9c]
call fcn.0059b1c0
sub esp, 4
lea eax, [esp + 0x9c]
mov dword [esp + 8], str.:_Cant_make_a_key_that_is_only
lea edx, [esp + 0x98]
mov dword [esp + 4], eax
mov dword [esp], edx
mov dword [esp + 0x60], 5
call fcn.005bdf60
lea ecx, [esp + 0xa0]
mov dword [esp + 0x60], 6
lea eax, [esp + 0x98]
mov dword [esp + 8], ecx
lea edx, [esp + 0x94]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.005be020
lea ecx, [esp + 0x94]
mov dword [esp + 8], str._bits_long
lea eax, [esp + 0x90]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0x60], 7
call fcn.005bdf60
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x90]
mov dword [esp + 0x60], 8
mov dword [esp], edx
call fcn.00567538
sub esp, 4
lea ecx, [esp + 0x90]
call fcn.00567508
lea ecx, [esp + 0x94]
call fcn.00567508
lea ecx, [esp + 0x98]
call fcn.00567508
lea ecx, [esp + 0x9c]
call fcn.00567508
lea ecx, [esp + 0xa0]
call fcn.00567508
mov eax, dword [esp + 0x54]
mov dword [esp + 8], fcn.00567528
mov dword [esp + 4], 0x62e404
mov dword [esp + 0x60], 9
mov dword [esp], eax
call fcn.00567540
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [ecx], 0x631228
mov dword [esp], eax
mov dword [esp + 0x60], 0xffffffff
call fcn.00567758
lea ecx, [esp + 0x90]
call fcn.00567508
lea ecx, [esp + 0x94]
call fcn.00567508
lea ecx, [esp + 0x98]
call fcn.00567508
lea ecx, [esp + 0x9c]
call fcn.00567508
lea ecx, [esp + 0xa0]
call fcn.00567508
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.00567548
mov ecx, dword [esp + 0x50]
mov dword [esp], 0x630c70
mov dword [esp + 0x60], 0
call fcn.00586d60
sub esp, 4
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x80], 0x62bdd8
mov dword [ecx + 4], 0x62bf14
mov dword [ecx], 0x62bf78
mov ecx, dword [esp + 0x4c]
mov dword [esp], 0x630c90
mov dword [esp + 0x60], 0
call fcn.00585450
sub esp, 4
mov eax, dword [esp + 0x34]
jmp 0x511641