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

Disassembly:
push 0xffffffffffffffff
push 0x84d0b7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebp
push esi
push edi
lea ecx, [esp + 0x94]
call fcn.005ecc50
xor esi, esi
lea ecx, [esp + 0x80]
mov dword [esp + 0x13c], esi
call fcn.005ecc50
lea ecx, [esp + 0xf8]
mov byte [esp + 0x13c], 1
call fcn.005ecc50
lea ecx, [esp + 0xa8]
mov byte [esp + 0x13c], 2
call fcn.005ecc50
lea ecx, [esp + 0x6c]
mov byte [esp + 0x13c], 3
call fcn.005ecc50
lea ecx, [esp + 0xe4]
mov byte [esp + 0x13c], 4
call fcn.005ecc50
lea ecx, [esp + 0xbc]
mov byte [esp + 0x13c], 5
call fcn.005ecc50
lea ecx, [esp + 0xd0]
mov byte [esp + 0x13c], 6
call fcn.005ecc50
push esi
lea ecx, [esp + 0x110]
mov byte [esp + 0x140], 7
call fcn.005e55cb
mov eax, dword [esp + 0x144]
push 1
push esi
mov byte [esp + 0x144], 8
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
push ecx
push eax
mov eax, dword [esp + 0x11c]
lea ecx, [esp + 0x11c]
call dword [eax + 0x14]
lea ecx, [esp + 0x10c]
push 0x30
push ecx
lea ecx, [esp + 0x2c]
call fcn.005fb13d
mov dword [esp + 0x24], 0x866f40
mov dword [esp + 0x28], 0x866f38
lea edx, [esp + 0xf]
lea ecx, [esp + 0x24]
push edx
mov byte [esp + 0x140], 9
call dword [0x866f88]
test eax, eax
je 0x788217
cmp byte [esp + 0xf], 2
jne 0x788217
lea eax, [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.005facc3
mov edx, dword [esp + 0x18]
add esp, 8
lea ecx, [esp + 0x14]
push edx
call fcn.0042d560
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x144], 0xa
call dword [edx + 0x44]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
je 0x787e7e
lea ecx, [esp + 0x4c]
call fcn.0058e980
lea eax, [esp + 0x4c]
push 0x8b92f8
push eax
call fcn.007ac5c6
mov edi, dword [esp + 0x1c]
cmp ecx, 4
mov ebp, edi
jbe 0x787e9e
cmp byte [ebp], 0
jne 0x788087
dec ecx
inc ebp
cmp ecx, 4
mov dword [esp + 0x10], ecx
ja 0x787e89
xor eax, eax
test ecx, ecx
jbe 0x787ebb
xor edx, edx
mov dl, byte [eax + ebp]
shl esi, 8
or esi, edx
inc eax
cmp eax, ecx
jb 0x787ea4
test esi, esi
ja 0x7881ff
mov ecx, dword [esp + 0x18]
xor eax, eax
mov esi, ecx
mov edx, edi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
push edx
and ecx, 3
mov byte [esp + 0x140], 9
rep stosb byte es:[edi], al
call fcn.007d7349
add esp, 4
lea eax, [esp + 0x24]
lea ecx, [esp + 0x94]
push eax
call fcn.005ed732
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x84]
call fcn.005ed732
lea edx, [esp + 0x24]
lea ecx, [esp + 0xf8]
push edx
call fcn.005ed732
lea eax, [esp + 0x24]
lea ecx, [esp + 0xa8]
push eax
call fcn.005ed732
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x70]
call fcn.005ed732
lea edx, [esp + 0x24]
lea ecx, [esp + 0xe4]
push edx
call fcn.005ed732
lea eax, [esp + 0x24]
lea ecx, [esp + 0xbc]
push eax
call fcn.005ed732
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0xd4]
call fcn.005ed732
lea ecx, [esp + 0x24]
call fcn.005fb2dc
mov esi, dword [esp + 0x148]
lea edx, [esp + 0x94]
push edx
lea ecx, [esi + 8]
call fcn.005ed0cb
lea eax, [esp + 0x80]
lea ecx, [esi + 0x1c]
push eax
call fcn.005ed0cb
lea ecx, [esp + 0xf8]
push ecx
lea ecx, [esi + 0x64]
call fcn.005ed0cb
lea edx, [esp + 0xa8]
lea ecx, [esi + 0x78]
push edx
call fcn.005ed0cb
lea eax, [esp + 0x6c]
lea ecx, [esi + 0x8c]
push eax
call fcn.005ed0cb
lea ecx, [esp + 0xe4]
push ecx
lea ecx, [esi + 0xa0]
call fcn.005ed0cb
lea edx, [esp + 0xbc]
lea ecx, [esi + 0xb4]
push edx
call fcn.005ed0cb
lea eax, [esp + 0xd0]
lea ecx, [esi + 0xc8]
push eax
call fcn.005ed0cb
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
push 0
mov edi, dword [edx + esi + 4]
call fcn.005e30de
push eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
lea ecx, [ecx + esi + 4]
call dword [edi + 0xc]
test al, al
jne 0x7880a8
mov dl, byte [esp + 0xf]
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], dl
call fcn.00404c40
mov edi, str.private_key_sanity_check_failed
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.private_key_sanity_check_failed
lea ecx, [esp + 0x1c]
call fcn.004030a0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x4c]
push eax
push 4
mov byte [esp + 0x144], 0xb
call fcn.0040f6a0
lea ecx, [esp + 0x4c]
push 0x8b8ac4
push ecx
mov dword [esp + 0x54], 0x866bf4
call fcn.007ac5c6
cmp ecx, 4
jbe 0x787e9e
lea ecx, [esp + 0x4c]
call fcn.0058e980
lea ecx, [esp + 0x4c]
push 0x8b92f8
push ecx
call fcn.007ac5c6
lea ecx, [esp + 0x24]
mov byte [esp + 0x13c], 8
call fcn.005fb25d
lea ecx, [esp + 0x10c]
mov byte [esp + 0x13c], 7
call fcn.005e579e
mov edx, dword [esp + 0xd8]
mov eax, dword [esp + 0xdc]
push edx
push eax
lea ecx, [esp + 0xdc]
mov byte [esp + 0x144], 0xc
call fcn.005f0ad8
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xc8]
push ecx
push edx
lea ecx, [esp + 0xc8]
mov byte [esp + 0x144], 0xd
call fcn.005f0ad8
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0xf0]
push eax
push ecx
lea ecx, [esp + 0xf0]
mov byte [esp + 0x144], 0xe
call fcn.005f0ad8
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
push edx
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x144], 0xf
call fcn.005f0ad8
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
push ecx
push edx
lea ecx, [esp + 0xb4]
mov byte [esp + 0x144], 0x10
call fcn.005f0ad8
mov eax, dword [esp + 0x100]
mov ecx, dword [esp + 0x104]
push eax
push ecx
lea ecx, [esp + 0x104]
mov byte [esp + 0x144], 0x11
call fcn.005f0ad8
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
push edx
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0x144], 0x12
call fcn.005f0ad8
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
push ecx
push edx
lea ecx, [esp + 0xa0]
mov dword [esp + 0x144], 0x13
call fcn.005f0ad8
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x134
ret
lea ecx, [esp + 0x4c]
call fcn.0058e980
lea eax, [esp + 0x4c]
push 0x8b92f8
push eax
call fcn.007ac5c6
lea ecx, [esp + 0x4c]
call fcn.0058e980
lea ecx, [esp + 0x4c]
push 0x8b92f8
push ecx
call fcn.007ac5c6
nop