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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6667c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
fld dword [ebp + 0xc]
fcomp dword [ebp + 0x10]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x5c], ebx
fnstsw ax
test ah, 1
je 0x573591
fld dword [ebp + 0x14]
fcomp dword [ebp + 0x18]
fnstsw ax
test ah, 1
jne 0x5735b6
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push 0x7427d8
mov ecx, esi
call fcn.00499a80
mov eax, esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fld dword [ebp + 0x1c]
fcom dword [0x6b1600]
fnstsw ax
test ah, 0x41
jne 0x5735d9
fsub dword [0x6b1600]
fcom dword [0x6b1600]
fnstsw ax
test ah, 0x41
je 0x5735c6
fcom dword [0x675254]
fnstsw ax
test ah, 1
je 0x5735f9
fadd dword [0x6b1600]
fcom dword [0x675254]
fnstsw ax
test ah, 1
jne 0x5735e6
fld dword [ebp + 0x20]
fcom dword [0x6b1600]
fnstsw ax
test ah, 0x41
jne 0x57361f
fsub dword [0x6b1600]
fcom dword [0x6b1600]
fnstsw ax
test ah, 0x41
je 0x573609
fst dword [ebp + 0x20]
fcom dword [0x675254]
fnstsw ax
test ah, 1
je 0x573642
fadd dword [0x6b1600]
fcom dword [0x675254]
fnstsw ax
test ah, 1
jne 0x57362c
fst dword [ebp + 0x20]
fcom st(1)
fnstsw ax
test ah, 1
je 0x57365b
fstp st(0)
fstp dword [esp + 0x50]
fld dword [ebp + 0x20]
fld dword [esp + 0x50]
fst dword [ebp + 0x20]
fsub st(1)
fcomp dword [0x6b0fd8]
fnstsw ax
test ah, 0x41
je 0x573691
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push 0x7427d8
mov ecx, esi
fstp st(0)
call fcn.00499a80
mov eax, esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fld dword [ebp + 0xc]
fadd dword [ebp + 0x10]
mov dword [esp + 0x34], ebx
fmul dword [0x675260]
fstp dword [esp + 0x28]
fld dword [ebp + 0x14]
fadd dword [ebp + 0x18]
fmul dword [0x675260]
fstp dword [esp + 0x2c]
fld dword [ebp + 0x10]
fsub dword [ebp + 0xc]
fabs
fmul dword [0x675260]
fstp dword [esp + 0x1c]
fld dword [ebp + 0x18]
fsub dword [ebp + 0x14]
fabs
fmul dword [0x675260]
fstp dword [esp + 0x18]
mov edi, 1
mov dword [esp + 0x30], ebx
mov dword [esp + 0x68], edi
fst dword [esp + 0x44]
fld st(0)
fcos
sub esp, 8
lea eax, [esp + 0x3c]
sub esp, 8
mov byte [esp + 0x78], 2
fmul dword [esp + 0x2c]
fst dword [esp + 0x64]
fstp dword [esp + 0x50]
fsin
fmul dword [esp + 0x28]
fst dword [esp + 0x68]
fld dword [ebp + 0x24]
fcos
fstp dword [esp + 0x24]
fld dword [ebp + 0x24]
fsin
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fmul dword [esp + 0x50]
fadd dword [esp + 0x38]
fld dword [esp + 0x20]
fmul st(2)
fsubp st(1)
fstp dword [esp + 0x58]
fld dword [esp + 0x20]
fmul dword [esp + 0x50]
fld dword [esp + 0x24]
fmul st(2)
faddp st(1)
fadd dword [esp + 0x3c]
fstp st(1)
fstp qword [esp + 8]
fld dword [esp + 0x58]
fstp qword [esp]
push 0x723390
push eax
call fcn.0049a7c0
add esp, 0x18
xor esi, esi
mov dword [esp + 0x50], edi
fild dword [esp + 0x50]
fmul dword [0x6b15fc]
fld dword [esp + 0x44]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x5739b4
fld dword [ebp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x5737a9
mov ecx, dword [ebp + 0x20]
mov esi, 1
fstp st(0)
mov dword [esp + 0x40], ecx
jmp 0x5737ad
fstp dword [esp + 0x40]
fld dword [esp + 0x44]
fcos
fmul dword [esp + 0x1c]
fld dword [esp + 0x44]
fsin
fmul dword [esp + 0x18]
fstp dword [esp + 0x48]
fld dword [esp + 0x40]
fcos
fmul dword [esp + 0x1c]
fstp dword [esp + 0x24]
fld dword [esp + 0x40]
fsin
fmul dword [esp + 0x18]
fstp dword [esp + 0x20]
fld st(0)
fmul dword [esp + 0x18]
fmul dword [esp + 0x18]
fld dword [esp + 0x48]
fmul dword [esp + 0x1c]
fmul dword [esp + 0x1c]
fld dword [esp + 0x24]
fmul dword [esp + 0x18]
fmul dword [esp + 0x18]
fstp dword [esp + 0x3c]
fld dword [esp + 0x20]
fmul dword [esp + 0x1c]
fmul dword [esp + 0x1c]
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
fmul dword [esp + 0x1c]
fmul dword [esp + 0x1c]
fchs
fstp dword [esp + 0x38]
fld st(0)
fmul st(3)
fld dword [esp + 0x3c]
fmul st(3)
fsubp st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x38]
fmul st(2)
fld dword [esp + 0x38]
fmul st(2)
fsubp st(1)
fdiv dword [esp + 0x4c]
fstp dword [esp + 0x50]
fstp st(0)
fstp st(0)
fld dword [esp + 0x38]
fmul dword [esp + 0x3c]
fld dword [esp + 0x38]
fmul st(2)
fsubp st(1)
fdiv dword [esp + 0x4c]
fstp dword [esp + 0x4c]
fstp st(0)
fld dword [esp + 0x50]
fsub st(1)
fmul dword [0x6b15f8]
fadd st(1)
fstp dword [esp + 0x3c]
fstp st(0)
fld dword [esp + 0x4c]
fsub dword [esp + 0x48]
fmul dword [0x6b15f8]
fadd dword [esp + 0x48]
fstp dword [esp + 0x48]
fld dword [esp + 0x50]
fsub dword [esp + 0x24]
fmul dword [0x6b15f8]
fadd dword [esp + 0x24]
fstp dword [esp + 0x38]
fld dword [esp + 0x4c]
fsub dword [esp + 0x20]
fmul dword [0x6b15f8]
sub esp, 8
lea edx, [esp + 0x38]
sub esp, 8
fadd dword [esp + 0x30]
sub esp, 8
sub esp, 8
sub esp, 8
fstp dword [esp + 0x78]
fld dword [esp + 0x38]
fmul dword [esp + 0x64]
fld dword [esp + 0x3c]
fmul dword [esp + 0x70]
sub esp, 8
faddp st(1)
fadd dword [esp + 0x5c]
fld dword [esp + 0x44]
fmul dword [esp + 0x6c]
fadd dword [esp + 0x58]
fld dword [esp + 0x40]
fmul dword [esp + 0x78]
fsubp st(1)
fstp dword [esp + 0x6c]
fld dword [esp + 0x40]
fmul dword [esp + 0x68]
fld dword [esp + 0x44]
fmul dword [esp + 0x80]
faddp st(1)
fadd dword [esp + 0x5c]
fld dword [esp + 0x44]
fmul dword [esp + 0x68]
fadd dword [esp + 0x58]
fld dword [esp + 0x40]
fmul dword [esp + 0x80]
fsubp st(1)
fstp dword [esp + 0x68]
fld dword [esp + 0x44]
fmul dword [esp + 0x54]
fadd dword [esp + 0x58]
fld dword [esp + 0x40]
fmul dword [esp + 0x50]
fsubp st(1)
fld dword [esp + 0x44]
fmul dword [esp + 0x50]
fld dword [esp + 0x40]
fmul dword [esp + 0x54]
faddp st(1)
fadd dword [esp + 0x5c]
fstp qword [esp + 0x28]
fstp qword [esp + 0x20]
fstp qword [esp + 0x18]
fld dword [esp + 0x68]
fstp qword [esp + 0x10]
fstp qword [esp + 8]
fld dword [esp + 0x6c]
fstp qword [esp]
push 0x72336c
push edx
call fcn.0049a7c0
add esp, 0x38
lea eax, [esp + 0x30]
lea ecx, [esp + 0x34]
push eax
call fcn.00499d70
cmp esi, ebx
jne 0x5739c4
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x44], ecx
jmp 0x5739b6
fstp st(0)
inc edi
cmp edi, 5
mov dword [esp + 0x50], edi
jl 0x573772
cmp dword [ebp + 0x28], ebx
je 0x573a30
fld dword [esp + 0x54]
fld dword [esp + 0x58]
fld dword [esp + 0x14]
fmul st(2)
sub esp, 8
lea edx, [esp + 0x38]
sub esp, 8
fadd dword [esp + 0x38]
fld dword [esp + 0x20]
fmul st(2)
fsubp st(1)
fstp dword [esp + 0x58]
fld dword [esp + 0x20]
fmulp st(2)
fld dword [esp + 0x24]
fmul st(1)
faddp st(2)
fxch st(1)
fadd dword [esp + 0x3c]
fxch st(1)
fstp st(0)
fstp qword [esp + 8]
fld dword [esp + 0x58]
fstp qword [esp]
push 0x7233a0
push edx
call fcn.0049a7c0
add esp, 0x18
lea eax, [esp + 0x30]
lea ecx, [esp + 0x34]
push eax
call fcn.00499d70
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call fcn.00499b80
lea ecx, [esp + 0x30]
mov dword [esp + 0x5c], 1
mov byte [esp + 0x68], 1
call fcn.00499a60
lea ecx, [esp + 0x34]
mov byte [esp + 0x68], bl
call fcn.00499a60
mov ecx, dword [esp + 0x60]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret