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

Disassembly:
sub esp, 0x84
mov eax, dword [0x10444724]
xor eax, esp
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x8c]
lea ecx, [esp + 0x58]
movaps xmm0, xmmword [0x10386850]
movss xmm1, dword [0x10386880]
push esi
movss xmm5, dword [eax]
movss xmm4, dword [eax + 4]
movaps xmm2, xmm5
mulss xmm2, dword [eax + 8]
movaps xmm3, xmm4
mov esi, dword [esp + 0x94]
mulss xmm3, dword [eax + 8]
push edi
mov edi, dword [esp + 0x90]
xorps xmm2, xmm1
movups xmmword [esp + 0x38], xmm0
mov dword [esp + 0x14], edi
movaps xmm0, xmmword [0x10386850]
xorps xmm3, xmm1
movss dword [esp + 0x64], xmm5
xorps xmm5, xmm1
movups xmmword [esp + 0x48], xmm0
mov dword [esp + 0x58], 0x3f800000
mov dword [esp + 0x5c], 0x10
movss dword [esp + 0x60], xmm4
movss dword [esp + 0x68], xmm2
movss dword [esp + 0x6c], xmm5
movss dword [esp + 0x70], xmm4
movss dword [esp + 0x74], xmm3
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0x3f800000
mov dword [esp + 0x84], 0x80
call fcn.1003d080
movzx eax, al
mov dword [esp + 0x84], eax
test al, 0xf
jne 0x1004ab52
lea ecx, [esp + 0x38]
call fcn.1003eef0
mov byte [esp + 0x27], 1
jmp 0x1004ab64
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x64]
call fcn.1003d790
mov byte [esp + 0x27], al
call fcn.10045470
cmp byte [esp + 0x27], 0
jne 0x1004abc0
mov edi, dword [esi]
mov dword [esi], eax
test edi, edi
je 0x1004ab96
or eax, 0xffffffff
lock xadd dword [edi], eax
cmp eax, 1
jne 0x1004ab96
mov ecx, edi
call fcn.100450d0
push 0x5c
push edi
call fcn.1037dfe9
add esp, 8
and byte [esi + 0xa], 0xfc
mov dword [esi + 4], 0xffffffff
mov byte [esi + 8], 0
pop edi
mov byte [esi + 9], 2
pop esi
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.1037e005
add esp, 0x84
ret
mov dword [esp + 0x18], eax
mov ecx, edi
mov al, byte [esp + 0x22]
and al, 0xfc
mov dword [esp + 0x1c], 0xffffffff
mov byte [esp + 0x22], al
and al, 0xfb
mov byte [esp + 0x22], al
lea eax, [esp + 0x18]
push 1
push eax
lea eax, [esp + 0x40]
mov byte [esp + 0x28], 0
push eax
mov byte [esp + 0x2d], 2
call fcn.1004dde0
mov edi, dword [esp + 0x18]
cmp byte [edi + 0x54], 0
je 0x1004ac18
push dword [edi + 0x1c]
lea ecx, [edi + 4]
push dword [edi + 0x14]
call fcn.1003b710
mov byte [edi + 0x55], al
mov byte [edi + 0x54], 0
cmp byte [edi + 0x55], 0
je 0x1004ac9d
movaps xmm0, xmmword [0x10388820]
lea eax, [esp + 8]
push eax
push 0x100463d0
push 0
lea eax, [esp + 0x34]
mov dword [esp + 0x14], esi
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], 0
push eax
movups xmmword [esp + 0x3c], xmm0
mov dword [esp + 0x24], 0
call fcn.1009e350
mov edi, dword [esp + 0x28]
add esp, 0x14
mov ecx, esi
mov al, byte [edi + 0xa]
xor al, byte [esi + 0xa]
and al, 3
xor byte [esi + 0xa], al
lea eax, [esp + 0x60]
push 1
push esi
push eax
call fcn.1004dde0
mov edi, dword [edi]
cmp byte [edi + 0x54], 0
je 0x1004ac97
push dword [edi + 0x1c]
lea ecx, [edi + 4]
push dword [edi + 0x14]
call fcn.1003b710
mov byte [edi + 0x55], al
mov byte [edi + 0x54], 0
cmp byte [edi + 0x55], 0
jne 0x1004aca4
mov ecx, esi
call fcn.1004cfc0
mov esi, dword [esp + 0x18]
test esi, esi
je 0x1004acca
or eax, 0xffffffff
lock xadd dword [esi], eax
cmp eax, 1
jne 0x1004acca
mov ecx, esi
call fcn.100450d0
push 0x5c
push esi
call fcn.1037dfe9
add esp, 8
mov ecx, dword [esp + 0x88]
pop edi
pop esi
xor ecx, esp
call fcn.1037e005
add esp, 0x84
ret