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

Disassembly:
sub esp, 0x70
push ebx
push ebp
push esi
xor ecx, ecx
xor ebx, ebx
push edi
xor edi, edi
mov dword [esp + 0x24], ebx
xor edx, edx
mov dword [esp + 0x20], edi
xor esi, esi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], edx
cmp dword [esp + 0xa0], ecx
jle 0x5e5843
mov edi, dword [esp + 0x9c]
add edi, 0xc4
mov dword [esp + 0x10], edi
nop
mov eax, dword [esp + 0x94]
mov ebx, dword [esp + 0x8c]
dec eax
mov ecx, dword [esp + 0x88]
add eax, ebx
mov dword [esp + 0x38], eax
dec ecx
mov eax, dword [esp + 0x90]
add eax, ecx
mov dword [esp + 0x50], eax
mov eax, dword [edi - 8]
mov dword [esp + 0x4c], eax
cdq
mov dword [esp + 0x28], eax
mov eax, dword [edi]
mov dword [esp + 0x48], eax
mov dword [esp + 0x18], edx
cdq
mov ebp, eax
mov ecx, edx
mov eax, dword [edi + 0x18]
mov dword [esp + 0x14], eax
dec eax
push ecx
cdq
push ebp
push edx
push eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x2c], ecx
call fcn.004b2d70
mov ecx, edx
mov edi, eax
mov edx, dword [esp + 0x14]
lea eax, [edx + edx]
cdq
push edx
push eax
push ecx
push edi
call fcn.004b2940
push dword [esp + 0x18]
mov edi, eax
mov ecx, edx
mov eax, dword [esp + 0x14]
push dword [esp + 0x2c]
mov eax, dword [eax - 0x14]
cdq
add edi, eax
mov eax, ebx
mov dword [esp + 0x3c], edi
adc ecx, edx
cdq
push edx
push eax
mov dword [esp + 0x4c], ecx
call fcn.004b2d70
mov ebx, dword [esp + 0x3c]
sub eax, edi
sbb edx, ebx
test edx, edx
jg 0x5e5567
jl 0x5e5550
test eax, eax
jae 0x5e5567
mov edi, dword [esp + 0x1c]
not edx
push edi
push ebp
not eax
push edx
push eax
call fcn.004b2940
mov ebp, eax
not ebp
jmp 0x5e5576
mov edi, dword [esp + 0x1c]
push edi
push ebp
push edx
push eax
call fcn.004b2940
mov ebp, eax
push dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
push dword [esp + 0x2c]
cdq
push edx
push eax
mov dword [esp + 0x2c], ebp
call fcn.004b2d70
sub eax, dword [esp + 0x34]
sbb edx, ebx
test edx, edx
jg 0x5e55ae
jl 0x5e559e
test eax, eax
jne 0x5e55ae
push edi
push dword [esp + 0x30]
push edx
push eax
call fcn.004b2940
mov ebx, eax
jmp 0x5e55c5
push edi
push dword [esp + 0x30]
sub eax, 1
sbb edx, 0
push edx
push eax
call fcn.004b2940
mov ebx, eax
add ebx, 1
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x4c], eax
je 0x5e55d9
add ebp, 0xfffffffe
add ebx, 3
mov dword [esp + 0x1c], ebp
mov edi, dword [esp + 0x10]
mov eax, dword [edi - 0xc]
mov dword [esp + 0x58], eax
cdq
mov dword [esp + 0x34], eax
mov eax, dword [edi - 4]
mov dword [esp + 0x48], eax
mov dword [esp + 0x28], edx
cdq
mov ebp, eax
mov ecx, edx
mov eax, dword [edi + 0x14]
mov dword [esp + 0x18], eax
dec eax
push ecx
cdq
push ebp
push edx
push eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x3c], ecx
call fcn.004b2d70
mov ecx, edx
mov edi, eax
mov edx, dword [esp + 0x18]
lea eax, [edx + edx]
cdq
push edx
push eax
push ecx
push edi
call fcn.004b2940
push dword [esp + 0x28]
mov edi, eax
mov ecx, edx
mov eax, dword [esp + 0x14]
push dword [esp + 0x38]
mov eax, dword [eax - 0x18]
cdq
add edi, eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x54], edi
adc ecx, edx
cdq
push edx
push eax
mov dword [esp + 0x48], ecx
call fcn.004b2d70
sub eax, edi
sbb edx, dword [esp + 0x38]
test edx, edx
jg 0x5e567e
jl 0x5e5667
test eax, eax
jae 0x5e567e
mov edi, dword [esp + 0x2c]
not edx
push edi
push ebp
not eax
push edx
push eax
call fcn.004b2940
mov ebp, eax
not ebp
jmp 0x5e568d
mov edi, dword [esp + 0x2c]
push edi
push ebp
push edx
push eax
call fcn.004b2940
mov ebp, eax
push dword [esp + 0x28]
mov eax, dword [esp + 0x54]
push dword [esp + 0x38]
cdq
push edx
push eax
call fcn.004b2d70
sub eax, dword [esp + 0x4c]
sbb edx, dword [esp + 0x38]
test edx, edx
jg 0x5e56c3
jl 0x5e56b3
test eax, eax
jne 0x5e56c3
push edi
push dword [esp + 0x40]
push edx
push eax
call fcn.004b2940
mov ecx, eax
jmp 0x5e56da
push edi
push dword [esp + 0x40]
sub eax, 1
sbb edx, 0
push edx
push eax
call fcn.004b2940
mov ecx, eax
add ecx, 1
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x58], eax
je 0x5e56ea
add ebp, 0xfffffffe
add ecx, 3
mov edx, dword [esp + 0x1c]
sub ecx, ebp
sub ebx, edx
inc ecx
push 1
lea eax, [ebx + 1]
mov ebx, dword [esp + 0x18]
mov edi, ebx
imul ebx, eax
mov eax, dword [esp + 0x14]
imul edi, edx
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x1c]
mov edx, ebx
imul ebx, ecx
mov ecx, dword [eax - 0xc4]
imul edx, ebp
cmp byte [esp + 0xa8], 0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x40], edx
je 0x5e577b
lea eax, [esp + 0x6c]
mov dword [esp + 0x6c], 0
push eax
mov dword [esp + 0x74], 0
push dword [ecx]
lea ecx, [esp + 0xa4]
call fcn.005cf3b0
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x3c]
add ebx, edi
mov edx, dword [esp + 0x68]
add ebp, dword [esp + 0x18]
imul edi, dword [esp + 0x6c]
imul edx, dword [esp + 0x3c]
imul ebx, dword [esp + 0x6c]
imul ebp, dword [esp + 0x68]
jmp 0x5e57df
lea eax, [esp + 0x74]
mov dword [esp + 0x74], 0
push eax
sub esp, 0x10
mov dword [esp + 0x8c], 0
mov eax, esp
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
push dword [ecx]
mov dword [eax], edx
lea ecx, [esp + 0xb4]
mov edx, dword [esp + 0x30]
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
call fcn.005d0840
mov ebx, dword [esp + 0x7c]
mov edi, dword [esp + 0x74]
add ebx, edi
mov ebp, dword [esp + 0x78]
mov edx, dword [esp + 0x70]
add ebp, edx
test esi, esi
je 0x5e57e9
cmp edi, dword [esp + 0x24]
jge 0x5e57ed
mov dword [esp + 0x24], edi
test esi, esi
je 0x5e57f7
cmp edx, dword [esp + 0x20]
jge 0x5e57fb
mov dword [esp + 0x20], edx
test esi, esi
je 0x5e5807
mov edx, dword [esp + 0x40]
cmp ebx, edx
jle 0x5e580d
mov edx, ebx
mov dword [esp + 0x40], edx
test esi, esi
je 0x5e5819
mov ecx, dword [esp + 0x44]
cmp ebp, ecx
jle 0x5e581f
mov ecx, ebp
mov dword [esp + 0x44], ecx
mov edi, dword [esp + 0x10]
inc esi
add edi, 0x76d0
mov dword [esp + 0x10], edi
cmp esi, dword [esp + 0xa0]
jl 0x5e54a0
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x84]
sub edx, ebx
sub ecx, edi
mov dword [eax + 0xc], 0
mov dword [eax], edi
pop edi
pop esi
pop ebp
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
pop ebx
add esp, 0x70
ret