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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x650
mov eax, dword [0x5e8e8a04]
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push esi
mov esi, dword [ebp + 0x14]
push edi
xor edi, edi
push edi
push 0x588
lea edx, [ebp - 0x58c]
push edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ecx
push eax
mov dword [ebp - 0x590], eax
call ebx
test eax, eax
je 0x5e8e4f6d
cmp dword [ebp - 0x41c], edi
jne 0x5e8e4f74
cmp dword [ebp + 0xc], edi
je 0x5e8e4f74
xor al, al
jmp 0x5e8e5221
mov eax, dword [ebp - 0x564]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x420]
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], eax
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x40], edi
mov dword [ebp - 0x594], edi
mov eax, dword [ebp - 0x594]
mov eax, dword [ebp + eax*4 - 0x534]
cmp eax, edi
je 0x5e8e5016
push edi
push 0x3c
lea ecx, [ebp - 0x630]
push ecx
push eax
push dword [ebp - 0x590]
call ebx
test eax, eax
je 0x5e8e5016
mov edx, dword [0x5e8ea258]
mov ecx, dword [ebp - 0x614]
mov eax, edx
imul eax, ecx
add dword [esi + 0x10], eax
adc dword [esi + 0x14], edi
sub ecx, dword [ebp - 0x608]
imul ecx, edx
add dword [esi + 8], ecx
adc dword [esi + 0xc], edi
sub eax, dword [ebp - 0x61c]
add dword [esi + 0x18], eax
mov eax, dword [ebp - 0x604]
adc dword [esi + 0x1c], edi
add dword [esi + 0x40], eax
inc dword [ebp - 0x594]
cmp dword [ebp - 0x594], 0x40
jb 0x5e8e4fa4
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
jne 0x5e8e5028
mov dword [esi + 8], 1
mov dword [esi + 0xc], edi
mov eax, dword [esi + 0x18]
or eax, dword [esi + 0x1c]
jne 0x5e8e503a
mov dword [esi + 0x18], 1
mov dword [esi + 0x1c], edi
push edi
push 0x64
push dword [esi + 0x24]
push dword [esi + 0x20]
call fcn.5e8e5c10
push dword [esi + 0xc]
push dword [esi + 8]
push edx
push eax
call fcn.5e8e5ba0
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x18]
sub eax, dword [esi + 8]
push edi
sbb ecx, dword [esi + 0xc]
push 0x64
push ecx
push eax
call fcn.5e8e5c10
push dword [esi + 0x1c]
push dword [esi + 0x18]
push edx
push eax
call fcn.5e8e5ba0
push edi
push 0x18
mov dword [esi + 0x7c], eax
lea eax, [ebp - 0x5f4]
push eax
push dword [ebp - 0x14]
mov dword [esi + 0x80], edi
push dword [ebp - 0x590]
call ebx
test eax, eax
je 0x5e8e50c5
push edi
push 0x20
lea eax, [ebp - 0x650]
push eax
push dword [ebp - 0x5f4]
push dword [ebp - 0x590]
call ebx
test eax, eax
je 0x5e8e50c5
mov eax, dword [ebp - 0x63c]
mov dword [esi + 0x80], eax
push edi
push 0x1800
push 0x5e8e8a58
push dword [ebp - 0xc]
mov dword [esi + 0x48], edi
push dword [ebp - 0x590]
mov dword [esi + 0x4c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
call ebx
test eax, eax
je 0x5e8e5171
xor eax, eax
lea ecx, [eax + 0x5e8e8a64]
mov edx, dword [ecx]
add dword [esi + 0x50], edx
mov edx, dword [eax + 0x5e8e8a6c]
add dword [esi + 0x54], edx
mov ecx, dword [ecx]
sub ecx, dword [eax + 0x5e8e8a68]
add dword [esi + 0x48], ecx
mov ecx, dword [eax + 0x5e8e8a6c]
sub ecx, dword [eax + 0x5e8e8a70]
add dword [esi + 0x4c], ecx
movzx ecx, word [eax + 0x5e8e8a60]
cmp ecx, dword [esi + 0x74]
jbe 0x5e8e513c
mov dword [esi + 0x74], ecx
cmp eax, edi
je 0x5e8e5167
cmp eax, 0x180
mov ecx, dword [eax + 0x5e8e8a7c]
jae 0x5e8e515b
add dword [esi + 0x58], ecx
mov ecx, dword [eax + 0x5e8e8a80]
add dword [esi + 0x5c], ecx
jmp 0x5e8e5167
add dword [esi + 0x60], ecx
mov ecx, dword [eax + 0x5e8e8a80]
add dword [esi + 0x64], ecx
add eax, 0x30
cmp eax, 0x1800
jb 0x5e8e50ff
mov eax, dword [esi + 0x4c]
sub eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x54]
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x60]
add eax, dword [esi + 0x58]
push edi
add eax, ecx
mov ecx, dword [esi + 0x64]
add ecx, dword [esi + 0x5c]
mov dword [esi + 0x68], eax
add ecx, edx
sub eax, ecx
push 0x48
mov dword [esi + 0x44], eax
lea eax, [ebp - 0x5dc]
push eax
push dword [ebp - 0x41c]
mov dword [esi + 0x6c], ecx
push dword [ebp - 0x590]
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
call ebx
test eax, eax
je 0x5e8e521f
mov eax, dword [ebp - 0x5cc]
or eax, dword [ebp - 0x5c8]
je 0x5e8e51ee
push dword [ebp - 0x5c8]
push dword [ebp - 0x5cc]
push dword [ebp - 0x5d0]
push dword [ebp - 0x5d4]
call fcn.5e8e5ba0
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edx
mov eax, dword [ebp - 0x5c4]
or eax, dword [ebp - 0x5c0]
je 0x5e8e521f
push dword [ebp - 0x5c0]
push dword [ebp - 0x5c4]
push dword [ebp - 0x5d0]
push dword [ebp - 0x5d4]
call fcn.5e8e5ba0
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edx
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.5e8e5973
leave
ret 0x10