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

Disassembly:
sub esp, 0x80
push ebx
mov ebx, dword [esp + 0x8c]
push ebp
mov ebp, dword [esp + 0x8c]
mov eax, dword [ebx + 8]
push esi
mov ecx, dword [ebp + 8]
push edi
xor edi, edi
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x18], ecx
jle 0x5d8497
mov edx, dword [ebx + 4]
mov ecx, dword [edx + edi*4]
call fcn.004da9b0
mov esi, eax
test esi, esi
mov dword [esp + 0x28], esi
je 0x5d848a
mov ecx, esi
call fcn.004eaa30
test eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], 0
jle 0x5d848a
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
call fcn.004ea770
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
xor esi, esi
test eax, eax
jle 0x5d812c
mov ecx, dword [ebp + 4]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x10]
mov edx, dword [edx]
cmp dword [edx], 0
jne 0x5d8118
mov eax, dword [edx + 0x34]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x20], eax
jle 0x5d8118
mov edx, dword [edx + 0x30]
mov eax, dword [esp + 0x1c]
cmp eax, dword [edx]
je 0x5d8114
inc ecx
add edx, 4
cmp ecx, dword [esp + 0x20]
jl 0x5d8104
jmp 0x5d8118
test ecx, ecx
jge 0x5d814a
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
inc esi
add ecx, 4
cmp esi, eax
mov dword [esp + 0x10], ecx
jl 0x5d80e5
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jge 0x5d848a
mov esi, dword [esp + 0x28]
jmp 0x5d80c4
mov eax, dword [ebp + 4]
mov ecx, dword [eax + esi*4]
mov dword [ecx], 1
mov edx, dword [ebp + 4]
mov eax, dword [edx + esi*4]
mov edx, dword [ebx + 4]
mov cl, byte [eax + 4]
push ecx
mov ecx, dword [edx + edi*4]
call fcn.00537240
mov eax, dword [ebp + 4]
mov edx, dword [ebx + 4]
mov ecx, dword [eax + esi*4]
mov eax, dword [edx + edi*4]
mov ecx, dword [ecx + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp + 4]
mov ecx, dword [ebx + 4]
mov eax, dword [edx + esi*4]
mov ecx, dword [ecx + edi*4]
add eax, 0x268
push eax
add ecx, 0x148
call fcn.00654de0
mov edx, dword [ebp + 4]
mov ecx, dword [ebx + 4]
mov eax, dword [edx + esi*4]
mov ecx, dword [ecx + edi*4]
add eax, 0x2e0
add ecx, 0x1c0
push eax
call fcn.00654de0
mov edx, dword [ebp + 4]
mov ecx, dword [ebx + 4]
mov eax, dword [edx + esi*4]
mov ecx, dword [ecx + edi*4]
add eax, 0x358
add ecx, 0x238
push eax
call fcn.00654de0
mov edx, dword [ebp + 4]
mov eax, dword [edx + esi*4]
mov ecx, dword [eax + 0x3d4]
push ecx
mov edx, dword [eax + 0x3d0]
mov eax, dword [ebx + 4]
push edx
mov ecx, dword [eax + edi*4]
call fcn.004d8860
mov ecx, dword [ebp + 4]
mov edx, dword [ecx + esi*4]
mov eax, dword [edx + 0x3dc]
push eax
mov ecx, dword [edx + 0x3d8]
mov edx, dword [ebx + 4]
push ecx
mov ecx, dword [edx + edi*4]
call fcn.004d8880
mov eax, dword [ebx + 4]
mov ecx, dword [eax + edi*4]
call fcn.004da3a0
test eax, eax
mov dword [esp + 0x28], eax
je 0x5d8365
lea ecx, [esp + 0x48]
call fcn.0064dc20
lea ecx, [esp + 0x60]
call fcn.0064dc20
lea ecx, [esp + 0x30]
call fcn.0064dc20
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x4c]
mov ecx, dword [eax + esi*4]
push edx
add ecx, 0xb8
call fcn.004d7110
fld qword [esp + 0x68]
fadd qword [esp + 0x50]
push 0
push 0
sub esp, 8
lea ecx, [esp + 0x88]
fmul qword [0x691ac8]
sub esp, 8
fstp qword [esp + 8]
fld qword [esp + 0x78]
fadd qword [esp + 0x60]
fmul qword [0x691ac8]
fstp qword [esp]
call fcn.0064dc40
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
sub esp, 0x18
mov dword [esp + 0x58], ecx
lea eax, [esp + 0x48]
mov ecx, esp
push eax
mov dword [esp + 0x60], edx
call fcn.0064dc70
push edi
mov ecx, ebx
call fcn.004ea1e0
mov ecx, dword [eax]
call fcn.004e2a30
sub esp, 0x18
lea edx, [esp + 0x60]
mov ecx, esp
mov dword [esp + 0x3c], eax
push edx
call fcn.0064dc70
push edi
mov ecx, ebx
call fcn.004ea1e0
mov ecx, dword [eax]
call fcn.004e2a30
mov dword [esp + 0x20], eax
sub esp, 0x18
lea eax, [esp + 0x78]
mov ecx, esp
push eax
call fcn.0064dc70
push edi
mov ecx, ebx
call fcn.004ea1e0
mov ecx, dword [eax]
call fcn.004e2a30
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 4]
push 1
mov edx, dword [ecx]
mov eax, dword [eax + esi*4]
add eax, 0x40
push eax
call dword [edx + 0x64]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x5d84a2
mov eax, dword [esp + 0x20]
test eax, eax
je 0x5d8358
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x5d8365
mov edx, dword [ebx + 4]
push 0
mov ecx, dword [edx + edi*4]
call fcn.004e33f0
mov eax, dword [ebp + 4]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx + 0x258]
test eax, eax
mov dword [esp + 0x28], eax
je 0x5d83ba
mov dword [esp + 0x14], 0
jle 0x5d83ba
mov edx, dword [ebp + 4]
push 1
mov eax, dword [edx + esi*4]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + 0x254]
mov ecx, dword [ecx + edx*4]
mov eax, dword [ecx]
call dword [eax + 0x68]
mov ecx, dword [ebx + 4]
push eax
mov ecx, dword [ecx + edi*4]
call fcn.004da400
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x5d8383
mov edx, dword [ebp + 4]
mov eax, dword [edx + esi*4]
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x5d83fb
mov ecx, dword [ebx + 4]
push 1
mov ecx, dword [ecx + edi*4]
call fcn.004e1cd0
push esi
mov ecx, ebp
call fcn.004ea1e0
mov edx, dword [eax]
sub esp, 0x18
add edx, 0x10
mov ecx, esp
push edx
call fcn.0064dc70
push edi
mov ecx, ebx
call fcn.004ea1e0
mov ecx, dword [eax]
call fcn.004e1c80
mov eax, dword [ebp + 4]
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx + 0x3e0]
mov dword [0x6e0e24], edx
mov eax, dword [ebp + 4]
mov edx, dword [ebx + 4]
mov ecx, dword [eax + esi*4]
mov eax, dword [edx + edi*4]
mov ecx, dword [ecx + 0x3e4]
mov dword [eax + 0x2b0], ecx
mov edx, dword [ebp + 4]
mov ecx, dword [ebx + 4]
mov eax, dword [edx + esi*4]
mov edx, dword [ecx + edi*4]
mov al, byte [eax + 0x3e8]
mov byte [edx + 0x2b8], al
mov ecx, dword [ebp + 4]
mov eax, dword [ebx + 4]
mov edx, dword [ecx + esi*4]
mov ecx, dword [eax + edi*4]
mov edx, dword [edx + 0x3ec]
mov dword [ecx + 0x2bc], edx
mov eax, dword [ebp + 4]
mov edx, dword [ebx + 4]
mov ecx, dword [eax + esi*4]
mov eax, dword [edx + edi*4]
mov ecx, dword [ecx + 0x3f0]
mov dword [eax + 0x2c0], ecx
mov edx, dword [ebp + 4]
mov ecx, dword [ebx + 4]
mov eax, dword [edx + esi*4]
mov ecx, dword [ecx + edi*4]
add eax, 0x3f4
push eax
add ecx, 0x2c8
call fcn.0065e80a
mov eax, dword [esp + 0x2c]
inc edi
cmp edi, eax
jl 0x5d8090
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret
mov ecx, dword [ebx + 4]
push 1
mov ecx, dword [ecx + edi*4]
jmp 0x5d8360