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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa0
mov eax, dword [0x1013b040]
xor eax, esp
mov dword [esp + 0x9c], eax
cmp byte [0x1022723c], 0
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x28], eax
push edi
mov dword [esp + 0x5c], esi
je 0x1002aed2
cmp byte [0x10226bbc], 0
je 0x1002aed2
mov eax, dword [esi + 0xc553c]
mov ecx, dword [eax]
mov eax, dword [ecx + 4]
add ecx, 4
mov eax, dword [eax + 0x20]
call eax
test eax, eax
je 0x1002aed2
mov ecx, dword [0x1021fe1c]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x78]
call edx
mov edi, eax
test edi, edi
je 0x1002aed2
mov ecx, dword [esi + 0xc553c]
mov edx, dword [0x10220088]
mov eax, dword [edi + 0xb0]
add edx, 0xffffffbd
xor edx, 0x5b5c21dc
mov ecx, dword [ecx]
mov ecx, dword [edx + ecx]
lea ecx, [ecx + ecx*2]
lea edx, [eax + ecx*4]
add edx, edi
je 0x1002aed2
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
shl ecx, 4
add ecx, dword [ebp + 0xc]
lea eax, [eax + ecx*4]
add eax, edx
je 0x1002aed2
mov eax, dword [0x1021ffc8]
mov edi, dword [esp + 0x2c]
cmp dword [edi + eax], 0
je 0x1002aed2
mov ecx, dword [0x102200bc]
mov eax, dword [0x10226b8c]
add ecx, 0xffffffb0
xor ecx, 0x5b5c21e9
cmp byte [ecx + eax], 0
mov eax, dword [0x10227228]
je 0x1002a717
movss xmm4, dword [eax + 0x130]
jmp 0x1002a71f
movss xmm4, dword [eax + 0x12c]
mulss xmm4, dword [0x1012f09c]
push 2
movss xmm2, dword [0x1012f334]
movss xmm1, dword [0x1012f32c]
andps xmm2, xmm4
movaps xmm0, xmm4
xorps xmm0, xmm2
movaps xmm3, xmm4
cmpltss xmm0, xmm1
push dword [0x1013c608]
push dword [0x1013c604]
andps xmm1, xmm0
orps xmm1, xmm2
addss xmm3, xmm1
subss xmm3, xmm1
movss xmm1, dword [0x1012f110]
movaps xmm0, xmm3
subss xmm0, xmm4
cmpnless xmm0, xmm2
andps xmm0, xmm1
subss xmm3, xmm0
movss dword [esp + 0x18], xmm3
call fcn.1010d1a0
mov ecx, dword [0x10226b8c]
cmp eax, dword [0x1013c608]
je 0x1002a7cc
mov eax, dword [0x10220018]
add eax, 0xffffffd9
xor eax, 0x5b5c21c0
add eax, ecx
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10025ca0
comiss xmm0, dword [esp + 0xc]
jae 0x1002aed2
cmp byte [0x1013c1b4], 0
movq xmm0, qword [0x10226bb0]
mov eax, dword [0x10226bb8]
movq qword [esp + 0x64], xmm0
mov dword [esp + 0x6c], eax
je 0x1002a809
mov eax, dword [0x1022005c]
add eax, 0xffffffc8
xor eax, 0x5b5c21d1
test byte [eax + ecx], 1
jne 0x1002a809
movss xmm4, dword [0x1013c240]
jmp 0x1002a82d
cmp dword [0x1022722c], 1
jne 0x1002a825
cmp byte [0x1013bf2c], 0
je 0x1002a825
movss xmm4, dword [0x1013bfb8]
jmp 0x1002a82d
movss xmm4, dword [0x1013be74]
mov eax, dword [0x1022007c]
movss xmm2, dword [0x1012f110]
add eax, 0xffffffc0
xor eax, 0x5b5c21d9
movss dword [esp + 0x28], xmm2
cmp byte [0x1013c070], 0
movd xmm3, dword [eax + edi]
cvtdq2ps xmm3, xmm3
je 0x1002a8c9
movss xmm1, dword [esi + 0xc5538]
lea edx, [esi + 0xc5538]
movss xmm0, dword [0x1013c0fc]
lea ecx, [esp + 0xc]
mulss xmm0, dword [0x1012f014]
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0x3f800000
comiss xmm1, xmm2
mov dword [esp + 0x14], 0x3f800000
movss dword [esp + 0x10], xmm3
cmovae ecx, edx
comiss xmm3, xmm1
cmovae eax, ecx
lea ecx, [esp + 0xc]
mulss xmm0, dword [eax]
lea eax, [esp + 0x14]
comiss xmm0, xmm2
movss dword [esp + 0xc], xmm0
cmovae eax, ecx
comiss xmm1, xmm0
cmovb eax, edx
movss xmm0, dword [eax]
movss dword [esp + 0x28], xmm0
cmp dword [0x10227224], 0x1f
jne 0x1002a8eb
movss xmm4, dword [0x1012f28c]
movaps xmm0, xmm3
mulss xmm0, dword [0x1012f0a0]
movss dword [esp + 0x28], xmm0
mov esi, dword [ebp + 0x10]
xorps xmm1, xmm1
mulss xmm4, dword [0x1012f1b0]
movss dword [esp + 0x18], xmm1
movss xmm0, dword [esi]
mulss xmm0, dword [0x1012f024]
movss dword [esp + 0x60], xmm4
movss dword [esp + 0xc], xmm0
call fcn.10025c60
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0xc]
call fcn.10025c90
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esi + 4]
mulss xmm0, dword [0x1012f024]
movss dword [esp + 0xc], xmm0
call fcn.10025c60
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0xc]
call fcn.10025c90
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esi + 8]
mulss xmm0, dword [0x1012f024]
movss dword [esp + 0xc], xmm0
call fcn.10025c60
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0xc]
call fcn.10025c90
movss xmm5, dword [esp + 0x10]
movaps xmm2, xmm0
movss xmm4, dword [esp + 0x14]
movaps xmm0, xmm5
movss xmm3, dword [esp + 0x1c]
movaps xmm1, xmm2
mulss xmm1, dword [esp + 0x24]
mov ecx, dword [0x10227220]
movss xmm7, dword [esp + 0x20]
mulss xmm0, xmm4
movaps xmm6, xmm7
mulss xmm6, xmm3
mov eax, dword [ecx]
movss dword [esp + 0x44], xmm0
movaps xmm0, xmm5
mulss xmm0, xmm3
mov eax, dword [eax + 0x754]
mov dword [esp + 0xc], eax
movss dword [esp + 0x50], xmm0
movaps xmm0, xmm4
mulss xmm0, xmm1
subss xmm6, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm7
mulss xmm1, dword [esp + 0x24]
movss dword [esp + 0x40], xmm6
movaps xmm6, xmm7
mulss xmm6, xmm4
mulss xmm7, xmm5
xorps xmm6, xmmword [0x1012f430]
subss xmm6, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm5
movss dword [esp + 0x20], xmm7
movss dword [esp + 0x4c], xmm6
movaps xmm6, xmm2
movss dword [esp + 0x58], xmm0
movaps xmm0, xmm4
mulss xmm0, xmm1
mulss xmm6, xmm3
mulss xmm1, xmm3
mulss xmm2, xmm4
addss xmm6, xmm0
subss xmm1, xmm2
movss dword [esp + 0x48], xmm6
movss dword [esp + 0x54], xmm1
call dword [esp + 0xc]
mov ecx, dword [0x10227220]
fstp dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6dc]
mov dword [esp + 0x10], eax
call dword [esp + 0x10]
xor esi, esi
fstp dword [esp + 0x3c]
mov dword [esp + 0x1c], esi
mov edi, dword [0x10227220]
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x6f8]
call eax
test eax, eax
je 0x1002ac32
cmp dword [eax + 0xf4], 0
je 0x1002ac32
mov eax, dword [0x1022012c]
push dword [esp + 0x1c]
add eax, 0xffffff94
xor eax, 0x5b5c2205
mov esi, dword [eax + edi]
mov eax, dword [0x10220158]
add eax, 0xffffff89
xor eax, 0x5b5c2210
movss xmm0, dword [eax + edi]
movss dword [esp + 0x34], xmm0
call dword [0x1021ff34]
mov eax, dword [0x1021ff3c]
mov dword [esp], 0x3f800000
push ecx
mov dword [esp + 0x18], eax
mov dword [esp], 0
call dword [esp + 0x18]
fstp dword [esp + 0x1c]
mov dword [esp + 4], 0x40c90fdb
mov dword [esp], 0
call dword [0x1021ff3c]
mov eax, dword [0x1021ff3c]
fstp dword [esp + 0x40]
mov dword [esp + 4], 0x3f800000
mov dword [esp + 0x18], eax
mov dword [esp], 0
call dword [esp + 0x18]
fstp dword [esp + 0x18]
mov dword [esp + 4], 0x40c90fdb
mov dword [esp], 0
call dword [0x1021ff3c]
add esp, 8
fstp dword [esp + 0x34]
cmp esi, 0x1c
jne 0x1002abbb
movss xmm3, dword [esp + 0x30]
movss xmm0, dword [0x1012f1c8]
comiss xmm0, xmm3
jbe 0x1002abbb
movss xmm1, dword [esp + 0x14]
lea eax, [esi - 0x19]
movss xmm2, dword [esp + 0x10]
nop dword [eax]
movaps xmm0, xmm1
dec eax
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm2, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm3
ja 0x1002ab80
movss xmm0, dword [0x1012f110]
subss xmm0, xmm1
movss dword [esp + 0x14], xmm0
movss xmm0, dword [0x1012f110]
subss xmm0, xmm2
jmp 0x1002abcd
movss xmm0, dword [esp + 0x14]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x10]
movss xmm1, dword [esp + 0x38]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x34]
call fcn.1010eaf0
movss xmm4, dword [esp + 0x10]
movaps xmm2, xmm0
movss xmm3, dword [esp + 0x14]
movaps xmm1, xmm2
mulss xmm4, dword [esp + 0x3c]
movaps xmm0, xmm2
mov esi, dword [esp + 0x1c]
mulss xmm3, dword [esp + 0xc]
shufps xmm1, xmm2, 0xe
movaps xmm7, xmm1
shufps xmm2, xmm2, 1
shufps xmm1, xmm1, 1
mulss xmm7, xmm3
mulss xmm0, xmm4
mulss xmm2, xmm4
mulss xmm1, xmm3
addss xmm7, xmm0
addss xmm2, xmm1
jmp 0x1002ac38
xorps xmm7, xmm7
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x48]
movaps xmm6, xmm2
mulss xmm6, dword [esp + 0x40]
movaps xmm5, xmm2
mulss xmm5, dword [esp + 0x4c]
addss xmm6, dword [esp + 0x44]
mulss xmm2, dword [esp + 0x58]
addss xmm5, dword [esp + 0x50]
movss xmm4, dword [esp + 0x20]
addss xmm2, dword [esp + 0x24]
mulss xmm0, xmm7
mulss xmm4, xmm7
addss xmm6, xmm0
movss xmm0, dword [esp + 0x54]
mulss xmm0, xmm7
subss xmm4, xmm2
addss xmm5, xmm0
movaps xmm1, xmm6
mulss xmm1, xmm6
movaps xmm0, xmm5
mulss xmm0, xmm5
addss xmm0, xmm1
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm0, xmm1
call fcn.10025ca0
addss xmm0, dword [0x1012efd8]
movss xmm3, dword [0x1012f110]
lea edx, [esp + 0x90]
mov edi, dword [esp + 0x5c]
lea ecx, [esp + 0x70]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x74], eax
divss xmm3, xmm0
mov eax, dword [0x10226b8c]
mov word [esp + 0x8c], 1
mov dword [esp + 0x70], eax
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0xffffffff
mov word [esp + 0x9c], 0
movss xmm0, dword [esp + 0x28]
movss xmm1, dword [edi + 0xc5520]
movss xmm2, dword [edi + 0xc5524]
subss xmm2, dword [0x10226bb4]
subss xmm1, dword [0x10226bb0]
movss dword [esp + 0x84], xmm0
movss dword [esp + 0x88], xmm0
movss xmm0, dword [edi + 0xc5528]
subss xmm0, dword [0x10226bb8]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
mulss xmm6, xmm3
addss xmm0, dword [0x1012f2b4]
mulss xmm5, xmm3
mulss xmm4, xmm3
addss xmm2, xmm0
mulss xmm6, xmm2
mulss xmm5, xmm2
addss xmm6, dword [esp + 0x64]
mulss xmm4, xmm2
addss xmm5, dword [esp + 0x68]
addss xmm4, dword [esp + 0x6c]
movss dword [esp + 0x78], xmm6
movss dword [esp + 0x7c], xmm5
movss dword [esp + 0x80], xmm4
call fcn.100a6570
test al, al
je 0x1002ade8
movss xmm0, dword [esp + 0x94]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1002ade8
movss xmm0, dword [esp + 0x18]
addss xmm0, dword [0x1012f110]
movss dword [esp + 0x18], xmm0
inc esi
mov dword [esp + 0x1c], esi
cmp esi, 0xff
jle 0x1002aa84
test byte [0x10226ba8], 1
jne 0x1002ae52
cmp byte [0x1013c550], 0
je 0x1002ae52
push 3
push dword [0x1013c608]
push dword [0x1013c604]
call fcn.1010d1a0
movss xmm1, dword [esp + 0x18]
cmp eax, dword [0x1013c608]
je 0x1002ae58
movss xmm0, dword [0x1013c724]
mulss xmm0, dword [0x1012f01c]
mulss xmm0, dword [0x1012f2f4]
comiss xmm1, xmm0
jb 0x1002ae58
mov byte [edi + 0xc5551], 1
jmp 0x1002ae58
movss xmm1, dword [esp + 0x18]
cmp byte [0x1013bc50], 0
je 0x1002aea1
cmp dword [0x10150b80], 0
jne 0x1002aea1
movss xmm0, dword [0x1012f018]
comiss xmm0, dword [esp + 0xc]
jbe 0x1002aea1
mulss xmm1, dword [0x1012f0b4]
mov al, 1
movss dword [edi + 0xc5540], xmm1
pop edi
pop esi
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.1010d3ac
mov esp, ebp
pop ebp
ret 0xc
comiss xmm1, dword [esp + 0x60]
movaps xmm0, xmm1
mulss xmm0, dword [0x1012f0b4]
setae al
movss dword [edi + 0xc5540], xmm0
pop edi
pop esi
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.1010d3ac
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esp + 0xa4]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.1010d3ac
mov esp, ebp
pop ebp
ret 0xc