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

Disassembly:
sub esp, 0x138
push ebx
push ebp
mov ebp, dword [esp + 0x144]
mov ecx, dword [ebp + 0x128]
mov edx, dword [ebp + 0xe8]
push esi
push edi
push ecx
lea eax, [ebp + 0x17c]
push edx
xor esi, esi
push eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], eax
call fcn.005be110
mov ebx, eax
lea eax, [ebp + 0x1c8]
push eax
push fcn.005bcbb0
lea edi, [ebp + 0x68]
push ebx
push edi
mov dword [esp + 0x4c], edi
call fcn.005be1f0
mov eax, dword [ebx + 0x2c]
test eax, eax
mov dword [esp + 0x10], esi
jle 0x5b9497
fld dword [0x5f53f4]
mov dword [esp + 0x20], esi
fdiv dword [esp + 0x150]
fstp dword [esp + 0x2c]
jmp 0x5b9030
mov esi, dword [esp + 0x10]
nop
mov ecx, dword [ebx + 0x1c]
lea edi, [esi*4]
mov edx, dword [edi + ecx]
shl edx, 6
push edx
lea eax, [ebp + 0x10c]
push eax
call fcn.005c6b60
push esi
push ebx
mov dword [esp + 0x1c], eax
call fcn.005bd530
fld dword [ebp + 0x1c4]
fld st(1)
fcompp
fnstsw ax
test ah, 5
jp 0x5b9071
fstp st(0)
fld dword [ebp + 0x1c4]
fcom dword [esp + 0x150]
fnstsw ax
test ah, 5
jp 0x5b9085
fstp dword [esp + 0x1c]
jmp 0x5b9092
mov eax, dword [esp + 0x150]
fstp st(0)
mov dword [esp + 0x1c], eax
mov ecx, dword [ebx + 0x28]
mov edx, dword [esp + 0x20]
mov esi, dword [edx + ecx + 4]
lea eax, [edx + ecx]
mov ecx, dword [eax]
mov edx, dword [eax + 8]
push ecx
add edx, esi
push edx
push 1
lea eax, [ebp + 0x164]
push eax
call fcn.005bd590
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [ebp + 0x258]
push eax
push esi
push ecx
lea eax, [ebp + 0x218]
push eax
lea eax, [ebp + 0x194]
push eax
mov eax, dword [esp + 0x24]
push edx
push eax
push ebx
mov dword [esp + 0x58], esi
call fcn.005bce80
fld dword [esp + 0x2c]
mov ecx, dword [ebx + 0x18]
fmul dword [ebp + 0x1c0]
mov edx, dword [edi + ecx]
mov ecx, dword [ebx + 0x14]
fmul dword [esp + 0x1c]
lea edx, [ecx + edx*4]
lea ecx, [ebp + 0x218]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x1c]
fstp dword [ebp + 0x220]
mov dword [ecx], edx
mov dword [esp + 0x68], ecx
mov ecx, dword [ebp + 0x258]
test ecx, ecx
mov dword [esp + 0x40], esi
jne 0x5b9172
mov ecx, dword [ebx + 0x1c]
mov edx, dword [edi + ecx]
push edx
push eax
lea eax, [esi + 0x7c]
mov edx, dword [eax]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
call fcn.005c0060
push eax
lea ecx, [ebp + 0x9c]
push ecx
mov dword [esp + 0x3c], eax
call fcn.005c6b60
mov edx, dword [esp + 0x34]
mov dword [ebp + 0x240], eax
mov dword [ebp + 0x244], edx
jmp 0x5b91a0
cmp ecx, 1
jne 0x5b91a0
mov eax, dword [esi + 0x74]
mov ecx, dword [ebx + 0x20]
mov edx, dword [esi + 0x68]
push eax
mov eax, dword [esi + 0x64]
push ecx
push edx
push eax
lea ecx, [ebp + 0xb4]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0xa8]
push eax
call fcn.005bd960
mov ecx, dword [esi + 0x74]
mov edx, dword [ebx + 0x20]
mov eax, dword [esi + 0x68]
push ecx
mov ecx, dword [esi + 0x64]
push edx
push eax
push ecx
lea eax, [ebp + 0xcc]
push eax
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x88]
push ecx
call fcn.005bdeb0
mov edx, dword [ebx + 0x1c]
mov eax, dword [edi + edx]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x50]
push eax
call fcn.005bd1f0
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
push 1
add ecx, edi
push ecx
add edx, edi
push edx
push eax
lea ecx, [esp + 0x94]
push ecx
call fcn.005bd250
mov edx, dword [ebx + 0x1c]
mov eax, dword [edi + edx]
mov dword [esi + 8], eax
mov ecx, dword [ebx + 0x1c]
mov edx, dword [edi + ecx]
mov dword [esi + 0xa0], edx
mov eax, dword [ebp + 0x218]
mov ecx, dword [ebx + 0x1c]
mov edx, dword [edi + ecx]
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push edx
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x64]
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x74]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x8c]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
call fcn.005ca320
mov eax, dword [ebx + 0x1c]
mov ecx, dword [esp + 0x40]
add eax, edi
mov dword [ecx + 0x94], eax
mov edx, dword [esp + 0x40]
push 0
mov dword [edx + 0x98], 1
call fcn.004031a0
mov eax, dword [ebp + 0x258]
add esp, 4
test eax, eax
jne 0x5b92cd
sub esp, 0x2c
mov edi, esp
push eax
mov ecx, 0xb
lea esi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
sub esp, 0x24
mov edi, esp
mov ecx, 9
lea esi, [esp + 0xc0]
rep movsd dword es:[edi], dword [esi]
call fcn.005bf150
jmp 0x5b9313
cmp eax, 1
jne 0x5b9313
sub esp, 0x2c
mov edi, esp
sub esp, 0xb8
mov ecx, 0xb
lea esi, [esp + 0x124]
rep movsd dword es:[edi], dword [esi]
mov edi, esp
mov ecx, 0x2e
lea esi, [esp + 0x174]
rep movsd dword es:[edi], dword [esi]
sub esp, 0x24
mov edi, esp
mov ecx, 9
lea esi, [esp + 0x174]
rep movsd dword es:[edi], dword [esi]
call fcn.005c7190
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x1c]
mov edi, dword [esp + 0x18]
lea esi, [ecx*4]
mov edx, dword [esi + eax]
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x64]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 4], edx
push edi
mov dword [eax + 8], ecx
call fcn.005ca2a0
mov eax, dword [ebp + 0x250]
test eax, eax
je 0x5b9385
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x98]
mov dword [edx + 4], ecx
mov ecx, dword [ebx + 0x1c]
mov dword [edx + 8], eax
mov edx, dword [esi + ecx]
push edx
push edi
push ebp
call fcn.005b8e60
add esp, 0x18
mov edx, dword [esp + 0x10]
sub esp, 0x34
mov edi, esp
mov ecx, 0xd
lea esi, [ebp + 0x218]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x1c]
mov edi, dword [esp + 0x48]
lea eax, [edx*4]
mov eax, dword [eax + ecx]
mov ecx, dword [esp + 0x4c]
push eax
push edi
push ecx
call fcn.005ca270
mov eax, dword [ebp + 0x258]
test eax, eax
jne 0x5b93d5
mov edx, dword [ebp + 0x240]
push edx
lea eax, [ebp + 0x9c]
push eax
call fcn.005c6bd0
cmp dword [ebp + 0x258], 1
jne 0x5b93ef
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [ebp + 0xb4]
push edx
call fcn.005c6bd0
mov eax, dword [esp + 0x28]
push eax
lea eax, [ebp + 0xcc]
push eax
call fcn.005c6bd0
mov esi, dword [esp + 0x10]
push ebx
push esi
push edi
call fcn.005bd0d0
mov ecx, dword [ebp + 0x25c]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x6c]
push ecx
push edx
sub esp, 0xc
lea ecx, [eax + 0x64]
mov edi, dword [ecx]
mov edx, esp
mov dword [edx], edi
mov edi, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [edx + 4], edi
mov dword [edx + 8], ecx
mov ecx, dword [eax]
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
push ebx
mov dword [edx + 8], ecx
push esi
mov dword [edx + 0xc], eax
call fcn.005bd440
mov ecx, dword [esp + 0x38]
push ecx
lea eax, [ebp + 0x164]
push eax
call fcn.005c6bd0
mov edx, dword [esp + 0x14]
push edx
lea eax, [ebp + 0x10c]
push eax
call fcn.005c6bd0
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx + 0x2c]
inc esi
add ecx, 0xc
cmp esi, eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], ecx
jl 0x5b902b
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
push ebx
push eax
call fcn.005c6bd0
push edi
call fcn.005c6f60
mov esi, eax
add esp, 4
test esi, esi
je 0x5b94d5
mov ebp, 0x7f7fffff
mov ebx, dword [esi + 0x14]
push ebx
call fcn.005ba360
push esi
push edi
mov dword [ebx + 0x210], ebp
call fcn.005c6f90
mov esi, eax
add esp, 8
test esi, esi
jne 0x5b94b6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x138
ret 8