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

Disassembly:
push 0xffffffffffffffff
push 0x65bb1f
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x702ca8]
xor eax, esp
push eax
lea eax, [esp + 0x10c]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov dword [esp + 0x114], edi
call fcn.00433c60
cmp dword [esp + 0x130], edi
jne 0x57eb81
cmp dword [esp + 0x134], 0x10
jb 0x57ef94
mov eax, dword [esp + 0x120]
push eax
jmp 0x57ef8c
mov ebx, dword [esi + 0x98]
fild dword [ebx + 0x98]
fmul qword [0x6ddb10]
call fcn.00615b80
fld dword [esi + 0x90]
push eax
call fcn.00615b80
push eax
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0xffffffffffffffff
push edi
lea edx, [esp + 0x14c]
mov ebx, 0xf
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], edi
push edx
mov byte [ecx + 4], 0
call fcn.00402610
lea ecx, [esp + 0x94]
call fcn.00431130
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x140]
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], edi
push eax
mov byte [esp + 0x13c], 1
mov byte [ecx + 4], 0
call fcn.00402610
mov ecx, dword [esi + 0x98]
call fcn.00450e60
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fld1
mov ecx, dword [esi + 0x9c]
fdivrp st(1)
mov edx, dword [esi + 0xa0]
mov eax, dword [esi + 0xa4]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0xac]
test cl, 0x10
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
fstp qword [esp + 0x5c]
je 0x57ec69
mov eax, dword [esp + 0x100]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
test cl, 0x20
je 0x57ec7d
fild dword [esp + 0x100]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x78]
lea ecx, [esp + 0x6c]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x34], 0
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], edx
call fcn.00405930
cmp byte [esp + 0x34], 0
jne 0x57ef69
mov ecx, dword [esi + 0xac]
fld dword [esi + 0x9c]
test cl, 4
fstp dword [esp + 0x18]
mov ebx, dword [esp + 0x38]
je 0x57ece4
mov eax, dword [ebx + 0x90]
fld dword [esi + 0x9c]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
fisub dword [esp + 0x14]
fstp dword [esp + 0x18]
test cl, 8
je 0x57ecf9
fld dword [esi + 0x9c]
fisub dword [ebx + 0x90]
fstp dword [esp + 0x18]
mov eax, dword [ebx + 0xc]
lea ecx, [esp + 0x48]
mov byte [esp + 0x48], 0
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], eax
call fcn.00405930
cmp byte [esp + 0x48], 0
jne 0x57ef46
mov ebx, dword [esp + 0x4c]
cmp dword [ebx + 0xb0], 1
lea eax, [ebx + 0xb0]
jne 0x57ed44
mov dword [esp + 0x30], 0xffffffff
lea eax, [esp + 0x30]
cmp byte [esi + 0xa8], 0
mov ebp, dword [eax]
mov dword [esp + 0x2c], ebp
je 0x57ee70
mov dword [esp + 0x14], edi
cmp dword [ebx + 0xa4], edi
jbe 0x57ef32
jmp 0x57ed70
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x98]
lea eax, [ebx + 0x90]
push eax
call fcn.00450dc0
push 0x210
movzx edi, ax
call fcn.00604431
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0x114], 2
je 0x57ee02
fld qword [esp + 0x138]
mov ebp, dword [esi + 0x98]
mov ecx, dword [esp + 0x18]
sub esp, 0x20
fstp qword [esp + 0x18]
mov edx, esp
fild dword [esp + 0x48]
fmul qword [esp + 0x7c]
fstp qword [esp + 0x10]
fild dword [ebp + 0x9c]
fstp dword [esp + 0xc]
mov dword [edx], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [edx + 8], ecx
movzx edx, di
lea edx, [edx + edx*4]
mov ecx, dword [ebp + edx*4 + 0xac]
push ecx
mov ecx, eax
call fcn.0057efc0
mov ebp, dword [esp + 0x2c]
jmp 0x57ee04
xor eax, eax
push eax
mov ecx, esi
mov byte [esp + 0x118], 1
mov dword [eax + 0x11c], ebp
call fcn.0043f5f0
mov ecx, dword [esi + 0x98]
push edi
lea edx, [esp + 0x68]
push edx
call fcn.0044f0c0
mov edx, dword [esi + 0x98]
add dword [esp + 0x28], 1
movzx ecx, di
add ecx, 9
lea ecx, [ecx + ecx*4]
mov ecx, dword [edx + ecx*4]
add ecx, dword [eax]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
add eax, 1
fild dword [esp + 0x24]
mov dword [esp + 0x14], eax
cmp eax, dword [ebx + 0xa4]
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
jb 0x57ed70
jmp 0x57ef30
push 0x240
call fcn.00604431
mov edi, eax
add esp, 4
mov dword [esp + 0x24], edi
test edi, edi
mov byte [esp + 0x114], 3
je 0x57eee4
mov edx, dword [esi + 0x98]
push ebp
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push 0xffffffffffffffff
lea eax, [ebx + 0x90]
push 0
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push eax
mov byte [ecx + 4], 0
call fcn.00402610
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, edi
call fcn.0042f380
jmp 0x57eee6
xor eax, eax
fld qword [esp + 0x138]
push eax
fstp qword [eax + 0x1f8]
mov ecx, esi
fld1
mov byte [esp + 0x118], 1
fst qword [eax + 0x200]
mov dword [eax + 0x210], 3
fstp qword [eax + 0x208]
mov byte [eax + 0x1e9], 0
call fcn.0043f5f0
fild dword [ebx + 0xac]
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
xor edi, edi
lea ecx, [esp + 0x48]
call fcn.00405930
cmp byte [esp + 0x48], 0
je 0x57ed25
fld dword [esp + 0x1c]
lea ecx, [esp + 0x34]
fisub dword [esp + 0x104]
fstp dword [esp + 0x1c]
call fcn.00405930
cmp byte [esp + 0x34], 0
je 0x57ecae
lea ecx, [esp + 0x6c]
mov byte [esp + 0x114], 0
call fcn.00431520
cmp dword [esp + 0x134], 0x10
jb 0x57ef94
mov edx, dword [esp + 0x120]
push edx
call fcn.0060445c
add esp, 4
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret 0x24