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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6491c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp + 0x2c]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0x38]
push eax
mov eax, dword [ebp + 0x28]
push ecx
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x1c]
sub esp, 0x10
mov esi, dword [ebp + 0x10]
mov ecx, esp
mov dword [esp + 0x3c], edi
mov dword [ecx], edx
mov edx, dword [ebp + 0x20]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x24]
mov dword [ecx + 8], edx
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp + 0x14]
push ecx
push esi
push edx
mov ecx, edi
call fcn.004575d0
test eax, eax
je 0x453258
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x98]
mov ecx, dword [edi + 0x24]
mov ebx, dword [edi + 0x9c]
mov dword [edi + 0x28], eax
mov dword [edi + 0xa0], edx
mov dword [edi + 0x2c], ecx
mov dword [edi + 0xa4], ebx
mov edi, eax
sub edi, ecx
mov dword [esp + 0x24], edi
mov edi, edx
fild dword [esp + 0x24]
sub edi, ebx
cmp eax, ecx
mov dword [esp + 0x24], edi
fabs
fst qword [esp + 0x54]
fild dword [esp + 0x24]
fabs
fst qword [esp + 0x4c]
jle 0x452ea4
cmp edx, ebx
jle 0x452e35
mov dword [esp + 0x14], ecx
add ecx, ecx
sub ecx, eax
mov eax, dword [ebp + 0x18]
mov edi, edx
cmp ecx, eax
mov dword [esp + 0x10], edi
jle 0x452de9
mov eax, ecx
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov dword [ebx + 0x28], eax
sub eax, edx
mov ecx, eax
imul ecx, eax
mov dword [esp + 0x24], ecx
fild dword [esp + 0x24]
fld st(2)
fmul st(3)
fdivp st(1)
fsubr qword [0x662e00]
fmul st(1)
fmul st(1)
fsqrt
call fcn.00645030
sub edi, eax
mov dword [esp + 0x18], 0xb4
fstp st(0)
mov dword [ebx + 0xa0], edi
xor edi, edi
fstp st(0)
jmp 0x452f81
cmp eax, ecx
jle 0x452ea4
cmp edx, ebx
jge 0x452ea2
mov edi, eax
lea eax, [ebx + ebx]
sub eax, edx
mov edx, dword [ebp + 0x24]
mov ecx, ebx
cmp eax, edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ecx
jl 0x452e57
mov eax, edx
mov ebx, dword [esp + 0x1c]
mov dword [ebx + 0xa0], eax
sub eax, ecx
mov edx, eax
imul edx, eax
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
fld st(1)
fmul st(2)
fdivp st(1)
fsubr qword [0x662e00]
fmul st(2)
fmul st(2)
fsqrt
call fcn.00645030
sub edi, eax
mov dword [esp + 0x18], 0x10e
fstp st(0)
mov dword [ebx + 0x28], edi
mov edi, 0x5a
fstp st(0)
jmp 0x452f81
cmp eax, ecx
jge 0x453254
cmp edx, ebx
jle 0x452f10
mov edi, eax
lea eax, [ebx + ebx]
sub eax, edx
mov edx, dword [ebp + 0x1c]
mov ecx, ebx
cmp eax, edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ecx
jg 0x452ec8
mov eax, edx
mov ebx, dword [esp + 0x1c]
mov dword [ebx + 0xa0], eax
sub eax, ecx
mov ecx, eax
imul ecx, eax
mov dword [esp + 0x24], ecx
fild dword [esp + 0x24]
fld st(1)
fmul st(2)
fdivp st(1)
fsubr qword [0x662e00]
fmul st(2)
fmul st(2)
fsqrt
call fcn.00645030
fstp st(0)
add eax, edi
mov edi, 0x10e
fstp st(0)
mov dword [ebx + 0x28], eax
mov dword [esp + 0x18], 0x1c2
jmp 0x452f81
cmp eax, ecx
jge 0x453254
cmp edx, ebx
jge 0x453254
mov ebx, ecx
add ecx, ecx
sub ecx, eax
mov eax, dword [ebp + 0x20]
cmp ecx, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edx
jge 0x452f37
mov eax, ecx
mov edi, dword [esp + 0x1c]
mov dword [edi + 0x28], eax
sub eax, ebx
mov edx, eax
imul edx, eax
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
fld st(2)
fmul st(3)
fdivp st(1)
fsubr qword [0x662e00]
fmul st(1)
fmul st(1)
fsqrt
call fcn.00645030
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], 0x168
add eax, ecx
fstp st(0)
mov dword [edi + 0xa0], eax
mov edi, 0xb4
fstp st(0)
mov ebx, dword [ebp + 0xc]
mov ecx, dword [0x73a97c]
xor eax, eax
mov edx, 1
mov ebx, dword [ebx + 0x7d]
mov dword [esp + 0x20], 0xd
dec ebx
jne 0x452fbc
mov ebx, dword [ebp + 0xc]
cmp dword [ebp + 0x30], 0
mov eax, dword [ebx + 0x85]
mov ecx, dword [ebx + 0x89]
jne 0x452fc3
mov edx, dword [ebx + 0x81]
jmp 0x452fcb
mov ebx, dword [ebp + 0x30]
test ebx, ebx
je 0x452fcb
mov dword [esp + 0x20], 7
push ecx
push edx
push eax
lea ecx, [esp + 0x74]
call fcn.00644086
mov eax, dword [esp + 0x20]
mov ebx, dword [ebp + 8]
push eax
mov ecx, ebx
mov dword [esp + 0x7c], 0
call fcn.0064442e
lea ecx, [esp + 0x68]
mov dword [esp + 0x30], eax
push ecx
mov ecx, ebx
call fcn.0064407a
mov edx, dword [esi]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x34], edx
mov ebx, edx
mov ecx, eax
mov dword [esp + 0x38], eax
mov edx, eax
mov dword [esp + 0x48], ecx
mov eax, ebx
push edx
lea ecx, [ebp + 0x18]
push eax
push ecx
call dword [fcn.0065f520]
mov esi, eax
mov eax, dword [esp + 0x18]
cmp edi, eax
mov dword [esp + 0x20], edi
jg 0x45312d
fild dword [esp + 0x10]
fstp qword [esp + 0x5c]
fild dword [esp + 0x14]
fstp qword [esp + 0x3c]
fild dword [esp + 0x20]
fmul qword [0x666198]
fld st(0)
fsin
fmul qword [esp + 0x4c]
fsubr qword [esp + 0x5c]
call fcn.00645030
fcos
mov edi, eax
fmul qword [esp + 0x54]
fadd qword [esp + 0x3c]
call fcn.00645030
push edi
lea edx, [ebp + 0x18]
push eax
push edx
mov dword [esp + 0x30], eax
call dword [fcn.0065f520]
test eax, eax
mov dword [esp + 0x28], eax
je 0x45309f
test esi, esi
jne 0x45310e
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ecx
jmp 0x45310e
test esi, esi
je 0x45310e
cmp ebx, dword [esp + 0x34]
jne 0x4530b5
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x38]
cmp edx, ecx
je 0x45310e
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x38]
fld qword [esp + 0x5c]
fadd qword [esp + 0x4c]
mov edx, dword [esp + 0x34]
push eax
push ebx
push ecx
push edx
call fcn.00645030
fld qword [esp + 0x4c]
fadd qword [esp + 0x64]
push eax
call fcn.00645030
fld qword [esp + 0x70]
fsub qword [esp + 0x60]
push eax
call fcn.00645030
fld qword [esp + 0x54]
fsub qword [esp + 0x6c]
push eax
call fcn.00645030
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [0x65e148]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
mov esi, eax
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x48], edi
cmp eax, ecx
mov dword [esp + 0x20], eax
jle 0x453049
test esi, esi
je 0x45319e
mov eax, dword [esp + 0x34]
cmp ebx, eax
jne 0x453145
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x38]
cmp edx, ecx
je 0x45319e
fild dword [esp + 0x10]
fild dword [esp + 0x14]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
push ecx
push ebx
fstp qword [esp + 0x44]
push edx
push eax
fld st(0)
fadd qword [esp + 0x5c]
call fcn.00645030
fld qword [esp + 0x4c]
fadd qword [esp + 0x64]
push eax
call fcn.00645030
fsub qword [esp + 0x60]
push eax
call fcn.00645030
fld qword [esp + 0x54]
fsub qword [esp + 0x6c]
push eax
call fcn.00645030
mov esi, dword [ebp + 8]
push eax
mov eax, dword [esi + 4]
push eax
call dword [0x65e148]
jmp 0x4531a1
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.0064407a
mov edx, dword [esp + 0x30]
mov ecx, esi
push edx
call fcn.0064442e
mov eax, dword [ebp + 0x34]
test eax, eax
je 0x453222
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
sub esp, 0x10
mov edi, dword [esp + 0x2c]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x20]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x24]
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x20]
mov dword [eax + 0xc], edx
mov eax, dword [edi + 0x98]
push eax
push ecx
push esi
mov ecx, edi
call fcn.00457d60
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [ebp + 0x20]
mov dword [edx + 4], ecx
mov ecx, dword [ebp + 0x24]
mov dword [edx + 8], eax
mov eax, dword [edi + 0x24]
mov dword [edx + 0xc], ecx
mov edx, dword [edi + 0x9c]
push edx
push eax
push esi
mov ecx, edi
call fcn.00457d60
mov dword [esp + 0x68], 0x661578
lea ecx, [esp + 0x68]
mov dword [esp + 0x78], 1
call fcn.0064406e
mov eax, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x38
fstp st(0)
fstp st(0)
mov ecx, dword [esp + 0x70]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x38