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

Disassembly:
push 0xffffffffffffffff
push 0x510746
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
push 0x368
call fcn.004fd765
add esp, 4
mov dword [esp + 0x18], eax
xor edi, edi
cmp eax, edi
mov dword [esp + 0x64], edi
je 0x4537b6
mov ecx, eax
call fcn.0046e3d0
mov esi, eax
mov dword [esp + 0x10], esi
jmp 0x4537bc
mov dword [esp + 0x10], edi
mov esi, edi
mov eax, dword [0x55b9cc]
mov ecx, dword [eax + 0xcb0]
push edi
push esi
mov dword [esp + 0x6c], 0xffffffff
call fcn.00486190
fild dword [esp + 0x70]
sub esp, 8
mov eax, esp
fdivr qword [esp + 0x88]
mov dword [esp + 0x20], esp
sub esp, 8
mov dword [esp + 0x90], esp
mov ecx, esi
fst qword [eax]
mov eax, esp
fstp qword [eax]
sub esp, 8
mov eax, esp
mov dword [esp + 0x98], esp
mov dword [eax], edi
mov dword [eax + 4], edi
call fcn.0046e4d0
mov ecx, esi
call fcn.004ab460
mov ecx, dword [0x55cd0c]
mov ecx, dword [ecx + 0x868]
mov eax, dword [ecx + 0x3c]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x80], eax
mov eax, dword [ecx + 0x38]
fild dword [esp + 0x80]
cdq
sub eax, edx
sar eax, 1
fstp dword [esp + 0x80]
mov dword [esp + 0x14], eax
fld dword [0x524248]
mov eax, dword [esp + 0x70]
cmp eax, edi
fsub dword [esp + 0x80]
fild dword [esp + 0x14]
fst dword [esp + 0x14]
fadd dword [0x51f94c]
fld dword [esp + 0x80]
fadd dword [0x51f94c]
fld dword [0x524248]
fsub dword [esp + 0x14]
fstp dword [esp + 0x4c]
fstp dword [esp + 0x50]
fstp dword [esp + 0x54]
fstp dword [esp + 0x58]
jle 0x453b75
fld dword [esp + 0x74]
mov dword [esp + 0x80], eax
fadd dword [0x51f768]
fld st(0)
fsin
fstp dword [esp + 0x14]
fcos
fstp dword [esp + 0x34]
fld dword [esp + 0x7c]
fsub dword [esp + 0x78]
fstp dword [esp + 0x18]
jmp 0x4538d0
mov edx, dword [0x55b9cc]
mov ecx, dword [edx + 0xcb0]
push 0x3f800000
add ecx, 0x268
xor ebp, ebp
call fcn.00483eb0
fcom qword [0x528588]
fnstsw ax
test ah, 0x41
jne 0x453900
mov ebp, 1
fcomp qword [0x52b5b0]
fnstsw ax
test ah, 0x41
jne 0x453912
mov ebp, 2
mov eax, dword [0x55b9cc]
mov ecx, dword [eax + 0xcb0]
add ecx, 0x268
push 0x40000000
call fcn.00483eb0
fmul dword [0x51fd88]
fsub dword [0x51fd88]
fld dword [0x5448bc]
fmul st(1)
fld dword [esp + 0x14]
fmul st(2)
fstp dword [esp + 0x7c]
mov ecx, dword [esp + 0x7c]
fld dword [esp + 0x34]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x2c]
fmul st(2)
mov dword [esp + 0x20], edx
fstp dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
mov ebx, ecx
fstp dword [esp + 0x30]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x24], esi
fstp st(0)
fld dword [esp + 0x28]
fcomp dword [esp + 0x4c]
fnstsw ax
test ah, 1
jne 0x453a0d
fld dword [esp + 0x28]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 5
jp 0x453a0d
fld dword [esp + 0x7c]
fcomp dword [esp + 0x50]
fnstsw ax
test ah, 0x41
jp 0x453a0d
fld dword [esp + 0x7c]
fcomp dword [esp + 0x58]
fnstsw ax
test ah, 0x41
jne 0x453a0d
fld dword [esp + 0x74]
lea eax, [esp + 0x4c]
fadd dword [0x51fb04]
push eax
sub esp, 0x10
mov eax, esp
fstp dword [esp + 0xc]
mov dword [eax], ecx
lea ecx, [esp + 0x54]
mov dword [eax + 4], edx
push ecx
mov ecx, dword [0x55b9cc]
mov dword [eax + 8], esi
call fcn.004651d0
fld dword [esp + 0x28]
fadd dword [eax]
fstp dword [esp + 0x1c]
mov ebx, dword [esp + 0x1c]
fld dword [esp + 0x20]
fadd dword [eax + 4]
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fadd dword [eax + 8]
fstp dword [esp + 0x24]
xor edi, edi
mov eax, ebp
sub eax, edi
mov dword [esp + 0x70], 0
je 0x453a74
dec eax
je 0x453a4c
dec eax
jne 0x453a96
mov edx, dword [0x55b9cc]
mov ecx, dword [edx + 0xcb0]
add ecx, 0x268
push 0x3f000000
call fcn.00483eb0
fadd dword [0x51f66c]
mov edi, 2
jmp 0x453a92
mov eax, dword [0x55b9cc]
mov ecx, dword [eax + 0xcb0]
add ecx, 0x268
push 0x3f000000
call fcn.00483eb0
fadd dword [0x51f8dc]
mov edi, 1
jmp 0x453a92
mov ecx, dword [0x55b9cc]
mov ecx, dword [ecx + 0xcb0]
add ecx, 0x268
push 0x3f000000
call fcn.00483eb0
xor edi, edi
fstp dword [esp + 0x70]
push 0x358
call fcn.004fd765
add esp, 4
mov dword [esp + 0x7c], eax
test eax, eax
mov dword [esp + 0x64], 1
je 0x453abe
mov ecx, eax
call fcn.004022e0
mov esi, eax
jmp 0x453ac0
xor esi, esi
mov edx, dword [0x55b9cc]
mov ecx, dword [edx + 0xcb0]
push 0
push esi
mov dword [esp + 0x6c], 0xffffffff
call fcn.00486190
fld dword [esp + 0x18]
fmul dword [esp + 0x70]
mov edx, dword [esp + 0x20]
push ecx
mov eax, esp
fadd dword [esp + 0x7c]
mov dword [eax], edi
mov dword [esp + 0x80], esp
push ecx
mov ecx, dword [esp + 0x7c]
mov eax, esp
mov dword [eax], ecx
mov dword [esp + 0x84], esp
push ecx
mov ecx, dword [esp + 0x30]
mov eax, esp
fstp dword [eax]
mov dword [esp + 0x88], esp
sub esp, 0xc
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x94], esp
push ecx
mov dword [eax + 8], ecx
mov eax, esp
mov ecx, esi
mov dword [esp + 0x98], esp
mov dword [eax], edx
call fcn.00402530
mov ecx, esi
call fcn.004ab460
push ecx
mov ecx, dword [esp + 0x14]
mov eax, esp
mov dword [esp + 0x80], esp
mov dword [eax], esi
call fcn.0046e8c0
dec dword [esp + 0x80]
jne 0x4538d0
mov eax, dword [esp + 0x10]
jmp 0x453b77
mov eax, esi
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x58
ret 0x1c