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

Disassembly:
sub esp, 0x1b8
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0xb8]
xor ebx, ebx
cmp ecx, ebx
jne 0x58bb5c
mov dword [esp + 8], ebx
jmp 0x58bb6b
mov eax, dword [esi + 0xbc]
sub eax, ecx
sar eax, 2
mov dword [esp + 8], eax
cmp dword [esp + 8], ebx
mov dword [esp + 0xc], ebx
jle 0x58c0b9
push ebp
push edi
jmp 0x58bb80
mov eax, dword [esi + 0xb8]
lea edi, [ebx*4]
mov ecx, dword [eax + edi]
add eax, edi
test ecx, ecx
je 0x58c0a6
mov eax, dword [esi]
lea edx, [esp + 0xb0]
push edx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x70], 0x3f800000
mov dword [esp + 0x5c], 0x3f800000
mov dword [esp + 0x48], 0x3f800000
mov dword [esp + 0x34], 0x3f800000
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0xb0], 0x3f800000
mov dword [esp + 0x9c], 0x3f800000
mov dword [esp + 0x88], 0x3f800000
mov dword [esp + 0x74], 0x3f800000
mov ecx, dword [eax]
push eax
call dword [ecx + 0xa4]
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [esp + 0x108]
push edx
push pe_nt_image_headers32
push eax
call dword [ecx + 0x98]
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [esp + 0x188]
push edx
push 2
push eax
call dword [ecx + 0x98]
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [esp + 0x148]
push edx
push 3
push eax
call dword [ecx + 0x98]
push 0x461c4000
push 0x3dcccccd
push 0x42c80000
push 0x42c80000
lea eax, [esp + 0xd8]
push eax
call fcn.004f91b9
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [esp + 0xc8]
push edx
push 3
push eax
call dword [ecx + 0x94]
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push pe_nt_image_headers32
push eax
call dword [ecx + 0x94]
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [esp + 0x70]
push edx
push 2
push eax
call dword [ecx + 0x94]
mov eax, dword [esi + 0xb8]
add eax, edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x3e4ccccd
mov ecx, dword [eax]
mov dl, byte [ecx + 0x140]
test dl, dl
je 0x58c054
mov edx, ecx
mov ecx, dword [edx + 0x27c]
test ecx, ecx
jle 0x58bff4
mov eax, edx
mov ecx, dword [eax + 0x27c]
xor ebp, ebp
test ecx, ecx
jle 0x58c054
xor ebx, ebx
jmp 0x58bdd0
push 0x461c4000
push 0x3dcccccd
push 0x42c80000
push 0x42c80000
lea ecx, [esp + 0xd8]
push ecx
call fcn.004f91b9
mov eax, dword [esi]
mov edx, dword [eax]
lea ecx, [esp + 0xc8]
push ecx
push 3
push eax
call dword [edx + 0x94]
mov eax, dword [esi]
lea ecx, [esp + 0x30]
push ecx
push pe_nt_image_headers32
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x74], 0x3f800000
mov dword [esp + 0x60], 0x3f800000
mov dword [esp + 0x4c], 0x3f800000
mov dword [esp + 0x38], 0x3f800000
mov dword [esp + 0xb0], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0xb4], 0x3f800000
mov dword [esp + 0xa0], 0x3f800000
mov dword [esp + 0x8c], 0x3f800000
mov dword [esp + 0x78], 0x3f800000
mov edx, dword [eax]
push eax
call dword [edx + 0x94]
mov eax, dword [esi]
mov edx, dword [eax]
lea ecx, [esp + 0x70]
push ecx
push 2
push eax
call dword [edx + 0x94]
mov edx, dword [esi + 0xb8]
mov ecx, dword [edx + edi]
lea eax, [edx + edi]
mov edx, dword [ecx + 0x274]
fld dword [edx + ebx + 0x138]
lea edx, [esp + 0x30]
fstp dword [esp + 0x18]
mov eax, dword [eax]
mov ecx, dword [eax + 0x274]
fld dword [ecx + ebx + 0x13c]
push edx
lea eax, [esp + 0x74]
fstp dword [esp + 0x20]
push eax
lea ecx, [esp + 0xd0]
push ecx
lea edx, [esp + 0xbc]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.004f7d50
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 0xb8]
push edx
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [eax + edi]
add eax, edi
push edx
call fcn.00583a00
mov eax, dword [esi + 0xb8]
add eax, edi
mov eax, dword [eax]
mov ecx, dword [eax + 0x27c]
inc ebp
add ebx, 0x388
cmp ebp, ecx
jl 0x58bdd0
mov ebx, dword [esp + 0x14]
jmp 0x58c054
mov ecx, dword [eax]
mov edx, dword [ecx + 0x138]
mov dword [esp + 0x18], edx
mov eax, dword [eax]
mov ecx, dword [eax + 0x13c]
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x20], ecx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0xd0]
push ecx
lea edx, [esp + 0xbc]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.004f7d50
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 0xb8]
push edx
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [eax + edi]
add eax, edi
push edx
call fcn.00583a00
mov eax, dword [esi + 0xb8]
mov ecx, dword [eax + edi]
add eax, edi
call fcn.00582bf0
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [esp + 0x148]
push edx
push 3
push eax
call dword [ecx + 0x94]
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [esp + 0x108]
push edx
push pe_nt_image_headers32
push eax
call dword [ecx + 0x94]
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [esp + 0x188]
push edx
push 2
push eax
call dword [ecx + 0x94]
mov eax, dword [esp + 0x10]
inc ebx
cmp ebx, eax
mov dword [esp + 0x14], ebx
jl 0x58bb80
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x1b8
ret