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

Disassembly:
sub esp, 0x44
fld qword [esp + 0x64]
push ebp
fsin
mov ebp, dword [esp + 0x4c]
push esi
mov esi, dword [esp + 0x68]
push edi
mov edi, dword [esp + 0x68]
fild dword [esp + 0x68]
fld qword [esp + 0x70]
fcos
fild dword [esp + 0x6c]
fld st(0)
fmul st(2)
fld st(3)
fmul st(5)
faddp st(1)
fmul qword [esp + 0x78]
call fcn.004c2ba0
fld st(1)
mov edx, dword [esp + 0x5c]
fmul st(3)
fxch st(1)
sub esi, eax
fmul st(4)
add edx, esi
mov dword [esp + 0x5c], edx
fsubp st(1)
fmul qword [esp + 0x78]
call fcn.004c2ba0
fmul qword [esp + 0x78]
fstp dword [esp + 0x14]
sub edi, eax
mov eax, dword [esp + 0x60]
fstp st(0)
add eax, edi
fmul qword [esp + 0x78]
mov dword [esp + 0x60], eax
mov eax, dword [ebx]
fstp dword [esp + 0x10]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [ebx]
mov dword [esp + 0x68], eax
fild dword [esp + 0x68]
mov ecx, ebx
fstp dword [esp + 0x34]
call dword [edx + 0x1c]
mov dword [esp + 0x68], eax
fild dword [esp + 0x68]
mov eax, dword [ebx]
mov ecx, ebx
fstp dword [esp + 0x38]
call dword [eax + 0x24]
mov edx, dword [ebx]
mov dword [esp + 0x68], eax
fild dword [esp + 0x68]
mov ecx, ebx
fstp dword [esp + 0x48]
call dword [edx + 0x24]
mov dword [esp + 0x68], eax
fild dword [esp + 0x68]
mov dword [esp + 0x68], 0x4f000000
fld dword [esp + 0x10]
mov dword [esp + 0x54], 0xcf000000
fmul dword [0x52cadc]
mov dword [esp + 0x6c], 0x4f000000
mov dword [esp + 0xc], 0xcf000000
fstp dword [esp + 0x1c]
fld dword [esp + 0x14]
fmul dword [0x52cadc]
fstp dword [esp + 0x24]
fild dword [esp + 0x5c]
fstp dword [esp + 0x18]
fld dword [esp + 0x24]
fadd dword [esp + 0x1c]
fadd dword [esp + 0x18]
mov eax, dword [esp + 0x24]
fild dword [esp + 0x60]
mov dword [esp + 0x28], eax
fstp dword [esp + 0x20]
fld dword [esp + 0x28]
fsub dword [esp + 0x1c]
fadd dword [esp + 0x20]
fstp dword [esp + 0x40]
fcom dword [0x52cb44]
fnstsw ax
test ah, 5
jp 0x449aaf
fst dword [esp + 0x68]
fcom dword [0x52cb40]
fnstsw ax
test ah, 0x41
jne 0x449ac2
fstp dword [esp + 0x54]
jmp 0x449ac4
fstp st(0)
fld dword [esp + 0x40]
fcomp dword [0x52cb44]
fnstsw ax
test ah, 5
jp 0x449add
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x6c], ecx
fld dword [esp + 0x40]
fcomp dword [0x52cb40]
fnstsw ax
test ah, 0x41
jne 0x449af6
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], edx
fld dword [esp + 0x34]
fld dword [esp + 0x14]
fmul st(1)
fadd dword [esp + 0x1c]
fadd dword [esp + 0x18]
fstp dword [esp + 0x34]
fmul dword [esp + 0x10]
fsubr dword [esp + 0x28]
fadd dword [esp + 0x20]
fld dword [esp + 0x34]
fcomp dword [esp + 0x68]
fnstsw ax
test ah, 5
jp 0x449b2f
mov eax, dword [esp + 0x34]
mov dword [esp + 0x68], eax
fld dword [esp + 0x34]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x41
jne 0x449b46
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x54], ecx
fcom dword [esp + 0x6c]
fnstsw ax
test ah, 5
jp 0x449b55
fst dword [esp + 0x6c]
fcom dword [esp + 0xc]
fnstsw ax
test ah, 0x41
jne 0x449b66
fstp dword [esp + 0xc]
jmp 0x449b68
fstp st(0)
fld dword [esp + 0x38]
fld dword [esp + 0x48]
fld dword [esp + 0x10]
fmul st(1)
fld st(2)
fmul dword [esp + 0x14]
faddp st(1)
fadd dword [esp + 0x18]
fstp dword [esp + 0x38]
fmul dword [esp + 0x14]
fxch st(1)
fmul dword [esp + 0x10]
fsubp st(1)
fadd dword [esp + 0x20]
fld dword [esp + 0x38]
fcomp dword [esp + 0x68]
fnstsw ax
test ah, 5
jp 0x449bad
mov edx, dword [esp + 0x38]
mov dword [esp + 0x68], edx
fld dword [esp + 0x38]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x41
jne 0x449bc4
mov eax, dword [esp + 0x38]
mov dword [esp + 0x54], eax
fcom dword [esp + 0x6c]
fnstsw ax
test ah, 5
jp 0x449bd3
fst dword [esp + 0x6c]
fcom dword [esp + 0xc]
fnstsw ax
test ah, 0x41
jne 0x449be4
fstp dword [esp + 0xc]
jmp 0x449be6
fstp st(0)
fld dword [esp + 0x10]
fmul st(1)
fadd dword [esp + 0x24]
fadd dword [esp + 0x18]
fstp dword [esp + 0x3c]
fmul dword [esp + 0x14]
fsub dword [esp + 0x1c]
fadd dword [esp + 0x20]
fld dword [esp + 0x3c]
fcomp dword [esp + 0x68]
fnstsw ax
test ah, 5
jp 0x449c1b
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x68], ecx
fld dword [esp + 0x3c]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x41
jne 0x449c32
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x54], edx
fcom dword [esp + 0x6c]
fnstsw ax
test ah, 5
jp 0x449c41
fst dword [esp + 0x6c]
fcom dword [esp + 0xc]
fnstsw ax
test ah, 0x41
jne 0x449c52
fstp dword [esp + 0xc]
jmp 0x449c54
fstp st(0)
fld qword [0x52caf8]
mov eax, dword [ebx]
fdiv qword [esp + 0x78]
mov ecx, ebx
fstp qword [esp + 0x78]
call dword [eax + 0x24]
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x1c]
fld dword [esp + 0x68]
call fcn.004c2ba0
fld dword [esp + 0x6c]
mov edi, eax
call fcn.004c2ba0
fld dword [esp + 0x54]
fsub dword [esp + 0x68]
mov dword [esp + 0x34], eax
call fcn.004c2ba0
fld dword [esp + 0xc]
fsub dword [esp + 0x6c]
mov dword [esp + 0x38], eax
call fcn.004c2ba0
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx]
cmp edi, eax
jle 0x449cbc
mov esi, edi
mov dword [esp + 0x54], esi
jmp 0x449cc2
mov dword [esp + 0x54], eax
mov esi, eax
mov edx, dword [ecx + 4]
cmp dword [esp + 0x34], edx
mov dword [esp + 0x68], edx
jle 0x449cd9
mov edx, dword [esp + 0x34]
mov dword [esp + 0x24], edx
jmp 0x449cdd
mov dword [esp + 0x24], edx
mov ecx, dword [ecx + 8]
add eax, ecx
mov ecx, dword [esp + 0x38]
add ecx, edi
cmp ecx, eax
jl 0x449cee
mov ecx, eax
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0xc]
mov edi, dword [esp + 0x68]
add eax, edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x3c]
add eax, edi
mov edi, dword [esp + 0x68]
cmp eax, edi
jl 0x449d13
mov eax, edi
sub ecx, esi
sub eax, edx
push edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov eax, dword [ebp]
push esi
mov ecx, ebp
call dword [eax + 0x34]
mov edx, dword [ebp]
mov esi, eax
mov ecx, ebp
mov dword [esp + 0x68], esi
call dword [edx + 0x2c]
mov edx, dword [esp + 0x48]
mov edi, eax
mov eax, dword [ebp]
shr edi, 1
mov ecx, ebp
sub edi, edx
call dword [eax + 0x1c]
mov edx, dword [ebp]
mov ecx, ebp
sub edi, eax
call dword [edx + 0x1c]
fld qword [esp + 0x70]
fchs
add edi, eax
fld st(0)
mov dword [esp + 0x2c], edi
fsin
fmul qword [esp + 0x78]
fmul qword [0x52cb48]
call fcn.004c2ba0
fcos
mov dword [esp + 0x6c], eax
fmul qword [esp + 0x78]
fmul qword [0x52cb48]
call fcn.004c2ba0
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x24]
mov edi, eax
mov eax, dword [esp + 0x5c]
sub eax, ecx
mov ecx, dword [esp + 0x60]
sub ecx, edx
mov edx, eax
imul eax, dword [esp + 0x6c]
imul edx, edi
mov dword [esp + 0x58], edi
mov edi, ecx
imul ecx, dword [esp + 0x58]
imul edi, dword [esp + 0x6c]
mov dword [esp + 0x5c], edx
sub eax, ecx
add edx, edi
neg edx
mov dword [esp + 0x60], eax
mov eax, dword [ebx]
mov ecx, ebx
mov dword [esp + 0x5c], edx
call dword [eax + 0x40]
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x40]
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x48]
mov edx, dword [ebx]
mov edi, eax
mov ecx, ebx
mov dword [esp + 0x54], edi
call dword [edx + 0x48]
mov edx, dword [esp + 0x64]
and edx, 0xff
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 0x54]
mov dword [esp + 0x64], edx
mov edx, dword [ebx]
mov dword [esp + 0x14], eax
mov ecx, ebx
call dword [edx + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x4c]
test eax, eax
jle 0x449f9b
mov dword [esp + 0x20], eax
lea esp, [esp]
mov eax, dword [esp + 0x48]
test eax, eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x28], edx
jle 0x449f66
mov dword [esp + 0x24], eax
mov eax, edx
sar ecx, 0x14
sar eax, 0x14
test ecx, ecx
jl 0x449f36
mov edx, dword [esp + 0x1c]
cmp ecx, edx
jge 0x449f36
test eax, eax
jl 0x449f36
cmp eax, dword [esp + 0x18]
jge 0x449f36
imul eax, edx
add eax, ecx
mov ecx, dword [esp + 0x14]
movzx edx, byte [eax + ecx]
imul edx, dword [esp + 0x64]
sar edx, 8
test edx, edx
je 0x449f36
cmp edx, 0xff
je 0x449f2a
mov ecx, dword [esp + 0x78]
mov ax, word [ecx + eax*2]
movzx ecx, word [edi + esi*2]
mov esi, ecx
mov edi, ecx
and ecx, 0x1f
mov dword [esp + 0x10], ecx
movzx ecx, ax
and edi, 0x7e0
mov eax, ecx
and eax, 0x7e0
sub eax, edi
imul eax, edx
sar eax, 8
add eax, edi
mov edi, ecx
and edi, 0xf800
and esi, 0xf800
sub edi, esi
imul edi, edx
sar edi, 8
add edi, esi
and eax, 0x7e0
and edi, 0xf800
or eax, edi
and ecx, 0x1f
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x10]
sub ecx, eax
imul ecx, edx
mov edx, dword [esp + 0x54]
sar ecx, 8
add ecx, eax
mov eax, dword [esp + 0xc]
or eax, ecx
mov ecx, dword [esp + 0x68]
mov word [edx + ecx*2], ax
mov edi, edx
mov esi, ecx
jmp 0x449f36
mov edx, dword [esp + 0x78]
mov ax, word [edx + eax*2]
mov word [edi + esi*2], ax
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x6c]
add ecx, edx
mov edx, dword [esp + 0x28]
sub edx, eax
mov eax, dword [esp + 0x24]
inc esi
dec eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x70], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
jne 0x449e50
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x2c]
add edx, ecx
mov ecx, dword [esp + 0x60]
add esi, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x58]
add ecx, edx
dec eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x60], ecx
mov dword [esp + 0x20], eax
jne 0x449e30
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x44]
mov edx, dword [ebp]
mov ecx, ebp
pop edi
pop esi
pop ebp
add esp, 0x44
jmp dword [edx + 0x44]