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

Disassembly:
sub esp, 0x174
mov eax, dword [0x9d2c30]
xorps xmm0, xmm0
imul eax, eax, 0x4d0
movss xmm1, dword [0x6f99f4]
push ebx
push ebp
movss dword [esp + 0x74], xmm1
movss xmm1, dword [0x6cc5ec]
add eax, 0x9cdf70
push esi
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x74], xmm0
movss dword [esp + 0x98], xmm0
movss dword [esp + 0x9c], xmm1
movss dword [esp + 0xa0], xmm0
movss dword [esp + 0xa4], xmm0
movss dword [esp + 0xa8], xmm0
movss dword [esp + 0xac], xmm1
movss xmm1, dword [eax + 8]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [eax + 0x28]
lea eax, [esp + 0x8c]
push edi
push eax
mov ecx, eax
push ecx
movss dword [esp + 0x98], xmm1
movss dword [esp + 0xa0], xmm0
call fcn.00402020
movss xmm0, dword [0x6f99f8]
subss xmm0, dword [esp + 0xa0]
movss xmm1, dword [0x6cc5ec]
xor ebp, ebp
add esp, 8
cmp dword [0xa37840], ebp
movss dword [esp + 0xa8], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x15c], xmm0
movss dword [esp + 0x16c], xmm0
movss dword [esp + 0x160], xmm1
movss dword [esp + 0x170], xmm0
movss dword [esp + 0x164], xmm0
movss dword [esp + 0x174], xmm1
movss dword [esp + 0x168], xmm1
movss dword [esp + 0x178], xmm1
movss dword [esp + 0x17c], xmm0
mov dword [0xa369f0], ebp
mov dword [0xa36a1c], ebp
jbe 0x673c19
mov edi, 0xa36a64
mov eax, dword [edi]
test eax, eax
je 0x67339d
lea ecx, [eax + 0x54]
lea eax, [esp + 0x68]
lea edx, [edi - 0x24]
push eax
call fcn.00404e50
add esp, 4
jmp 0x6733b2
mov ecx, dword [edi - 0x24]
mov edx, dword [edi - 0x20]
mov eax, dword [edi - 0x1c]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], eax
fld dword [0x6d54d4]
push ecx
lea esi, [esp + 0x6c]
fstp dword [esp]
call fcn.00673160
fld dword [edi - 8]
fld qword [0x6f99e0]
movss xmm2, dword [0x6f99f8]
fmul st(1), st(0)
mov ecx, dword [esp + 0x6c]
fxch st(1)
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
fstp dword [esp + 0x14]
movaps xmm0, xmm2
fld dword [esp + 0x14]
add esp, 4
cmp dword [edi - 0xc], 0
fld qword [0x6f9ae8]
fmul st(1), st(0)
mov dword [esp + 0x120], ecx
fxch st(1)
mov dword [esp + 0x124], edx
mov dword [esp + 0x128], eax
fstp dword [esp + 0x14]
fld dword [edi - 4]
movss xmm1, dword [esp + 0x14]
fmulp st(2)
subss xmm0, xmm1
fxch st(1)
movss dword [esp + 0x12c], xmm0
movss dword [esp + 0x13c], xmm0
fstp dword [esp + 0x10]
movaps xmm0, xmm2
fmul dword [esp + 0x10]
movss dword [esp + 0x144], xmm1
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
subss xmm0, dword [esp + 0x10]
fst dword [esp + 0x130]
movss dword [esp + 0x140], xmm0
fld dword [esp + 0x14]
movss dword [esp + 0x148], xmm0
fstp dword [esp + 0x134]
fstp dword [esp + 0x138]
je 0x6735c0
mov esi, dword [edi]
lea ebx, [esi + 0x54]
push ebx
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x58]
push edx
call fcn.00404dc0
lea eax, [esp + 0x5c]
add esp, 0xc
push eax
mov ecx, eax
push ecx
call fcn.00402020
fld dword [esp + 0x70]
mov eax, dword [0x9d2c30]
movss xmm0, dword [0x6f99f8]
imul eax, eax, 0x4d0
add eax, 0x9cdfe0
movaps xmm1, xmm0
subss xmm1, dword [ebx]
fsub dword [eax]
movss dword [edi - 0x18], xmm1
lea edx, [esp + 0x8c]
movaps xmm1, xmm0
subss xmm1, dword [esi + 0x64]
fstp dword [esp + 0x8c]
fld dword [esp + 0x74]
push edx
fsub dword [eax + 4]
movss dword [edi - 0x14], xmm1
subss xmm0, dword [esi + 0x74]
movss dword [edi - 0x10], xmm0
fstp dword [esp + 0x94]
fld dword [esp + 0x7c]
fsub dword [eax + 8]
mov eax, edx
push eax
fstp dword [esp + 0x9c]
call fcn.00402020
fld dword [esp + 0x60]
add esp, 0x10
fchs
fstp dword [esp + 0x50]
fld dword [esp + 0x54]
fchs
fstp dword [esp + 0x54]
fld dword [esp + 0x58]
fchs
fstp dword [esp + 0x58]
fld dword [esp + 0x88]
fmul dword [esp + 0x54]
fld dword [esp + 0x84]
fmul dword [esp + 0x50]
faddp st(1)
fld dword [esp + 0x8c]
fmul dword [esp + 0x58]
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fldz
fsubrp st(1)
fstp dword [esp + 0x14]
fldz
fld dword [esp + 0x14]
fcompi st(1)
fstp st(0)
jb 0x673597
xorps xmm0, xmm0
movss dword [esp + 0x4c], xmm0
jmp 0x6735b6
movss xmm0, dword [esp + 0x10]
movss xmm1, dword [0x6cc5ec]
comiss xmm0, xmm1
movss dword [esp + 0x4c], xmm0
jbe 0x6735b6
movss dword [esp + 0x4c], xmm1
fld dword [edi + 0xc]
fmul dword [esp + 0x4c]
fstp dword [edi + 0xc]
movss xmm0, dword [edi + 0xc]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
movzx ecx, byte [edi + 8]
mov dword [esp + 0x10], ecx
or eax, 0xc00
movss dword [esp + 0x48], xmm0
fld dword [esp + 0x48]
fld st(0)
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
movzx eax, byte [edi + 9]
fmulp st(1)
fldcw word [esp + 0x10]
fistp dword [esp + 0x10]
movzx edx, byte [esp + 0x10]
mov dword [esp + 0x10], eax
movzx ecx, dl
fldcw word [esp + 0x14]
or ecx, 0xffffff00
shl ecx, 8
fnstcw word [esp + 0x14]
fld st(0)
fild dword [esp + 0x10]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x10], eax
fmulp st(1)
fldcw word [esp + 0x10]
fistp dword [esp + 0x10]
movzx edx, byte [esp + 0x10]
movzx eax, dl
fldcw word [esp + 0x14]
movzx edx, byte [edi + 0xa]
or ecx, eax
mov dword [esp + 0x10], edx
shl ecx, 8
fild dword [esp + 0x10]
fnstcw word [esp + 0x14]
fmulp st(1)
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x10], eax
fldcw word [esp + 0x10]
fistp dword [esp + 0x10]
mov al, byte [esp + 0x10]
movzx edx, al
or ecx, edx
comiss xmm0, dword [0x6e5b14]
fldcw word [esp + 0x14]
mov dword [esp + 0x14c], ecx
mov dword [esp + 0x150], ecx
mov dword [esp + 0x154], ecx
mov dword [esp + 0x158], ecx
jbe 0x673c07
mov eax, dword [edi + 4]
push eax
push 0xa369e8
lea eax, [esp + 0x128]
call fcn.00424ad0
cmp dword [edi + 0x10], 0
je 0x673c07
fldz
fld st(0)
fld qword [0x6f9fd8]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [esp + 0x18]
fstp dword [esp + 0x20]
fld dword [esp + 0x120]
fsub dword [esp + 0x18]
fstp dword [esp + 0x18]
fsubr dword [esp + 0x124]
fstp dword [esp + 0x1c]
fld dword [esp + 0x128]
fsub dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0x9c]
fld qword [0x6fa680]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x5c]
fld dword [esp + 0xa0]
fmul st(1)
fstp dword [esp + 0x60]
fmul dword [esp + 0xa4]
fstp dword [esp + 0x64]
fld dword [esp + 0x12c]
fmul qword [0x6fa318]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld st(0)
fmul dword [esp + 0xa8]
fstp dword [esp + 0xb4]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0xb8]
fmul dword [esp + 0x90]
fstp dword [esp + 0xbc]
fld dword [esp + 0x18]
fld st(0)
fsub dword [esp + 0x5c]
fstp dword [esp + 0x30]
fld dword [esp + 0x1c]
fld st(0)
fsub dword [esp + 0x60]
fstp dword [esp + 0x34]
fld dword [esp + 0x20]
fld st(0)
fsub dword [esp + 0x64]
fstp dword [esp + 0x38]
fld dword [esp + 0xb4]
fld st(0)
fadd st(4)
fstp dword [esp + 0x24]
fld dword [esp + 0xb8]
fld st(0)
fadd st(4)
fstp dword [esp + 0x28]
fld dword [esp + 0xbc]
fld st(0)
fadd st(4)
fstp dword [esp + 0x2c]
fld st(2)
fsubp st(6)
fxch st(5)
fstp dword [esp + 0x18]
fld st(0)
fsubp st(4)
fxch st(3)
fstp dword [esp + 0x1c]
fld st(3)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x20]
fld st(0)
fld dword [esp + 0x30]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x3c]
movzx ecx, byte [edi + 8]
fld st(2)
movss xmm0, dword [esp + 0x18]
fld dword [esp + 0x34]
mov dword [esp + 0x10], ecx
fld st(0)
movss dword [esp + 0xc0], xmm0
faddp st(2)
movss xmm0, dword [esp + 0x1c]
fxch st(1)
xor ecx, ecx
fnstcw word [esp + 0x14]
movss dword [esp + 0xc4], xmm0
fstp dword [esp + 0x40]
movzx eax, word [esp + 0x14]
fld st(4)
movss xmm0, dword [esp + 0x20]
fld dword [esp + 0x38]
or eax, 0xc00
fld st(0)
movss dword [esp + 0xc8], xmm0
faddp st(2)
movss xmm0, dword [esp + 0x24]
fxch st(1)
movss dword [esp + 0xcc], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp + 0xd0], xmm0
fstp dword [esp + 0x44]
movss xmm0, dword [esp + 0x2c]
fxch st(2)
movss dword [esp + 0xd4], xmm0
fsubrp st(3)
fxch st(2)
fstp dword [esp + 0x30]
movss xmm0, dword [esp + 0x30]
fxch st(1)
movss dword [esp + 0xd8], xmm0
fsubrp st(2)
fxch st(1)
fstp dword [esp + 0x34]
movss xmm0, dword [esp + 0x34]
movss dword [esp + 0xdc], xmm0
fsubrp st(1)
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0xe4], xmm0
movss xmm0, dword [esp + 0x40]
fstp dword [esp + 0x38]
movss dword [esp + 0xe8], xmm0
fld dword [esp + 0x38]
movss xmm0, dword [esp + 0x44]
fstp dword [esp + 0xe0]
movss dword [esp + 0xec], xmm0
fld dword [edi + 0xc]
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fld st(0)
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
fmulp st(1)
fld qword [0x6f9e08]
fmul st(1), st(0)
fldcw word [esp + 0x10]
fxch st(1)
fistp dword [esp + 0x10]
mov dl, byte [esp + 0x10]
mov ch, dl
movzx edx, byte [edi + 9]
fldcw word [esp + 0x14]
mov dword [esp + 0x10], edx
fld st(1)
fild dword [esp + 0x10]
fnstcw word [esp + 0x14]
fmulp st(1)
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x10], eax
fmul st(1)
fldcw word [esp + 0x10]
fistp dword [esp + 0x10]
fldcw word [esp + 0x14]
movzx eax, byte [esp + 0x10]
fnstcw word [esp + 0x14]
movzx edx, byte [edi + 0xa]
mov cl, al
movzx eax, word [esp + 0x14]
mov dword [esp + 0x10], edx
xorps xmm0, xmm0
or eax, 0xc00
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
movss xmm1, dword [0x6cc5ec]
shl ecx, 8
fmulp st(2)
movss dword [esp + 0x100], xmm0
movss dword [esp + 0x110], xmm0
movss dword [esp + 0x114], xmm0
fmulp st(1)
movss dword [esp + 0x108], xmm0
fldcw word [esp + 0x10]
movss xmm0, dword [0x6cc5e8]
movss dword [esp + 0x104], xmm1
movss dword [esp + 0x118], xmm0
movss dword [esp + 0x10c], xmm1
movss dword [esp + 0x11c], xmm0
fistp dword [esp + 0x10]
movzx eax, byte [esp + 0x10]
movzx edx, al
fldcw word [esp + 0x14]
or ecx, edx
mov eax, ecx
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], eax
mov eax, dword [edi + 4]
push eax
push 0xa36a14
lea eax, [esp + 0xc8]
call fcn.004197b0
mov edx, dword [esp + 0x34]
fld dword [esp + 0x9c]
mov ecx, dword [esp + 0x30]
fld qword [0x6fa678]
mov eax, dword [esp + 0x38]
fmul st(1), st(0)
mov dword [esp + 0x1c], edx
fxch st(1)
mov edx, dword [esp + 0x40]
mov dword [esp + 0x20], eax
fstp dword [esp + 0x5c]
mov eax, dword [esp + 0x44]
fld dword [esp + 0xa0]
mov dword [esp + 0x18], ecx
fmul st(1)
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
fstp dword [esp + 0x60]
mov dword [esp + 0x2c], eax
fmul dword [esp + 0xa4]
fstp dword [esp + 0x64]
fld dword [esp + 0x30]
fld dword [esp + 0x5c]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x1c]
fld dword [esp + 0x60]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x20]
fld dword [esp + 0x64]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fsubrp st(3)
movss xmm0, dword [esp + 0x18]
fxch st(2)
mov ecx, dword [edi + 4]
fstp dword [esp + 0x3c]
movss dword [esp + 0xc0], xmm0
movss xmm0, dword [esp + 0x1c]
fsubr dword [esp + 0x28]
xorps xmm2, xmm2
movss xmm1, dword [0x6cc5e8]
movss dword [esp + 0xc4], xmm0
fstp dword [esp + 0x40]
movss xmm0, dword [esp + 0x20]
fsubr dword [esp + 0x2c]
movss dword [esp + 0xc8], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0xcc], xmm0
movss xmm0, dword [esp + 0x28]
fstp dword [esp + 0x44]
movss dword [esp + 0xd0], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0xd4], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0xd8], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp + 0xdc], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0xe0], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0xe4], xmm0
movss xmm0, dword [esp + 0x40]
movss dword [esp + 0xe8], xmm0
movss xmm0, dword [esp + 0x44]
push ecx
movss dword [esp + 0xf0], xmm0
movss xmm0, dword [0x6cc5ec]
push 0xa36a14
lea eax, [esp + 0xc8]
movss dword [esp + 0x108], xmm2
movss dword [esp + 0x118], xmm1
movss dword [esp + 0x10c], xmm0
movss dword [esp + 0x11c], xmm1
movss dword [esp + 0x110], xmm2
movss dword [esp + 0x120], xmm0
movss dword [esp + 0x114], xmm0
movss dword [esp + 0x124], xmm0
call fcn.004197b0
add ebp, 1
add edi, 0x38
cmp ebp, dword [0xa37840]
jb 0x673382
mov eax, dword [0x819afc]
mov ecx, eax
shr ecx, 8
and ecx, 1
mov dword [esp + 0x4c], ecx
jne 0x673c36
or eax, 0x101
mov dword [0x819afc], eax
mov ecx, eax
shr ecx, 6
and ecx, 1
mov dword [esp + 0x48], ecx
je 0x673c4f
and eax, 0xffffffbf
or eax, 4
mov dword [0x819afc], eax
movsx ecx, word [0x819b16]
cmp ecx, 1
mov dword [esp + 0x10], ecx
je 0x673c70
or eax, 8
mov dword [0x819afc], eax
mov word [0x819b16], 1
mov si, word [0x819af4]
mov di, word [0x819af8]
movsx ebx, word [0x819afa]
movsx ebp, word [0x819af6]
movsx edx, si
mov dword [esp + 0x74], edx
xor edx, edx
cmp ebx, 2
setne dl
movsx ecx, di
mov dword [esp + 0x7c], ecx
xor ecx, ecx
cmp ebp, 2
setne cl
or edx, ecx
xor ecx, ecx
cmp di, 2
setne cl
or edx, ecx
xor ecx, ecx
cmp si, 2
setne cl
or edx, ecx
je 0x673ced
mov ecx, 2
or eax, 1
mov dword [0x819afc], eax
mov word [0x819af4], cx
mov word [0x819af6], cx
mov word [0x819af8], cx
mov word [0x819afa], cx
mov esi, eax
shr esi, 5
and esi, 1
jne 0x673cff
or eax, 0x24
mov dword [0x819afc], eax
cmp dword [0xa369f0], 0
je 0x673d17
mov edi, 0xa369e8
call fcn.00424ca0
mov eax, dword [0x819afc]
xor edx, edx
test esi, esi
setne dl
mov ecx, eax
shr ecx, 5
and ecx, 1
cmp ecx, edx
je 0x673d3d
shl esi, 5
xor esi, eax
and esi, 0x20
xor esi, eax
or esi, 4
mov dword [0x819afc], esi
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x74]
push 0x819af0
push ebx
push edx
push ebp
push eax
call fcn.004043b0
mov eax, dword [0x819afc]
mov esi, eax
shr esi, 5
add esp, 0x14
and esi, 1
je 0x673d70
and eax, 0xffffffdf
or eax, 4
mov dword [0x819afc], eax
mov bp, word [0x819af4]
movsx ebx, word [0x819afa]
movsx edx, word [0x819af8]
movsx edi, word [0x819af6]
movsx ecx, bp
mov dword [esp + 0x74], ecx
xor ecx, ecx
cmp ebx, 2
setne cl
mov dword [esp + 0x7c], edx
xor edx, edx
cmp edi, 8
setne dl
or ecx, edx
xor edx, edx
cmp word [0x819af8], 2
setne dl
or ecx, edx
xor edx, edx
cmp bp, 8
setne dl
or ecx, edx
je 0x673def
or eax, 1
mov dword [0x819afc], eax
mov eax, 8
mov word [0x819af4], ax
mov word [0x819af6], ax
mov eax, 2
mov word [0x819af8], ax
mov word [0x819afa], ax
cmp dword [0xa36a1c], 0
je 0x673e02
push 0xa36a14
call fcn.00424d10
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x74]
push 0x819af0
push ebx
push eax
push edi
push ecx
call fcn.004043b0
mov eax, dword [0x819afc]
xor edx, edx
add esp, 0x14
test esi, esi
setne dl
mov ecx, eax
shr ecx, 5
and ecx, 1
cmp ecx, edx
je 0x673e47
shl esi, 5
xor esi, eax
and esi, 0x20
xor esi, eax
or esi, 4
mov eax, esi
mov dword [0x819afc], eax
movsx edx, word [0x819b16]
mov ecx, dword [esp + 0x10]
cmp edx, ecx
mov dword [0xa37840], 0
je 0x673e6f
or eax, 8
mov dword [0x819afc], eax
mov word [0x819b16], cx
mov ecx, dword [esp + 0x48]
xor edx, edx
test ecx, ecx
setne dl
mov esi, eax
shr esi, 6
and esi, 1
cmp esi, edx
je 0x673e9a
shl ecx, 6
xor ecx, eax
and ecx, 0x40
xor ecx, eax
or ecx, 4
mov eax, ecx
mov dword [0x819afc], eax
mov ecx, dword [esp + 0x4c]
xor edx, edx
test ecx, ecx
setne dl
mov esi, eax
shr esi, 8
and esi, 1
cmp esi, edx
je 0x673ec7
shl ecx, 8
xor ecx, eax
and ecx, 0x100
xor ecx, eax
or ecx, 1
mov dword [0x819afc], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x174
ret