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

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
mov esi, dword [esp + 0x84]
xor eax, eax
push edi
xor edi, edi
mov dword [esp + 0x3c], eax
push 0x10
mov esi, dword [esi]
xor ebx, ebx
add esi, 0x28
mov dword [esp + 0x3c], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], esi
call fcn.004a8b20
mov ebp, eax
add esp, 4
mov dword [esp + 0x34], ebp
test ebp, ebp
jne 0x4a98b5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
test esi, esi
je 0x4a9b85
nop dword [eax]
mov eax, dword [esi]
cmp eax, 0x1000
je 0x4a98d4
cmp eax, 0x1001
jne 0x4a9b55
mov edi, dword [esi + 8]
xor ebx, ebx
push 1
push 1
push str.PrivateKey
mov dword [esp + 0x4c], eax
xor esi, esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
call fcn.0049ccc0
add esp, 0xc
mov dword [esp + 0x24], eax
test eax, eax
je 0x4a9b70
mov eax, dword [edi + 0x78]
cmp eax, 0x1000
jne 0x4a991d
mov esi, 0x22000000
jmp 0x4a992a
cmp eax, 0x1001
mov eax, 0xc0000000
cmove esi, eax
bswap esi
push esi
lea eax, [esp + 0x44]
push 4
push eax
call fcn.0049cbd0
add esp, 0xc
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4a9b07
push 0x40
lea eax, [esp + 0x48]
mov dword [esp + 0x24], ebx
push 0
push eax
call fcn.004d2520
push 0x20
lea eax, [edi + 0x84]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.004d0d60
push 0x20
lea eax, [edi + 0xa4]
push eax
lea eax, [esp + 0x84]
push eax
call fcn.004d0d60
push 0x40
lea eax, [esp + 0x6c]
push eax
push dword [esp + 0xb4]
call fcn.0049d210
mov ebp, eax
add esp, 0x30
test ebp, ebp
je 0x4a9b07
push edi
call fcn.0049d580
mov edi, eax
add esp, 4
test edi, edi
je 0x4a9af1
push 0x10
call fcn.004a8b20
mov esi, eax
add esp, 4
test esi, esi
je 0x4a9af1
push ebp
push esi
call fcn.004a8520
add esp, 8
test eax, eax
je 0x4a9ae1
push edi
push esi
mov dword [esp + 0x28], 1
call fcn.004a8520
add esp, 8
test eax, eax
je 0x4a9ae1
push 0x81
call fcn.004a8b20
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4a9acf
push 0x10
call fcn.004a8b20
mov edi, eax
add esp, 4
test edi, edi
je 0x4a9abf
push 0x9a
call fcn.004a8b20
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4a9aaf
push esi
push ebp
call fcn.004a8520
add esp, 8
test eax, eax
je 0x4a9aa4
push dword [esp + 0x24]
mov dword [esp + 0x1c], 1
push edi
call fcn.004a8520
add esp, 8
test eax, eax
je 0x4a9aa4
push dword [esp + 0x2c]
mov dword [esp + 0x20], 1
push edi
call fcn.004a8520
add esp, 8
test eax, eax
je 0x4a9aa4
push ebp
push edi
mov dword [esp + 0x30], 1
call fcn.004a8520
add esp, 8
test eax, eax
je 0x4a9aa4
push edi
push ebx
mov dword [esp + 0x1c], 1
call fcn.004a8520
add esp, 8
test eax, eax
jne 0x4a9b2c
mov eax, dword [ebx + 0x10]
push ebx
call eax
add esp, 4
xor ebx, ebx
mov eax, dword [edi + 0x10]
push edi
call eax
add esp, 4
cmp dword [esp + 0x14], 1
je 0x4a9ac8
mov eax, dword [ebp + 0x10]
push ebp
call eax
add esp, 4
cmp dword [esp + 0x18], 1
je 0x4a9ad8
mov eax, dword [esi + 0x10]
push esi
call eax
add esp, 4
cmp dword [esp + 0x1c], 1
je 0x4a9b14
jmp 0x4a9b07
mov eax, dword [esi + 0x10]
push esi
call eax
add esp, 4
cmp dword [esp + 0x20], 1
je 0x4a9afa
mov eax, dword [ebp + 0x10]
push ebp
call eax
add esp, 4
test edi, edi
je 0x4a9b07
mov eax, dword [edi + 0x10]
push edi
call eax
add esp, 4
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [eax + 0x10]
call eax
add esp, 4
cmp dword [esp + 0x28], 1
je 0x4a9b2c
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4a9b2c
push eax
mov eax, dword [eax + 0x10]
call eax
add esp, 4
mov ebp, dword [esp + 0x34]
test ebx, ebx
je 0x4a9b72
push ebx
push ebp
xor edi, edi
call fcn.004a8520
add esp, 8
test eax, eax
je 0x4a9b66
mov esi, dword [esp + 0x30]
mov edi, 1
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov esi, dword [esi + 0xc]
mov dword [esp + 0x30], esi
test esi, esi
jne 0x4a98c0
jmp 0x4a9b7e
mov dword [esp + 0x10], 4
jmp 0x4a9b7e
xor ebx, ebx
mov edi, dword [esp + 0x38]
mov dword [esp + 0x10], 3
cmp dword [esp + 0x3c], 1
je 0x4a9b90
mov eax, dword [ebp + 0x10]
push ebp
call eax
add esp, 4
xor ebp, ebp
cmp dword [esp + 0x10], 0
je 0x4a9bb8
test ebp, ebp
je 0x4a9ba6
mov eax, dword [ebp + 0x10]
push ebp
call eax
add esp, 4
xor ebp, ebp
cmp edi, 1
je 0x4a9bb8
test ebx, ebx
je 0x4a9bb8
mov eax, dword [ebx + 0x10]
push ebx
call eax
add esp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x74
ret