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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x58
mov edx, dword [esp + 0x14]
push ebx
push ebp
push esi
mov esi, ecx
push edi
push edx
lea edx, [esp + 0x20]
mov ecx, dword [esi + 0xb0]
mov eax, dword [esi + 0xac]
mov dword [esp + 0x20], 0
push edx
mov ebp, dword [ecx]
mov ecx, dword [eax]
mov edi, dword [eax]
push eax
push ecx
call fcn.0046ef50
mov eax, dword [esi + 0x20]
push 0xff
mov ecx, dword [eax + 0x63c]
mov eax, dword [eax + 0x638]
movsx ecx, byte [ecx + 1]
lea edx, [ecx + ecx*2]
mov ecx, dword [eax + 0xa0]
mov eax, dword [ecx + edx*8 + 0xc]
lea ebx, [ecx + edx*8]
mov dword [esp + 0x34], ebx
mov edx, dword [ebx + 0x10]
mov ecx, dword [ebx + 8]
push edx
push eax
push ecx
call fcn.00475c50
mov ecx, dword [esi + 0x1a4]
add esp, 0x20
cmp ecx, eax
je 0x5727ae
mov dword [esi + 0x1a4], eax
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
push edx
push eax
push ecx
lea ecx, [esi + 0xb4]
call fcn.0047d990
fld dword [edi + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, 1
fstp qword [esi + 0x1f8]
fld dword [edi + 8]
cmp ecx, eax
mov dword [esp + 0x14], 3
fstp qword [esi + 0x220]
fld dword [edi + 0xc]
mov dword [esp + 0x18], eax
fstp qword [esi + 0x248]
fld dword [edi + 0x10]
fstp qword [esi + 0x270]
fld dword [ebp + 8]
fstp qword [esi + 0x298]
fld dword [ebp + 0xc]
fstp qword [esi + 0x2c0]
fld dword [ebp + 0x10]
fstp qword [esi + 0x2e8]
mov edx, dword [edi]
mov edi, dword [ebp]
jle 0x572cea
lea ecx, [esi + 0x1f0]
mov eax, dword [esp + 0x14]
test eax, eax
jl 0x5728b9
lea ebx, [edx + 8]
mov eax, ebx
mov ebp, dword [eax]
mov dword [esp + 0x58], ebp
mov ebp, dword [eax + 4]
mov dword [esp + 0x5c], ebp
mov ebp, dword [eax + 8]
mov dword [esp + 0x60], ebp
mov eax, dword [eax + 0xc]
mov dword [esp + 0x64], eax
fld dword [esp + 0x64]
fsubr qword [ecx + 8]
fcomp qword [0x5ae250]
fnstsw ax
and eax, 0x4100
jne 0x572894
fld dword [edx + 0x14]
fstp qword [ecx]
fld dword [ebx]
mov ebx, dword [esp + 0x14]
fstp qword [ecx + 0x28]
fld dword [edx + 0xc]
dec ebx
fstp qword [ecx + 0x50]
fld dword [edx + 0x10]
mov dword [esp + 0x14], ebx
fstp qword [ecx + 0x78]
fld dword [edi + 8]
fstp qword [ecx + 0xa0]
fld dword [edi + 0xc]
fstp qword [ecx + 0xc8]
fld dword [edi + 0x10]
fstp qword [ecx + 0xf0]
sub ecx, 8
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov edx, dword [edx]
mov edi, dword [edi]
inc eax
cmp eax, ebx
mov dword [esp + 0x18], eax
jl 0x572815
mov eax, dword [esp + 0x14]
test eax, eax
jg 0x572cea
lea edi, [esi + 0x1d8]
lea ebx, [esi + 0x1c0]
lea ebp, [esi + 0x278]
mov dword [esp + 0x1c], 3
mov edx, dword [ebx - 0x18]
lea ecx, [ebp - 0x78]
push 5
push ecx
push edi
push edx
call fcn.005952af
mov eax, dword [ebx]
push 5
push ebp
push edi
push eax
call fcn.005952af
mov eax, dword [esp + 0x3c]
add esp, 0x20
add ebx, 4
add ebp, 0x28
dec eax
mov dword [esp + 0x1c], eax
jne 0x5728d3
call fcn.004748c0
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x20]
fstp dword [esp + 0x14]
fild dword [ecx + 0x60]
lea ebp, [esi + 0xc4]
mov ecx, ebp
mov dword [esp + 0x24], ebp
fdivr dword [edx + 0x14]
fchs
fstp dword [esp + 0x20]
call fcn.00481b30
mov eax, dword [esi + 0x20]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], 0
mov ecx, dword [eax + 0x60]
test ecx, ecx
jle 0x572ce3
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
fld dword [esp + 0x14]
add ebx, 0x30
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x28]
test ecx, ecx
push edx
je 0x572ad8
fld dword [esp + 0x24]
fadd st(1)
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x1b4]
mov dword [esp + 0x64], ecx
mov ecx, dword [esi + 0x1a8]
push eax
fstp dword [esp + 0x1c]
sub esp, 8
lea eax, [esi + 0x200]
fstp st(0)
fld dword [esp + 0x24]
fstp qword [esp]
push eax
push edi
push ecx
call fcn.00595374
fld qword [esp + 0x44]
mov eax, dword [esi + 0x1b8]
add esp, 0x1c
fstp dword [esp + 0x34]
fld dword [esp + 0x14]
lea edx, [esp + 0x28]
mov ecx, dword [esi + 0x1ac]
push edx
push eax
sub esp, 8
lea eax, [esi + 0x228]
fstp qword [esp]
push eax
push edi
push ecx
call fcn.00595374
fld qword [esp + 0x44]
mov eax, dword [esi + 0x1bc]
add esp, 0x1c
fstp dword [esp + 0x38]
fld dword [esp + 0x14]
lea edx, [esp + 0x28]
mov ecx, dword [esi + 0x1b0]
push edx
push eax
sub esp, 8
lea eax, [esi + 0x250]
fstp qword [esp]
push eax
push edi
push ecx
call fcn.00595374
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
fld qword [esp + 0x44]
mov ecx, dword [esp + 0x64]
add esp, 0x1c
fstp dword [esp + 0x3c]
fld dword [esp + 0x14]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x1cc]
lea edx, [esp + 0x28]
push edx
push eax
sub esp, 8
lea eax, [esi + 0x278]
mov dword [esp + 0x64], ecx
mov ecx, dword [esi + 0x1c0]
fstp qword [esp]
push eax
push edi
push ecx
call fcn.00595374
fld qword [esp + 0x44]
mov eax, dword [esi + 0x1d0]
add esp, 0x1c
fstp dword [esp + 0x40]
fld dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
push eax
sub esp, 8
fstp qword [esp]
mov ecx, dword [esi + 0x1c4]
lea eax, [esi + 0x2a0]
push eax
push edi
push ecx
call fcn.00595374
fld qword [esp + 0x44]
mov eax, dword [esi + 0x1d4]
add esp, 0x1c
fstp dword [esp + 0x44]
fld dword [esp + 0x14]
lea edx, [esp + 0x28]
mov ecx, dword [esi + 0x1c8]
push edx
push eax
sub esp, 8
lea eax, [esi + 0x2c8]
fstp qword [esp]
push eax
push edi
push ecx
call fcn.00595374
fld qword [esp + 0x44]
fstp dword [esp + 0x64]
jmp 0x572c5a
fld qword [esi + 0x220]
mov eax, dword [esi + 0x1b4]
mov ecx, dword [esi + 0x1a8]
fstp dword [esp + 0x5c]
fld qword [esi + 0x248]
push eax
lea eax, [esi + 0x200]
fstp dword [esp + 0x64]
fld qword [esi + 0x270]
sub esp, 8
fstp dword [esp + 0x70]
fld dword [esp + 0x30]
fadd st(1)
fstp dword [esp + 0x24]
fstp st(0)
fld dword [esp + 0x24]
fstp qword [esp]
push eax
push edi
push ecx
call fcn.00595374
fld qword [esp + 0x44]
mov eax, dword [esi + 0x1b8]
add esp, 0x1c
fstp dword [esp + 0x34]
fld dword [esp + 0x14]
lea edx, [esp + 0x28]
mov ecx, dword [esi + 0x1ac]
push edx
push eax
sub esp, 8
lea eax, [esi + 0x228]
fstp qword [esp]
push eax
push edi
push ecx
call fcn.00595374
fld qword [esp + 0x44]
mov eax, dword [esi + 0x1bc]
add esp, 0x1c
fstp dword [esp + 0x38]
fld dword [esp + 0x14]
lea edx, [esp + 0x28]
mov ecx, dword [esi + 0x1b0]
push edx
push eax
sub esp, 8
lea eax, [esi + 0x250]
fstp qword [esp]
push eax
push edi
push ecx
call fcn.00595374
fld qword [esp + 0x44]
mov eax, dword [esi + 0x1cc]
add esp, 0x1c
fstp dword [esp + 0x3c]
fld dword [esp + 0x14]
lea edx, [esp + 0x28]
mov ecx, dword [esi + 0x1c0]
push edx
push eax
sub esp, 8
lea eax, [esi + 0x278]
fstp qword [esp]
push eax
push edi
push ecx
call fcn.00595374
fld qword [esp + 0x44]
mov eax, dword [esi + 0x1d0]
add esp, 0x1c
fstp dword [esp + 0x40]
fld dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
push eax
sub esp, 8
lea eax, [esi + 0x2a0]
fstp qword [esp]
push eax
mov ecx, dword [esi + 0x1c4]
push edi
push ecx
call fcn.00595374
fld qword [esp + 0x44]
mov eax, dword [esi + 0x1d4]
add esp, 0x1c
fstp dword [esp + 0x44]
fld dword [esp + 0x14]
lea edx, [esp + 0x28]
mov ecx, dword [esi + 0x1c8]
push edx
push eax
sub esp, 8
lea eax, [esi + 0x2c8]
fstp qword [esp]
push eax
push edi
push ecx
call fcn.00595374
fld qword [esp + 0x44]
mov ebp, dword [esp + 0x78]
fstp dword [esp + 0x64]
fld qword [esi + 0x298]
fstp dword [esp + 0x68]
fld qword [esi + 0x2c0]
fstp dword [esp + 0x6c]
fld qword [esi + 0x2e8]
fstp dword [esp + 0x70]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x7c]
add esp, 0x1c
mov dword [edx], eax
mov eax, dword [esp + 0x34]
fld dword [esp + 0x14]
mov dword [edx + 4], ebp
mov ebp, dword [esp + 0x38]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x3c]
lea edx, [ebx - 0x18]
mov dword [ebx - 0x18], eax
mov dword [edx + 4], ebp
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x40]
mov edx, ebx
mov dword [edx], ecx
mov ecx, dword [esp + 0x44]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x4c]
lea edx, [ebx + 0x18]
add ebx, 0x60
mov dword [edx], ecx
mov ecx, dword [esp + 0x50]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x54]
mov dword [edx + 8], ecx
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add edx, 0x60
mov dword [esp + 0x1c], edx
mov edx, dword [esi + 0x20]
inc ecx
cmp ecx, dword [edx + 0x60]
mov dword [esp + 0x18], ecx
jl 0x57295c
mov ebp, dword [esp + 0x24]
fstp st(0)
mov ecx, ebp
call fcn.00481b90
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret