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

Disassembly:
sub esp, 0x38
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x48]
push edi
shl eax, 5
push eax
push ecx
call fcn.0056ca56
mov edx, dword [esi + 0x34]
shl edx, 4
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x4c]
push edx
push eax
call fcn.0056ca56
mov ecx, dword [esi + 0x34]
add ecx, ecx
add ecx, ecx
add ecx, ecx
push ecx
mov dword [esi + 0x4c], eax
call fcn.0055fa86
mov edx, dword [esi + 0x34]
shl edx, 4
push edx
mov dword [esi + 0x3c], eax
call fcn.0055fa86
xor ebx, ebx
add esp, 0x18
xor edi, edi
cmp dword [esi + 0x34], ebx
mov dword [esi + 0x44], eax
jle 0x5888b8
push ebp
jmp 0x588634
xor ebx, ebx
cmp edi, ebx
jne 0x588656
mov eax, dword [esi + 0x3c]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [eax], edx
push ecx
mov dword [eax + 4], ecx
push edx
mov eax, esi
call fcn.00588060
add esp, 8
jmp 0x5886ad
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + edi*8 + 4]
mov edx, dword [eax + edi*8]
push ecx
push edx
mov eax, esi
call fcn.00588060
mov eax, edi
shl eax, 4
add eax, dword [esi + 0x4c]
mov ecx, edi
shl ecx, 5
add ecx, dword [esi + 0x48]
push ebx
push eax
push ecx
xor eax, eax
mov ecx, esi
call fcn.00588490
add esp, 0x14
test eax, eax
mov eax, dword [esi + 0x3c]
jge 0x5886a0
mov dword [eax + edi*8], 0xffffffff
mov dword [eax + edi*8 + 4], 0xffffffff
jmp 0x5886ad
mov edx, dword [esi + 8]
mov dword [eax + edi*8], edx
mov ecx, dword [esi + 0xc]
mov dword [eax + edi*8 + 4], ecx
mov eax, dword [esi + 0x3c]
mov edx, dword [eax + edi*8]
and edx, dword [eax + edi*8 + 4]
cmp edx, 0xffffffff
je 0x5887fb
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + edi*4]
push ecx
lea ebp, [esi + 0x78]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
push ebp
or ebx, 0xffffffff
call fcn.005e7fd0
push ebx
lea edx, [esp + 0x24]
push ebx
push edx
call fcn.005880a0
add esp, 0x14
test edx, edx
jl 0x5887e4
jg 0x588700
test eax, eax
jb 0x5887e4
lea esp, [esp]
lea eax, [esp + 0x18]
push eax
call fcn.005e7740
mov ecx, dword [esi + 0x40]
add esp, 4
cmp eax, dword [ecx + edi*4]
jne 0x5887cc
lea edx, [esp + 0x18]
push edx
push ebp
call fcn.005e7cd0
lea eax, [esp + 0x30]
push eax
push ebp
call fcn.005e8100
add esp, 0x10
test eax, eax
je 0x588778
jle 0x588766
mov edx, edi
shl edx, 5
add edx, dword [esi + 0x48]
lea ecx, [esp + 0x28]
push ecx
push edx
call fcn.005e8c10
add esp, 8
cmp ebx, 0xffffffff
mov ecx, eax
je 0x588764
lea eax, [ecx + ebx]
sar eax, 2
cdq
add dword [esp + 0x10], eax
adc dword [esp + 0x14], edx
mov ebx, ecx
lea eax, [esp + 0x28]
push eax
push ebp
call fcn.005e8100
add esp, 8
test eax, eax
jne 0x588736
lea ecx, [esp + 0x18]
push ecx
call fcn.005e76b0
and eax, edx
add esp, 4
cmp eax, 0xffffffff
jne 0x5887af
push eax
push eax
lea edx, [esp + 0x20]
push edx
call fcn.005880a0
add esp, 0xc
test edx, edx
jg 0x588700
jl 0x5887cc
test eax, eax
jae 0x588700
jmp 0x5887cc
lea eax, [esp + 0x18]
push eax
call fcn.005e76b0
add esp, 4
sub eax, dword [esp + 0x10]
sbb edx, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
xor eax, eax
cmp dword [esp + 0x14], eax
jg 0x5887e4
jl 0x5887dc
cmp dword [esp + 0x10], eax
jae 0x5887e4
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0x44]
mov edx, dword [esp + 0x10]
mov eax, edi
shl eax, 4
mov dword [eax + ecx], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx + 4], edx
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + edi*8 + 0xc]
mov edx, dword [eax + edi*8 + 8]
push ecx
push edx
mov eax, esi
call fcn.00588060
lea eax, [esp + 0x20]
push eax
mov eax, esi
call fcn.00588150
mov ebx, edx
add esp, 0xc
test ebx, ebx
mov ebp, eax
jl 0x588867
jg 0x588830
test ebp, ebp
jb 0x588867
lea esp, [esp]
lea ecx, [esp + 0x18]
push ecx
call fcn.005e76b0
and eax, edx
add esp, 4
cmp eax, 0xffffffff
jne 0x588888
lea edx, [esp + 0x18]
push edx
mov eax, esi
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebx
call fcn.00588150
mov ebx, edx
add esp, 4
test ebx, ebx
mov ebp, eax
jg 0x588830
jl 0x588867
test ebp, ebp
jae 0x588830
mov eax, edi
shl eax, 5
add eax, dword [esi + 0x48]
push eax
call fcn.005e8260
mov ecx, edi
shl ecx, 4
add ecx, dword [esi + 0x4c]
push ecx
call fcn.005e8190
add esp, 8
jmp 0x5888ab
mov eax, dword [esi + 0x44]
mov edx, edi
lea ecx, [esp + 0x18]
shl edx, 4
push ecx
lea ebx, [edx + eax]
call fcn.005e76b0
add esp, 4
sub eax, dword [ebx]
sbb edx, dword [ebx + 4]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
add edi, 1
cmp edi, dword [esi + 0x34]
jl 0x588632
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x38
ret