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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa54
mov edx, dword [eax]
mov dword [esp + 4], edx
fild dword [esp + 4]
push ebx
push esi
mov esi, dword [eax + 4]
fstp dword [esp + 0x24]
push edi
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], esi
fild dword [esp + 0x10]
lea edx, [edi + edx - 1]
mov dword [esp + 0x10], edx
lea edx, [eax + esi - 1]
mov eax, dword [ecx + 0xc]
fstp dword [esp + 0x20]
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
mov edx, dword [ecx]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 4]
fstp dword [esp + 0x24]
fild dword [esp + 0x10]
mov dword [esp + 0x38], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x3c], eax
mov eax, 0x7329bc
fstp dword [esp + 0x2c]
mov byte [esp + 0xe], 0
mov dword [esp + 0x40], edx
call fcn.0056a480
mov ebx, dword [ebp + 0x10]
test ebx, ebx
mov byte [esp + 0xf], al
je 0x5df272
mov eax, dword [ebx]
mov edx, dword [eax + 0x68]
mov ecx, ebx
call edx
test ebx, ebx
setne al
test al, al
mov byte [esp + 0xd], al
je 0x5df296
cmp byte [ebx + 0x52], 0
jne 0x5df28f
cmp byte [ebx + 0x51], 0
jne 0x5df28f
cmp byte [ebp + 0x20], 0
je 0x5df296
mov byte [esp + 0x18], 1
jmp 0x5df29b
mov byte [esp + 0x18], 0
mov eax, 3
cmp dword [ebp + 0xc], eax
jl 0x5df57e
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
add eax, 0x14
cmp byte [esp + 0xe], 0
jne 0x5df2ce
lea ecx, [eax - 0x14]
mov dword [esp + 0x64], eax
add eax, 0x14
mov dword [esp + 0x60], ecx
mov dword [esp + 0x1c], eax
jmp 0x5df2e0
lea ecx, [eax + 0x14]
lea edx, [eax - 0x14]
mov dword [esp + 0x60], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x64], ecx
fld dword [esp + 0x2c]
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x78], eax
fld dword [esp + 0x30]
lea eax, [esp + 0x70]
fstp dword [esp + 8]
lea esi, [esp + 0x170]
fld dword [esp + 0x34]
mov dword [esp + 0x7c], 0
fstp dword [esp + 4]
fld dword [esp + 0x38]
fstp dword [esp]
call fcn.005df130
mov edi, eax
add esp, 0x10
test edi, edi
je 0x5df55a
fld qword [0x688738]
xor esi, esi
test edi, edi
jbe 0x5df371
lea ebx, [esp + 0x264]
mov eax, dword [esp + esi*4 + 0x160]
fld dword [eax]
fmul st(1)
call fcn.00643d70
mov dword [ebx - 4], eax
mov eax, dword [esp + esi*4 + 0x160]
fld dword [eax + 4]
fmul st(1)
call fcn.00643d70
mov dword [ebx], eax
add esi, 1
add ebx, 0x20
cmp esi, edi
jb 0x5df33e
mov ebx, dword [ebp + 0x10]
cmp byte [esp + 0xd], 0
je 0x5df43b
xor esi, esi
test edi, edi
jbe 0x5df3db
fild dword [ebx + 0x24]
fstp dword [esp + 0x14]
fild dword [ebx + 0x28]
lea ebx, [esp + 0x27c]
fstp dword [esp + 0x30]
fld dword [esp + 0x14]
fld dword [esp + 0x30]
mov eax, dword [esp + esi*4 + 0x160]
fld dword [eax + 8]
fmul st(2)
fmul st(3)
call fcn.00643d70
mov dword [ebx - 4], eax
mov eax, dword [esp + esi*4 + 0x160]
fld dword [eax + 0xc]
fmul st(1)
fmul st(3)
call fcn.00643d70
mov dword [ebx], eax
add esi, 1
add ebx, 0x20
cmp esi, edi
jb 0x5df39f
mov ebx, dword [ebp + 0x10]
fstp st(2)
fstp st(0)
mov eax, dword [ebx]
fstp st(0)
mov edx, dword [eax + 0x7c]
mov ecx, ebx
call edx
mov ecx, dword [ebx + 0x24]
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x5c], eax
imul eax, ecx
mov edx, ecx
mov dword [esp + 0x58], eax
mov eax, edx
shr eax, 1
mov dword [esp + 0x54], ecx
mov ecx, 0
je 0x5df417
lea esp, [esp]
add ecx, 1
shr eax, 1
jne 0x5df410
mov eax, 0x10
sub eax, ecx
mov ecx, dword [ebx + 0x28]
add edx, 0xffffffff
shl edx, 0x10
sub ecx, 1
shl ecx, 0x10
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ecx
jmp 0x5df43d
fstp st(0)
cmp byte [ebp + 0x24], 0
je 0x5df499
xor esi, esi
test edi, edi
jbe 0x5df499
lea eax, [esp + 0x26c]
mov ecx, dword [esp + esi*4 + 0x160]
mov edx, dword [ecx + 0x10]
sar edx, 8
and edx, 0xff0000
mov dword [eax - 4], edx
mov edx, dword [ecx + 0x10]
and edx, 0xff0000
mov dword [eax], edx
mov edx, dword [ecx + 0x10]
and edx, 0xff00
shl edx, 8
mov dword [eax + 4], edx
mov ecx, dword [ecx + 0x10]
and ecx, 0xff
shl ecx, 0x10
mov dword [eax + 8], ecx
add esi, 1
add eax, 0x20
cmp esi, edi
jb 0x5df450
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
push edx
push eax
mov eax, dword [ebp + 0x18]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [ebp + 0x14]
lea edx, [esp + 0x50]
push edx
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov cl, byte [esp + 0x27]
lea edx, [esp + 0x278]
push edx
mov dl, byte [ebp + 0x24]
push eax
mov al, byte [esp + 0x2d]
call fcn.005df600
add esp, 0x20
cmp edi, 3
jbe 0x5df55a
add edi, 0xffffffff
cmp edi, 2
jbe 0x5df55a
add edi, 0xfffffffe
lea ebx, [esp + 0x2c0]
mov dword [esp + 0x14], edi
mov edx, dword [ebp + 0x1c]
lea esi, [ebx - 0x20]
mov ecx, 8
lea edi, [esp + 0x280]
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
mov esi, ebx
lea edi, [esp + 0x2a0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x20]
push ecx
push edx
mov edx, dword [ebp + 0x18]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [ebp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
mov edx, dword [esp + 0x2c]
push eax
mov al, byte [esp + 0x25]
lea ecx, [esp + 0x278]
push ecx
mov cl, byte [esp + 0x2b]
push edx
mov dl, byte [ebp + 0x24]
call fcn.005df600
add esp, 0x20
add ebx, 0x20
sub dword [esp + 0x14], 1
jne 0x5df4f2
mov ebx, dword [ebp + 0x10]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
add esi, 1
cmp byte [esp + 0xe], 0
mov dword [esp + 0x10], esi
sete cl
cmp esi, dword [ebp + 0xc]
mov byte [esp + 0xe], cl
jle 0x5df2b3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret