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

Disassembly:
push 0xffffffffffffffff
push 0x6c65f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
mov eax, dword [esp + 0xac]
push ebx
push ebp
push esi
push edi
push fcn.0048ede0
push fcn.0050c840
mov esi, ecx
mov ecx, dword [eax + 0x1c]
push 5
lea edx, [esp + 0x5c]
push 0xc
push edx
mov dword [esp + 0x28], ecx
call fcn.006b121a
fld dword [esi + 0x14c]
fmul dword [esi + 0x388]
xor ebp, ebp
lea eax, [esp + 0xa0]
push ebp
push eax
fmul dword [esp + 0x1c]
lea edx, [esp + 0x4c]
mov dword [esp + 0xbc], 1
fsubr dword [esi + 0x388]
fst dword [esi + 0x388]
fadd dword [esi + 0x628]
fmul dword [esp + 0x1c]
fadd dword [esi + 0x380]
fst dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
fstp dword [esi + 0x380]
push ecx
mov ecx, dword [esi + 0x60]
push edx
call fcn.0044b8d0
fld dword [esp + 0x14]
fmul dword [esi + 0x140]
mov eax, dword [esi + 0x384]
mov edi, dword [esp + 0x14]
push edi
mov ecx, esi
fsubr dword [esi + 0x390]
mov dword [esp + 0x4c], eax
fst dword [esi + 0x390]
fmul dword [esp + 0x18]
fadd dword [esi + 0x384]
fstp dword [esi + 0x384]
fld dword [esi + 0x148]
fmul dword [esi + 0x3a8]
fchs
fst dword [esi + 0x3ac]
fmul dword [esp + 0x18]
fadd dword [esi + 0x3a8]
fst dword [esi + 0x3a8]
fld dword [esp + 0x18]
fdiv dword [esi + 0x134]
fmul st(1)
fmul dword [esi + 0x388]
fadd dword [esi + 0x3a4]
fstp dword [esi + 0x3a4]
fstp st(0)
call fcn.00578200
push edi
push ebp
mov ecx, esi
call fcn.005768d0
mov ecx, dword [esi + 0x30]
mov edx, dword [ecx + 4]
add edx, 0x30
push edx
push 0x72c608
call fcn.00433210
fld dword [esi + 0x604]
fcomp dword [0x6d035c]
fnstsw ax
and eax, 0x4100
jne 0x57ae72
fld dword [esi + 0x184]
fmul dword [0x6d1c28]
fmul dword [esp + 0x14]
fsubr dword [esi + 0x604]
fst dword [esi + 0x604]
fcomp dword [0x6d035c]
fnstsw ax
test ah, 5
jp 0x57aeb6
jmp 0x57aeb0
fld dword [esi + 0x604]
fcomp dword [0x6d035c]
fnstsw ax
test ah, 5
jp 0x57aeb6
fld dword [esi + 0x184]
fmul dword [0x6d1c28]
fmul dword [esp + 0x14]
fadd dword [esi + 0x604]
fst dword [esi + 0x604]
fcomp dword [0x6d035c]
fnstsw ax
and eax, 0x4100
jne 0x57aeb6
mov dword [esi + 0x604], ebp
mov ecx, dword [esi + 0x30]
push ecx
mov eax, dword [ecx + 4]
add eax, 0x40
mov edx, dword [eax]
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x40], edx
mov eax, dword [eax + 8]
mov edx, dword [esi + 0x384]
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], edx
mov eax, dword [ecx + 4]
add eax, 0x10
mov edx, dword [eax]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
lea edx, [esp + 0x20]
fld dword [eax + 8]
fld dword [esi + 0x604]
fsin
fmul dword [esi + 0x5d0]
fstp dword [esp + 0x24]
fld dword [esi + 0x604]
fcos
fmul dword [esi + 0x5d0]
fmul dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esi + 0x604]
fcos
fmul dword [esi + 0x5d0]
fmul st(1)
fstp dword [esp + 0x28]
mov eax, dword [ecx + 4]
fstp st(0)
fld dword [esi + 0x5d4]
add eax, 0x30
fld st(0)
fmul dword [eax]
fstp dword [esp + 0x30]
fld st(0)
fmul dword [eax + 4]
fstp dword [esp + 0x34]
fmul dword [eax + 8]
lea eax, [esp + 0x54]
fstp dword [esp + 0x38]
fld dword [esp + 0x18]
fmul dword [esi + 0x390]
fstp dword [esp]
push eax
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.0046ac40
sub esp, 0xc
lea eax, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
mov byte [esp + 0xd8], 2
call fcn.0046ac40
sub esp, 0xc
lea edx, [esp + 0x64]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov byte [esp + 0xe4], 3
call fcn.0046ac40
mov ecx, esi
mov byte [esp + 0xe0], 1
call fcn.00577f70
test al, al
jne 0x57afcf
mov dword [esi + 0x360], ebp
jmp 0x57b645
fld dword [esi + 0x388]
fcomp dword [0x6d130c]
fnstsw ax
and eax, 0x100
jne 0x57b040
fld dword [esi + 0x390]
fdiv dword [esi + 0x388]
fchs
fld1
fpatan
fld dword [0x6d0348]
fdiv dword [esi + 0x17c]
fld dword [0x6de5e8]
fmul st(1)
fstp dword [esp + 0x10]
fmul dword [0x6de5e4]
fstp dword [esp + 0x28]
fcom dword [esp + 0x28]
fnstsw ax
test ah, 0x41
jp 0x57b02b
fstp st(0)
fld dword [esp + 0x28]
jmp 0x57b046
fcom dword [esp + 0x10]
fnstsw ax
and eax, 0x100
jne 0x57b046
fstp st(0)
fld dword [esp + 0x10]
jmp 0x57b046
fld dword [0x6d035c]
fld dword [0x72c610]
fmul dword [esp + 0x24]
fld dword [0x72c60c]
fmul dword [esp + 0x20]
lea eax, [esi + 0x5a8]
xor bl, bl
mov dword [esp + 0x28], ebp
mov byte [esp + 0x8c], bl
faddp st(1)
fld dword [0x72c608]
fmul dword [esp + 0x1c]
lea ebp, [esp + 0x54]
lea edi, [esp + 0x90]
mov dword [esp + 0x18], eax
faddp st(1)
fstp dword [esp + 0x10]
fmul dword [esi + 0x17c]
fld st(0)
fsin
fld dword [eax]
fadd dword [esi + 0x384]
fxch st(1)
fmul dword [esi + 0x5d4]
fsubp st(1)
fsub dword [esp + 0x10]
fstp dword [esp + 0x90]
fld st(0)
fsin
fld dword [esi + 0x5ac]
fadd dword [esi + 0x384]
fxch st(1)
fmul dword [esi + 0x5d4]
fsubp st(1)
fadd dword [esp + 0x10]
fstp dword [esp + 0x94]
fld st(0)
fsin
fmul dword [esi + 0x5d4]
fadd dword [esi + 0x5b0]
fadd dword [esi + 0x384]
fsub dword [esp + 0x10]
fstp dword [esp + 0x98]
fsin
fmul dword [esi + 0x5d4]
fadd dword [esi + 0x5b4]
fadd dword [esi + 0x384]
fadd dword [esp + 0x10]
mov byte [esp + 0x10], bl
fstp dword [esp + 0x9c]
fld dword [edi]
fcomp dword [ebp]
fnstsw ax
test ah, 0x41
jp 0x57b16c
mov ecx, dword [esp + 0x10]
fld dword [esp + 0x14]
fmul dword [esi + 0x190]
push ecx
mov ecx, esi
sub esp, 8
fstp dword [esp + 4]
fld dword [ebp]
fsub dword [edi]
fstp dword [esp]
call fcn.005776b0
mov ecx, dword [esp + 0x28]
mov al, 1
shl al, cl
fadd dword [edi]
mov dl, al
fstp dword [edi]
not dl
and dl, bl
or dl, al
mov bl, dl
mov byte [esp + 0x8c], bl
mov ecx, dword [esp + 0x18]
mov al, byte [esp + 0x10]
fld dword [edi]
fsub dword [ecx]
mov edx, dword [esp + 0x28]
inc al
inc edx
add edi, 4
add ecx, 4
mov byte [esp + 0x10], al
fstp dword [ebp]
add ebp, 0xc
cmp al, 4
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], ecx
jl 0x57b11e
test bl, 2
je 0x57b1a5
test bl, 4
jne 0x57b1b7
test bl, 1
je 0x57b36e
test bl, 8
je 0x57b36e
mov ecx, dword [esi + 0x30]
mov ebx, 0xfffdffff
mov eax, dword [ecx + 4]
add eax, 0x40
fld dword [eax]
fst dword [esp + 0x44]
mov edx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov eax, dword [eax + 8]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], edx
mov eax, dword [ecx + 4]
fstp dword [eax + 0x40]
mov edx, dword [esp + 0x48]
add eax, 0x10
mov dword [eax + 0x34], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 0x38], edx
mov edx, dword [eax + 0xc]
and edx, ebx
mov dword [eax + 0xc], edx
mov eax, dword [ecx + 4]
push eax
call fcn.00404040
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
push 1
mov ecx, esi
call fcn.005768d0
mov eax, dword [esp + 0x8c]
lea edx, [esi + 0x5b8]
and eax, 0xff
xor ecx, ecx
mov edi, 4
mov ebp, 1
shl ebp, cl
test eax, ebp
je 0x57b24b
fld dword [esi + 0x390]
fchs
fstp dword [edx]
inc ecx
add edx, 4
dec edi
jne 0x57b236
mov ecx, dword [esi + 0x5c]
xor ebp, ebp
push ebp
push 5
call fcn.004e22a0
mov ecx, eax
call fcn.004565d0
mov ecx, dword [esi + 0x70]
mov edx, dword [esp + 0x44]
mov eax, dword [ecx + 4]
mov dword [eax + 0x40], edx
mov edx, dword [esp + 0x48]
add eax, 0x10
mov dword [eax + 0x34], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 0x38], edx
mov edx, dword [eax + 0xc]
and edx, ebx
mov dword [eax + 0xc], edx
mov eax, dword [ecx + 4]
push eax
call fcn.00404040
mov edi, dword [esi + 0x70]
add esp, 4
mov edx, dword [edi + 0x10]
lea ecx, [edi + 0x10]
or dh, 2
push 1
push 0xa
mov dword [ecx], edx
call fcn.0042df50
mov edi, dword [edi + 0x54]
push ebp
mov ecx, esi
or dword [edi + 4], 0xa
call fcn.0057c8b0
cmp byte [esi + 0x24c], 1
jne 0x57b2cf
push ebp
mov ecx, esi
call fcn.0057c830
mov eax, dword [esi + 0xc]
test ah, 4
je 0x57b338
fld dword [esp + 0xa4]
fadd st(0), st(0)
and ah, 0xfb
mov ecx, dword [esp + 0x84]
mov dword [esi + 0xc], eax
mov dword [esi + 0x384], ecx
fadd dword [0x6d0348]
fst dword [esp + 0x18]
fmul dword [esi + 0x130]
fmul dword [esi + 0x390]
fchs
fst dword [esi + 0x390]
fld dword [esp + 0x18]
fmul dword [esi + 0x1a8]
fstp dword [esp + 0x18]
fcomp dword [esp + 0x18]
fnstsw ax
and eax, 0x4100
jne 0x57b344
mov edx, dword [esp + 0x18]
mov dword [esi + 0x390], edx
jmp 0x57b344
mov dword [esi + 0x390], ebp
mov dword [esi + 0x360], ebp
mov eax, dword [esi + 0x354]
mov dword [eax + 4], esi
mov ecx, dword [0x72d944]
mov edx, dword [esi + 0x354]
mov ecx, dword [ecx + 0x18]
push edx
call fcn.00453d10
or dword [esi + 0xc], 0x20000
jmp 0x57b63e
fld dword [esp + 0x54]
fsub dword [esp + 0x6c]
fld dword [esp + 0x60]
fsub dword [esp + 0x78]
fcom dword [0x6d035c]
fnstsw ax
and eax, 0x100
jne 0x57b3ab
fld st(1)
fcomp st(1)
fnstsw ax
and eax, 0x4100
jne 0x57b3ab
fxch st(1)
fsub st(1)
fadd dword [esp + 0x60]
fstp dword [esp + 0x60]
jmp 0x57b475
fld st(1)
fcomp dword [0x6d035c]
fnstsw ax
and eax, 0x100
jne 0x57b3d6
fld st(1)
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x57b3d6
fsub st(1)
fadd dword [esp + 0x54]
fstp dword [esp + 0x54]
jmp 0x57b475
fcom dword [0x6d035c]
fnstsw ax
test ah, 0x41
jp 0x57b3fa
fld st(1)
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x57b3fa
fsub st(1)
fadd dword [esp + 0x54]
fstp dword [esp + 0x54]
jmp 0x57b475
fld st(1)
fcomp dword [0x6d035c]
fnstsw ax
test ah, 0x41
jp 0x57b424
fld st(1)
fcomp st(1)
fnstsw ax
and eax, 0x4100
jne 0x57b424
fxch st(1)
fsub st(1)
fadd dword [esp + 0x60]
fstp dword [esp + 0x60]
jmp 0x57b475
fcom dword [0x6d035c]
fnstsw ax
test ah, 5
jp 0x57b436
or ecx, 0xffffffff
jmp 0x57b43b
mov ecx, 1
fld st(1)
fcomp dword [0x6d035c]
fnstsw ax
test ah, 5
jp 0x57b44f
or eax, 0xffffffff
jmp 0x57b454
mov eax, 1
cmp ecx, eax
je 0x57b473
fcom dword [0x6d035c]
fnstsw ax
test ah, 5
jp 0x57b3ee
fxch st(1)
fsub st(1)
fadd dword [esp + 0x60]
fstp dword [esp + 0x60]
jmp 0x57b475
fstp st(0)
fstp st(0)
fld dword [esp + 0x74]
fadd dword [esp + 0x68]
fld dword [esp + 0x78]
fadd dword [esp + 0x6c]
fld dword [esp + 0x7c]
fadd dword [esp + 0x70]
push ecx
fstp dword [esp + 0x44]
fld dword [esp + 0x54]
fadd st(2)
fstp dword [esp + 0x3c]
fld dword [esp + 0x58]
fadd st(1)
fstp st(2)
fstp st(0)
fld dword [esp + 0x44]
fadd dword [esp + 0x5c]
fld dword [esp + 0x60]
fadd dword [esp + 0x3c]
fstp dword [esp + 0x3c]
fld dword [esp + 0x64]
fadd st(2)
fstp dword [esp + 0x40]
fld dword [esp + 0x68]
fadd st(1)
fstp st(2)
fstp st(0)
fld dword [esp + 0x3c]
fmul dword [0x6d3ae8]
fstp dword [esp + 0x3c]
fld dword [esp + 0x40]
fmul dword [0x6d3ae8]
fstp dword [esp + 0x40]
fmul dword [0x6d3ae8]
fstp dword [esp + 0x44]
fld dword [esp + 0x60]
fsub dword [esp + 0x78]
fstp dword [esp + 0x30]
fld dword [esp + 0x64]
fsub dword [esp + 0x7c]
fstp dword [esp + 0x34]
fld dword [esp + 0x68]
fsub dword [esp + 0x80]
fstp dword [esp + 0x38]
fld dword [esp + 0x54]
fsub dword [esp + 0x60]
fstp dword [esp + 0x20]
fld dword [esp + 0x58]
fsub dword [esp + 0x64]
fstp dword [esp + 0x24]
fld dword [esp + 0x5c]
fsub dword [esp + 0x68]
fstp dword [esp + 0x28]
fld dword [esp + 0x30]
fmul dword [esp + 0x30]
fld dword [esp + 0x38]
fmul dword [esp + 0x38]
faddp st(1)
fld dword [esp + 0x34]
fmul dword [esp + 0x34]
faddp st(1)
fstp dword [esp]
call fcn.00404020
fcom dword [0x6d035c]
add esp, 4
fnstsw ax
test ah, 0x44
jnp 0x57b599
fdivr dword [0x6d0348]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x30]
fmul st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fmul st(1)
fstp dword [esp + 0x34]
fstp st(0)
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
push ecx
faddp st(1)
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
faddp st(1)
fstp dword [esp]
call fcn.00404020
fcom dword [0x6d035c]
add esp, 4
fnstsw ax
test ah, 0x44
jnp 0x57b5f4
fdivr dword [0x6d0348]
fld dword [esp + 0x1c]
fmul st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fmul st(1)
fstp dword [esp + 0x20]
fmul dword [esp + 0x24]
fstp dword [esp + 0x24]
jmp 0x57b5f6
fstp st(0)
mov ecx, dword [esi + 0x30]
mov edx, dword [esp + 0x38]
mov eax, dword [ecx + 4]
mov dword [eax + 0x40], edx
mov edx, dword [esp + 0x3c]
add eax, 0x10
mov dword [eax + 0x34], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 0x38], edx
mov ebp, dword [eax + 0xc]
and ebp, 0xfffdffff
mov dword [eax + 0xc], ebp
mov eax, dword [ecx + 4]
push eax
call fcn.00404040
add esp, 4
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x2c]
push ecx
mov ecx, dword [esi + 0x30]
push edx
call fcn.00433240
mov ecx, esi
call fcn.005788c0
push fcn.0048ede0
push 5
lea eax, [esp + 0x58]
push 0xc
push eax
mov dword [esp + 0xc4], 0xffffffff
call fcn.006b129c
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa8
ret 4