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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x130
mov eax, dword [0x100b4040]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x3c], ecx
mov ecx, dword [0x10103264]
mov dword [esp + 0x38], eax
push esi
push edi
mov eax, dword [ecx + 0x3e28]
mov edi, edx
mov dword [esp + 0xb0], edi
mov dword [esp + 0x3c], ecx
mov byte [eax + 0xa8], 1
mov edx, dword [ecx + 0x3e28]
mov dword [esp + 0xc0], edx
cmp byte [edx + 0xab], 0
je 0x1007dc73
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.10098200
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x4688], 1
mov eax, dword [edx + 0x268]
mov dword [esp + 0x2c], eax
je 0x1007dc90
movss xmm1, dword [ecx + 0x468c]
jmp 0x1007dc98
movss xmm1, dword [edx + 0x1a4]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1007dcda
cmp dword [edx + 0x194], 0
movss xmm0, dword [edx + 0x22c]
jne 0x1007dcba
cmp dword [ecx + 0x49d0], 0
je 0x1007dcc2
movss xmm0, dword [edx + 0x1fc]
subss xmm0, dword [edx + 0xec]
addss xmm0, xmm1
movss xmm1, dword [0x100b1304]
maxss xmm1, xmm0
mov dword [ecx + 0x4688], 0
mov ecx, dword [esp + 0x44]
cvttss2si esi, xmm1
call fcn.10011320
call fcn.10014110
mov edx, dword [ebp + 8]
mov ecx, edx
or ecx, 0x10
test edx, 0x100
cmovne ecx, edx
mov dword [esp + 0xa4], ecx
test cl, 8
jne 0x1007dd23
mov edx, ecx
mov ecx, edi
call fcn.10081a30
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x3c]
test ecx, 0x6000000
jne 0x1007dd4f
mov eax, dword [edx + 0x5944]
mov ecx, 0xa900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, dword [esp + 0xa4]
mov dword [esp + 0x10], ecx
test ecx, 0x18000000
jne 0x1007dd86
mov eax, dword [edx + 0x5944]
mov edi, 0xa900000
test eax, 0x18000000
cmovne edi, eax
mov eax, edi
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0xb0]
and eax, 0x18000000
or ecx, eax
mov dword [esp + 0x10], ecx
test cl, 8
jne 0x1007dd9c
mov eax, dword [edx + 0x5944]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x10], ecx
mov eax, ecx
movss xmm2, dword [edx + 0x37ec]
and eax, 2
and ecx, 0x10002
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xc8], ecx
movss xmm0, dword [eax + 0xf0]
movss xmm3, dword [eax + 0xec]
mov eax, dword [0x10103264]
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x4c], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x48], xmm3
movss xmm4, dword [eax + 0x37d8]
addss xmm4, xmm4
addss xmm4, dword [eax + 0x3bb4]
xor eax, eax
cmp ecx, 0x10000
sete al
inc eax
addss xmm0, xmm4
movss dword [esp + 0x6c], xmm4
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0xa4], eax
sete al
mulss xmm1, xmm0
lea eax, [eax*4 + 0xc]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push eax
lea eax, [esp + 0x128]
push edi
push eax
subss xmm0, xmm1
movaps xmm1, xmm4
maxss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, xmm1
movss dword [esp + 0x34], xmm1
addss xmm0, xmm2
movss dword [esp + 0x9c], xmm0
addss xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0xd0], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x100b1298]
cvttss2si esi, xmm0
mov dword [esp + 0xa0], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [esp + 0x34]
add esp, 0xc
movaps xmm4, xmm1
movaps xmm2, xmm1
mulss xmm4, dword [0x100b12bc]
mulss xmm2, dword [0x100b127c]
movaps xmm0, xmm4
movss dword [esp + 0x54], xmm4
addss xmm0, dword [esp + 0x38]
movss dword [esp + 0x9c], xmm2
movaps xmm3, xmm4
subss xmm3, xmm2
movaps xmm2, xmm1
addss xmm2, dword [esp + 0x6c]
movss dword [esp + 0xb8], xmm0
movss dword [esp + 0x108], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100b1268]
movaps xmm1, xmm3
mulss xmm2, dword [0x100b12bc]
cvttss2si eax, xmm0
addss xmm2, dword [esp + 0x48]
movss dword [esp + 0x98], xmm3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xbc], xmm2
subss xmm1, xmm0
movss dword [esp + 0x104], xmm2
movss dword [esp + 0x30], xmm1
movss xmm7, dword [edi + 8]
movaps xmm0, xmm1
mulss xmm0, dword [0x100b1550]
movaps xmm2, xmm1
mov eax, dword [esp + 0x10]
mulss xmm2, dword [0x100b155c]
mov dword [esp + 0x34], 0
movss xmm6, dword [0x100b13d8]
movss xmm5, dword [0x100b123c]
movss dword [esp + 0xac], xmm0
movss dword [esp + 0x60], xmm0
movss dword [esp + 0x114], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100b12ec]
movss xmm1, dword [edi + 4]
movss dword [esp + 0xa0], xmm2
movss dword [esp + 0x64], xmm2
movss dword [esp + 0xa8], xmm0
movss dword [esp + 0x118], xmm0
movss xmm0, dword [edi]
movss dword [esp + 0x18], xmm0
movaps xmm2, xmm0
movss dword [esp + 0x70], xmm2
movss dword [esp + 0x8c], xmm2
movaps xmm2, xmm1
movss dword [esp + 0x84], xmm2
movss dword [esp + 0x78], xmm2
movaps xmm2, xmm7
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x50], xmm7
movss dword [esp + 0x68], xmm2
movss dword [esp + 0x88], xmm2
movss dword [esp + 0xc0], xmm6
test eax, 0x8000000
je 0x1007e0dd
comiss xmm7, xmm1
xorps xmm3, xmm3
movaps xmm2, xmm1
movaps xmm4, xmm7
jbe 0x1007e039
movss xmm3, dword [0x100b1560]
movaps xmm2, xmm7
movaps xmm4, xmm1
comiss xmm2, xmm0
movaps xmm7, xmm0
movss dword [esp + 0x50], xmm7
jbe 0x1007e062
movaps xmm7, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x100b154c]
subss xmm0, xmm3
movss dword [esp + 0x50], xmm7
movaps xmm3, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x18], xmm7
minss xmm0, xmm4
movaps xmm1, xmm7
subss xmm2, xmm4
mov ecx, edi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x28]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x28]
movaps xmm0, xmm1
mulss xmm0, xmm6
addss xmm0, xmm5
divss xmm2, xmm0
movaps xmm0, xmm7
addss xmm0, xmm5
addss xmm2, xmm3
divss xmm1, xmm0
andps xmm2, xmmword [0x100b17c0]
movss dword [esp + 0x28], xmm2
movss dword [esp + 0x2c], xmm1
call fcn.1007c6f0
movss xmm0, dword [esp + 0x28]
add esp, 8
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x24], xmm0
jmp 0x1007e12f
test eax, sym.xinput1_3.dll_Ordinal_9
je 0x1007e12f
lea eax, [esp + 0x88]
movaps xmm2, xmm7
push eax
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x90]
call fcn.10003d10
movss xmm0, dword [esp + 0x90]
add esp, 4
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0x88]
movss dword [esp + 0x68], xmm0
mov ecx, dword [0x10103264]
lea edx, [ecx + 0x4768]
mov byte [esp + 0xe], 0
mov byte [esp + 0x1f], 0
mov byte [esp + 0x17], 0
mov eax, dword [ecx + 0x4680]
or eax, 8
mov dword [esp + 0x20], edx
mov dword [ecx + 0x4680], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x58], eax
cmp dword [edx], ecx
jne 0x1007e19b
test ecx, ecx
je 0x1007e17b
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add eax, ecx
jmp 0x1007e180
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10025b30
mov edi, dword [esp + 0xb0]
mov edx, dword [esp + 0x20]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x58]
mov dword [eax + ecx*4], esi
inc dword [edx]
mov eax, dword [esp + 0x10]
test eax, 0x4000000
je 0x1007e796
movss xmm1, dword [esp + 0x28]
lea edx, [esp + 0xf0]
mov eax, dword [esp + 0x3c]
movaps xmm0, xmm1
push 0
mov ecx, 0x100b078c
movss dword [esp + 0xf8], xmm1
addss xmm0, dword [eax + 0x37ec]
addss xmm0, dword [esp + 0x70]
movss dword [esp + 0xf4], xmm0
call fcn.1006d470
mov eax, dword [0x10103264]
add esp, 4
mov ecx, dword [eax + 0x3e74]
test ecx, ecx
je 0x1007e6a7
cmp ecx, dword [eax + 0x469c]
jne 0x1007e6a7
mov eax, dword [esp + 0x3c]
movss xmm0, dword [eax + 0x36a8]
subss xmm0, dword [esp + 0xb8]
movss xmm1, dword [eax + 0x36a4]
subss xmm1, dword [esp + 0xbc]
movss xmm4, dword [eax + 0xdb8]
movss xmm3, dword [eax + 0xdbc]
subss xmm4, dword [esp + 0xbc]
subss xmm3, dword [esp + 0xb8]
movaps xmm2, xmm0
movss dword [esp + 0xcc], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x20], xmm1
movss xmm1, dword [0x100b1304]
addss xmm2, xmm0
movss dword [esp + 0xb4], xmm4
movss xmm0, dword [esp + 0x98]
subss xmm0, xmm1
movss dword [esp + 0x5c], xmm3
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x1007e33e
movss xmm0, dword [esp + 0x54]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x1007e33e
cvtps2pd xmm0, xmm3
movsd qword [esp + 0xf0], xmm0
fld qword [esp + 0xf0]
cvtps2pd xmm0, xmm4
movsd qword [esp + 0xf0], xmm0
fld qword [esp + 0xf0]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm2, dword [0x100b13a8]
xorps xmm0, xmm0
fstp qword [esp + 0xf0]
movsd xmm1, qword [esp + 0xf0]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x100b12bc]
comiss xmm0, xmm1
movss dword [esp + 0x18], xmm1
jbe 0x1007e336
addss xmm1, dword [0x100b1304]
movss dword [esp + 0x18], xmm1
mov al, 1
mov byte [esp + 0xe], al
jmp 0x1007e350
mov al, byte [esp + 0xe]
movss xmm2, dword [0x100b13a8]
movss xmm1, dword [esp + 0x18]
movaps xmm0, xmm1
mov byte [esp + 0x1f], al
xorps xmm0, xmmword [0x100b17f0]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0xf0], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x58], xmm0
movsd xmm0, qword [esp + 0xf0]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm6, dword [esp + 0x58]
xorps xmm5, xmm5
cvtsd2ss xmm5, xmm0
movss xmm1, dword [esp + 0xac]
movaps xmm3, xmm6
mulss xmm3, dword [esp + 0x20]
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xcc]
movaps xmm4, xmm6
mulss xmm4, dword [esp + 0xcc]
subss xmm3, xmm0
movss dword [esp + 0x74], xmm5
movaps xmm0, xmm5
movss xmm7, dword [esp + 0x30]
mulss xmm0, dword [esp + 0x20]
movaps xmm5, xmm1
subss xmm5, xmm1
movaps xmm2, xmm3
addss xmm4, xmm0
movss xmm0, dword [esp + 0xa0]
subss xmm0, dword [esp + 0xa8]
subss xmm2, xmm1
subss xmm7, dword [esp + 0xac]
movss dword [esp + 0x58], xmm5
movss dword [esp + 0xcc], xmm0
movaps xmm1, xmm2
mulss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0xa8]
movss dword [esp + 0x7c], xmm7
mulss xmm0, xmm5
xorps xmm5, xmm5
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0xa0]
comiss xmm5, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x20], xmm0
movaps xmm0, xmm4
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0xa0]
mulss xmm0, xmm7
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x1007e69f
movss xmm0, dword [esp + 0xa8]
subss xmm4, xmm5
subss xmm3, dword [esp + 0x30]
subss xmm0, xmm5
mulss xmm3, xmm0
movss xmm0, dword [esp + 0xac]
subss xmm0, dword [esp + 0x30]
mulss xmm0, xmm4
subss xmm3, xmm0
comiss xmm5, xmm3
seta al
cmp cl, al
jne 0x1007e69f
movss xmm1, dword [esp + 0x74]
movaps xmm7, xmm6
mulss xmm7, dword [esp + 0xb4]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0xb4]
mulss xmm0, dword [esp + 0x5c]
mulss xmm6, dword [esp + 0x5c]
movss xmm4, dword [esp + 0xac]
subss xmm7, xmm0
addss xmm6, xmm1
movaps xmm1, xmm7
movss dword [esp + 0xf0], xmm7
subss xmm1, xmm4
movaps xmm0, xmm6
movss dword [esp + 0xf4], xmm6
subss xmm0, dword [esp + 0xa8]
mulss xmm1, dword [esp + 0xcc]
mulss xmm0, dword [esp + 0x58]
subss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0xa0]
comiss xmm5, xmm1
mulss xmm0, dword [esp + 0x7c]
movaps xmm1, xmm7
subss xmm1, xmm4
seta cl
mulss xmm1, dword [esp + 0x20]
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x1007e5a5
movss xmm3, dword [esp + 0x30]
movaps xmm2, xmm7
movss xmm0, dword [esp + 0xa8]
subss xmm2, xmm3
subss xmm0, xmm5
movaps xmm1, xmm4
subss xmm1, xmm3
mulss xmm2, xmm0
movaps xmm0, xmm6
subss xmm0, xmm5
mulss xmm1, xmm0
subss xmm2, xmm1
comiss xmm5, xmm2
seta al
cmp cl, al
je 0x1007e5e8
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x68]
push eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0xd8]
call fcn.100031b0
movss xmm3, dword [esp + 0x3c]
add esp, 0xc
movss xmm4, dword [esp + 0xac]
xorps xmm5, xmm5
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
movss xmm1, dword [esp + 0xa8]
subss xmm7, xmm3
movaps xmm2, xmm4
subss xmm1, xmm5
movss xmm4, dword [esp + 0xa0]
subss xmm2, xmm3
subss xmm4, xmm5
subss xmm6, xmm5
movaps xmm3, xmm2
mulss xmm3, xmm1
movaps xmm0, xmm4
mulss xmm0, xmm2
mulss xmm6, xmm2
subss xmm3, xmm0
movss xmm2, dword [0x100b1250]
movaps xmm0, xmm7
movss dword [esp + 0x24], xmm2
mulss xmm0, xmm1
mulss xmm7, xmm4
subss xmm0, xmm6
movss xmm1, dword [0x100b1304]
movaps xmm5, xmm1
subss xmm6, xmm7
divss xmm0, xmm3
divss xmm6, xmm3
subss xmm5, xmm0
comiss xmm2, xmm5
movaps xmm3, xmm5
subss xmm3, xmm6
jbe 0x1007e670
movaps xmm0, xmm2
jmp 0x1007e677
movaps xmm0, xmm1
minss xmm0, xmm5
divss xmm3, xmm0
movss dword [esp + 0x50], xmm0
comiss xmm2, xmm3
ja 0x1007e693
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [esp + 0x24], xmm2
mov byte [esp + 0x17], 1
mov byte [esp + 0xe], 1
jmp 0x1007e6a7
mov al, byte [esp + 0xe]
mov byte [esp + 0x1f], al
mov eax, dword [esp + 0x10]
test al, 8
jne 0x1007e6b9
mov ecx, str.context
call fcn.10015460
movss xmm3, dword [esp + 0x38]
movss xmm4, dword [esp + 0x28]
cmp dword [esp + 0xc8], 0x10000
mov esi, dword [esp + 0x94]
jne 0x1007ea17
mov ecx, dword [0x10103264]
lea edx, [esp + 0x60]
movss xmm0, dword [esp + 0xc4]
push 0
movss dword [esp + 0x68], xmm4
mov eax, dword [ecx + 0x3e28]
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x3e28]
mov ecx, str.alpha
movss dword [eax + 0xec], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [eax + 0xf0], xmm3
mov byte [eax + 0x12d], 1
movss dword [esp + 0x64], xmm0
call fcn.1006d470
mov eax, dword [0x10103264]
add esp, 4
mov ecx, dword [eax + 0x3e74]
test ecx, ecx
je 0x1007ea17
cmp ecx, dword [eax + 0x469c]
jne 0x1007ea17
mov eax, dword [esp + 0x3c]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x28]
movss xmm1, dword [0x100b1304]
subss xmm0, xmm1
movss xmm3, dword [eax + 0xdbc]
subss xmm3, dword [esp + 0x38]
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x1007e9ff
xorps xmm4, xmm4
jmp 0x1007ea06
test eax, 0x2000000
je 0x1007e6b9
movss xmm0, dword [esp + 0x28]
lea edx, [esp + 0x60]
push 0
mov ecx, 0x100b0790
movss dword [esp + 0x64], xmm0
movss dword [esp + 0x68], xmm0
call fcn.1006d470
mov edx, dword [0x10103264]
add esp, 4
mov eax, dword [edx + 0x3e74]
test eax, eax
je 0x1007e8f5
cmp eax, dword [edx + 0x469c]
jne 0x1007e8f5
mov ecx, dword [esp + 0x3c]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x28]
movss xmm1, dword [0x100b1304]
subss xmm4, xmm1
movss xmm3, dword [ecx + 0xdb8]
subss xmm3, dword [esp + 0x48]
divss xmm3, xmm4
comiss xmm0, xmm3
jbe 0x1007e81e
movss dword [esp + 0x24], xmm0
jmp 0x1007e82b
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [esp + 0x24], xmm2
movss xmm2, dword [ecx + 0xdbc]
subss xmm2, dword [esp + 0x38]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x1007e847
xorps xmm3, xmm3
jmp 0x1007e84e
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm5, dword [edi + 4]
movaps xmm2, xmm1
movss xmm6, dword [edi + 8]
subss xmm2, xmm3
movss dword [esp + 0x50], xmm2
movss xmm2, dword [edi]
comiss xmm0, xmm2
jbe 0x1007e873
xorps xmm3, xmm3
jmp 0x1007e87a
movaps xmm3, xmm1
minss xmm3, xmm2
comiss xmm0, xmm5
movss xmm4, dword [0x100b14c8]
movss xmm2, dword [0x100b12bc]
mulss xmm3, xmm4
addss xmm3, xmm2
cvttss2si esi, xmm3
jbe 0x1007e8a0
xorps xmm3, xmm3
jmp 0x1007e8a7
movaps xmm3, xmm1
minss xmm3, xmm5
mulss xmm3, xmm4
addss xmm3, xmm2
cvttss2si eax, xmm3
shl eax, 8
or esi, eax
comiss xmm0, xmm6
jbe 0x1007e8c2
xorps xmm1, xmm1
jmp 0x1007e8c6
minss xmm1, xmm6
mulss xmm1, xmm4
addss xmm1, xmm2
cvttss2si eax, xmm1
shl eax, 0x10
or eax, esi
cmp dword [ecx + 0x5950], eax
jne 0x1007e8ed
movss xmm0, dword [ecx + 0x5948]
movss dword [esp + 0x18], xmm0
mov al, 1
mov byte [esp + 0xe], al
jmp 0x1007e8f9
mov al, byte [esp + 0xe]
mov byte [esp + 0x17], al
mov byte [esp + 0xf], al
mov eax, dword [esp + 0x10]
test al, 8
jne 0x1007e919
mov ecx, str.context
call fcn.10015460
mov edx, dword [0x10103264]
mov eax, dword [edx + 0x3e28]
mov ecx, 0x100b0794
movss xmm0, dword [esp + 0x90]
push 0
mov byte [eax + 0xa8], 1
mov eax, dword [edx + 0x3e28]
lea edx, [esp + 0x64]
movss dword [eax + 0xec], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [eax + 0xf0], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x2c]
mov byte [eax + 0x12d], 1
movss dword [esp + 0x68], xmm0
call fcn.1006d470
mov eax, dword [0x10103264]
add esp, 4
mov ecx, dword [eax + 0x3e74]
test ecx, ecx
je 0x1007e6b9
mov dl, byte [esp + 0xe]
mov byte [esp + 0x17], dl
cmp ecx, dword [eax + 0x469c]
jne 0x1007e6b9
mov eax, dword [esp + 0x3c]
movss xmm4, dword [esp + 0x28]
movss xmm3, dword [esp + 0x38]
movaps xmm0, xmm4
movss xmm1, dword [0x100b1304]
movss xmm2, dword [eax + 0xdbc]
subss xmm0, xmm1
subss xmm2, xmm3
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
ja 0x1007e9e2
movaps xmm0, xmm1
minss xmm0, xmm2
mov al, byte [esp + 0xf]
movss dword [esp + 0x18], xmm0
mov byte [esp + 0x1f], 1
mov byte [esp + 0xe], 1
mov byte [esp + 0x17], al
jmp 0x1007e6c5
movaps xmm4, xmm1
minss xmm4, xmm3
movaps xmm0, xmm1
mov byte [esp + 0xe], 1
subss xmm0, xmm4
movss dword [edi + 0xc], xmm0
mov edx, dword [0x10103264]
dec dword [edx + 0x4768]
mov eax, dword [edx + 0x4770]
mov ecx, dword [edx + 0x4768]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x4680], eax
mov edx, dword [esp + 0x10]
test edx, 0x100
jne 0x1007ea62
mov eax, dword [esp + 0x3c]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x37ec]
call fcn.10013c20
call fcn.10014110
mov edx, dword [esp + 0x10]
test dl, dl
js 0x1007eacb
mov ecx, dword [esp + 0x44]
cmp ecx, 0xffffffff
jae 0x1007eacb
nop
mov al, byte [ecx]
mov byte [esp + 0xf], al
test al, al
je 0x1007ea89
cmp al, 0x23
jne 0x1007ea83
cmp byte [ecx + 1], al
je 0x1007ea89
inc ecx
cmp ecx, 0xffffffff
jb 0x1007ea70
mov eax, dword [esp + 0x44]
mov dword [esp + 0x20], ecx
cmp eax, ecx
je 0x1007eacb
test edx, 0x100
je 0x1007eab9
mov eax, dword [esp + 0x3c]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x37ec]
call fcn.10013c20
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x44]
mov edx, ecx
mov ecx, eax
push 0
call fcn.1006b7c0
mov edx, dword [esp + 0x14]
add esp, 4
test edx, 0x100
jne 0x1007ecf9
mov eax, dword [0x10103264]
mov ecx, dword [eax + 0x4680]
or ecx, 0x10
mov dword [eax + 0x4680], ecx
add eax, 0x4768
mov dword [esp + 0x74], ecx
mov dword [esp + 0x44], eax
mov ecx, dword [eax + 4]
mov dword [esp + 0x7c], ecx
cmp dword [eax], ecx
jne 0x1007eb3f
mov edx, dword [eax]
inc edx
mov dword [esp + 0x5c], edx
test ecx, ecx
je 0x1007eb25
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x5c]
mov ecx, eax
mov eax, dword [esp + 0x44]
sar ecx, 1
add ecx, dword [esp + 0x7c]
jmp 0x1007eb2a
mov ecx, 8
cmp ecx, edx
cmovg edx, ecx
mov ecx, eax
push edx
call fcn.10025b30
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov esi, dword [esp + 0x74]
mov dword [eax + ecx*4], esi
mov eax, dword [esp + 0x44]
inc dword [eax]
test dl, 2
je 0x1007eb60
movss xmm1, dword [0x100b1304]
jmp 0x1007eb65
movss xmm1, dword [edi + 0xc]
movss xmm0, dword [edi]
mov esi, dword [esp + 0x94]
movss dword [esp + 0x114], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x118], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0x11c], xmm0
movss dword [esp + 0x120], xmm1
test dl, dl
jns 0x1007ebb3
push str.Current
call fcn.1006be90
mov edx, dword [esp + 0x14]
add esp, 4
movss xmm1, dword [esp + 0x6c]
lea ecx, [esp + 0x60]
movaps xmm0, xmm1
and edx, 0x180e0040
mulss xmm0, dword [0x100b13a4]
push ecx
mov dword [esp + 0x78], edx
mov ecx, str.current
push edx
movss dword [esp + 0x84], xmm0
lea edx, [esp + 0x11c]
movss dword [esp + 0x68], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x64], xmm0
movss dword [esp + 0x6c], xmm0
call fcn.10080630
add esp, 8
cmp dword [esp + 0x40], 0
je 0x1007ecce
push str.Original
call fcn.1006be90
mov eax, dword [esp + 0x14]
add esp, 4
test al, 2
mov eax, dword [esp + 0x40]
je 0x1007ec38
movss xmm1, dword [0x100b1304]
jmp 0x1007ec3d
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0xf0]
movss dword [esp + 0xf0], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0xf4], xmm0
movss xmm0, dword [eax + 8]
lea eax, [esp + 0x60]
movss dword [esp + 0xf8], xmm0
movss xmm0, dword [esp + 0x7c]
push eax
push dword [esp + 0x78]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x64]
movss dword [esp + 0x104], xmm1
movss dword [esp + 0x6c], xmm0
call fcn.10080630
add esp, 8
test al, al
je 0x1007ecce
xor eax, eax
cmp dword [esp + 0xa4], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x44]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xe], 1
mov edx, dword [0x10103264]
dec dword [edx + 0x4768]
mov eax, dword [edx + 0x4770]
mov ecx, dword [edx + 0x4768]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x4680], eax
call fcn.10014240
mov edx, dword [esp + 0x10]
cmp byte [esp + 0x1f], 0
jne 0x1007ed0b
cmp byte [esp + 0x17], 0
je 0x1007ee11
test edx, 0x8000000
je 0x1007ede9
movss xmm2, dword [esp + 0x50]
lea eax, [edi + 8]
movss xmm1, dword [esp + 0x24]
lea edx, [edi + 4]
movss xmm0, dword [esp + 0x18]
mov ecx, edi
push eax
call fcn.10003d10
mov ecx, dword [esp + 0x40]
add esp, 4
movss xmm0, dword [esp + 0x18]
movss xmm1, dword [0x100b1304]
movss dword [ecx + 0x5948], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [ecx + 0x594c], xmm0
xorps xmm0, xmm0
movss xmm2, dword [edi]
comiss xmm0, xmm2
movss xmm5, dword [edi + 4]
movss xmm6, dword [edi + 8]
jbe 0x1007ed7d
xorps xmm3, xmm3
jmp 0x1007ed84
movaps xmm3, xmm1
minss xmm3, xmm2
comiss xmm0, xmm5
movss xmm4, dword [0x100b14c8]
movss xmm2, dword [0x100b12bc]
mulss xmm3, xmm4
addss xmm3, xmm2
cvttss2si edx, xmm3
jbe 0x1007edaa
xorps xmm3, xmm3
jmp 0x1007edb1
movaps xmm3, xmm1
minss xmm3, xmm5
mulss xmm3, xmm4
addss xmm3, xmm2
cvttss2si eax, xmm3
shl eax, 8
or edx, eax
comiss xmm0, xmm6
jbe 0x1007edcc
xorps xmm1, xmm1
jmp 0x1007edd0
minss xmm1, xmm6
mulss xmm1, xmm4
addss xmm1, xmm2
cvttss2si eax, xmm1
shl eax, 0x10
or eax, edx
mov dword [ecx + 0x5950], eax
jmp 0x1007ee11
test edx, sym.xinput1_3.dll_Ordinal_9
je 0x1007ee11
movss xmm0, dword [esp + 0x18]
movss dword [edi], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x50]
movss dword [edi + 8], xmm0
mov eax, dword [esp + 0x10]
mov byte [esp + 0xf], 0
test al, 0x20
jne 0x1007f0fc
cmp dword [esp + 0xc8], 0x10000
jne 0x1007ee3a
movss xmm0, dword [esp + 0xc4]
jmp 0x1007ee43
movss xmm0, dword [esp + 0x90]
mov eax, dword [0x10103264]
addss xmm0, dword [esp + 0x6c]
mov dword [esp + 0xb4], eax
mov eax, dword [eax + 0x3e28]
mov edx, dword [eax + 0x1ac]
lea ecx, [eax + 0x1ac]
subss xmm0, dword [esp + 0x48]
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x74], ecx
movss dword [esp + 0x5c], xmm0
cmp edx, eax
jne 0x1007eeb3
inc edx
mov dword [esp + 0x7c], edx
test eax, eax
je 0x1007ee99
cdq
sub eax, edx
mov edx, dword [esp + 0x7c]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1007ee9e
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10025b30
movss xmm0, dword [esp + 0x5c]
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x1a4]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x40]
inc dword [ecx + 0x1ac]
ucomiss xmm0, dword [0x100b122c]
lahf
test ah, 0x44
jp 0x1007eee4
movss xmm0, dword [ecx + 0x244]
mov eax, dword [esp + 0xb4]
movss dword [ecx + 0x1a4], xmm0
and dword [eax + 0x4688], 0xfffffffe
mov eax, dword [esp + 0x10]
mov ecx, eax
and ecx, 0x198e001a
mov dword [esp + 0x40], ecx
test eax, 0x100000
jne 0x1007ef18
test eax, 0x700000
jne 0x1007ef5f
or ecx, 0x100004
mov edx, edi
push ecx
mov ecx, str.rgb
call fcn.1007c7e0
add esp, 4
test al, al
je 0x1007ef57
mov eax, dword [esp + 0x3c]
cmp dword [eax + 0x3e74], 0
je 0x1007ef4d
cmp byte [eax + 0x3e81], 0
mov byte [esp + 0xf], 1
je 0x1007ef52
mov byte [esp + 0xf], 0
mov byte [esp + 0xe], 1
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
test eax, 0x200000
jne 0x1007ef6d
test eax, 0x700000
jne 0x1007ef8b
or ecx, 0x200004
mov edx, edi
push ecx
mov ecx, str.hsv
call fcn.1007c7e0
add esp, 4
or byte [esp + 0xe], al
mov eax, dword [esp + 0x10]
test eax, 0x400000
jne 0x1007ef99
test eax, 0x700000
jne 0x1007efb6
mov eax, dword [esp + 0x40]
mov edx, edi
or eax, 0x400004
mov ecx, str.hex
push eax
call fcn.1007c7e0
add esp, 4
or byte [esp + 0xe], al
cmp byte [esp + 0xf], 0
mov ecx, dword [0x10103264]
mov eax, dword [ecx + 0x3e28]
mov byte [eax + 0xa8], 1
mov edx, dword [ecx + 0x3e28]
mov ecx, dword [edx + 0x1ac]
mov eax, dword [edx + 0x1b4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1a4], eax
lea eax, [ecx - 1]
mov dword [edx + 0x1ac], eax
mov eax, dword [esp + 0x10]
je 0x1007f0fc
test eax, 0x8000000
je 0x1007f0fc
movss xmm3, dword [edi + 4]
xorps xmm2, xmm2
movss xmm5, dword [edi + 8]
xorps xmm6, xmm6
comiss xmm5, xmm3
movss xmm4, dword [edi]
jbe 0x1007f032
movss xmm6, dword [0x100b1560]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x1007f04f
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x100b154c]
subss xmm0, xmm6
movaps xmm6, xmm0
movaps xmm0, xmm3
movaps xmm1, xmm4
minss xmm0, xmm5
subss xmm3, xmm5
subss xmm1, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x100b123c]
movaps xmm7, xmm1
mulss xmm1, dword [0x100b13d8]
divss xmm7, xmm0
addss xmm1, dword [0x100b123c]
divss xmm3, xmm1
addss xmm3, xmm6
movss xmm6, dword [0x100b17c0]
andps xmm3, xmm6
comiss xmm2, xmm3
jb 0x1007f104
movss xmm0, dword [esp + 0x18]
comiss xmm0, xmm2
jbe 0x1007f104
comiss xmm2, xmm4
jb 0x1007f0d1
movss xmm1, dword [esp + 0x50]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1007f0cd
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x24]
mulss xmm2, dword [0x100b12bc]
jmp 0x1007f0e7
mov eax, dword [esp + 0x10]
comiss xmm2, xmm7
jb 0x1007f104
movss xmm1, dword [esp + 0x24]
movaps xmm2, xmm4
mulss xmm1, dword [0x100b12bc]
lea eax, [edi + 8]
mov ecx, edi
push eax
lea edx, [edi + 4]
call fcn.10003d10
mov eax, dword [esp + 0x14]
add esp, 4
movss xmm6, dword [0x100b17c0]
cmp byte [esp + 0xe], 0
je 0x1007f27d
test eax, 0x8000000
je 0x1007f208
movss xmm0, dword [edi + 4]
xorps xmm4, xmm4
movss xmm1, dword [edi + 8]
movaps xmm2, xmm0
comiss xmm1, xmm0
movss xmm7, dword [edi]
movaps xmm5, xmm1
movss dword [esp + 0x70], xmm7
movss dword [esp + 0x84], xmm0
movss dword [esp + 0x68], xmm1
jbe 0x1007f159
movss xmm4, dword [0x100b1560]
movaps xmm2, xmm1
movaps xmm5, xmm0
comiss xmm2, xmm7
movaps xmm3, xmm7
movss dword [esp + 0x50], xmm3
jbe 0x1007f182
movss xmm0, dword [0x100b154c]
movaps xmm3, xmm2
subss xmm0, xmm4
movss dword [esp + 0x50], xmm3
movaps xmm2, xmm7
movaps xmm4, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x18], xmm3
minss xmm0, xmm5
movaps xmm1, xmm3
subss xmm2, xmm5
mov ecx, edi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x28]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x28]
movaps xmm0, xmm1
mulss xmm0, dword [0x100b13d8]
addss xmm0, dword [0x100b123c]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x100b123c]
addss xmm2, xmm4
divss xmm1, xmm0
andps xmm2, xmm6
movss dword [esp + 0x28], xmm2
movss dword [esp + 0x2c], xmm1
call fcn.1007c6f0
movss xmm1, dword [esp + 0x28]
add esp, 8
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x24], xmm0
jmp 0x1007f283
test eax, sym.xinput1_3.dll_Ordinal_9
je 0x1007f27d
movss xmm1, dword [edi + 8]
lea eax, [esp + 0x88]
movss xmm3, dword [edi + 4]
lea edx, [esp + 0x78]
movss xmm0, dword [edi]
lea ecx, [esp + 0x8c]
movss dword [esp + 0x50], xmm1
movaps xmm2, xmm1
push eax
movaps xmm1, xmm3
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x28], xmm3
call fcn.10003d10
movss xmm0, dword [esp + 0x90]
add esp, 4
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0x88]
movss dword [esp + 0x68], xmm0
movss xmm1, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
xorps xmm0, xmm0
movss xmm2, dword [eax + 0x3798]
comiss xmm0, xmm2
ja 0x1007f2a3
movss xmm0, dword [0x100b1304]
minss xmm0, xmm2
mulss xmm0, dword [0x100b14c8]
addss xmm0, dword [0x100b12bc]
cvttss2si edx, xmm0
cvtps2pd xmm0, xmm1
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x58], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x20], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0xd4], ecx
or eax, 0x808080
mov dword [esp + 0xec], ecx
mov dword [esp + 0x44], eax
mov eax, edx
or eax, 0xffff
movsd qword [esp + 0x60], xmm0
fld qword [esp + 0x60]
mov dword [esp + 0xd8], eax
mov eax, edx
or eax, 0xff00
fld1
mov dword [esp + 0xdc], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0xe0], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0xe4], eax
mov eax, edx
or eax, 0xff00ff
mov dword [esp + 0xe8], eax
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [esp + 0x60]
movsd xmm1, qword [esp + 0x60]
cvtpd2ps xmm1, xmm1
movss xmm2, dword [0x100b1304]
divss xmm1, dword [0x100b1294]
movaps xmm4, xmm2
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movaps xmm0, xmm2
subss xmm4, xmm1
subss xmm0, xmm4
cmp eax, 5
ja case.0x1007f384.5
jmp dword [eax*4 + 0x10080614]
movaps xmm5, xmm0
xorps xmm0, xmm0
jmp 0x1007f3c2
movaps xmm3, xmm4
movaps xmm5, xmm2
xorps xmm0, xmm0
jmp 0x1007f3c5
xorps xmm3, xmm3
movaps xmm5, xmm2
jmp 0x1007f3c5
xorps xmm3, xmm3
movaps xmm5, xmm4
movaps xmm0, xmm2
jmp 0x1007f3c5
movaps xmm3, xmm0
xorps xmm5, xmm5
movaps xmm0, xmm2
jmp 0x1007f3c5
xorps xmm5, xmm5
movaps xmm0, xmm4
movaps xmm3, xmm2
xorps xmm1, xmm1
comiss xmm1, xmm3
jbe 0x1007f3d2
xorps xmm4, xmm4
jmp 0x1007f3d9
movaps xmm4, xmm2
minss xmm4, xmm3
comiss xmm1, xmm5
movss xmm6, dword [0x100b14c8]
movss xmm3, dword [0x100b12bc]
mulss xmm4, xmm6
addss xmm4, xmm3
cvttss2si ecx, xmm4
jbe 0x1007f3ff
xorps xmm4, xmm4
jmp 0x1007f406
movaps xmm4, xmm2
minss xmm4, xmm5
mulss xmm4, xmm6
addss xmm4, xmm3
cvttss2si eax, xmm4
shl eax, 8
or ecx, eax
comiss xmm1, xmm0
jbe 0x1007f421
xorps xmm4, xmm4
jmp 0x1007f428
movaps xmm4, xmm2
minss xmm4, xmm0
mulss xmm4, xmm6
addss xmm4, xmm3
cvttss2si eax, xmm4
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x3c]
movss xmm4, dword [eax + 0x3798]
comiss xmm1, xmm4
jbe 0x1007f44f
xorps xmm0, xmm0
jmp 0x1007f456
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm5, dword [esp + 0x70]
mulss xmm0, xmm6
addss xmm0, xmm3
cvttss2si edx, xmm0
shl edx, 0x18
or edx, ecx
comiss xmm1, xmm5
mov dword [esp + 0x88], edx
jbe 0x1007f47e
xorps xmm0, xmm0
jmp 0x1007f485
movaps xmm0, xmm2
minss xmm0, xmm5
movss xmm5, dword [esp + 0x84]
comiss xmm1, xmm5
mulss xmm0, xmm6
addss xmm0, xmm3
cvttss2si ecx, xmm0
jbe 0x1007f4a4
xorps xmm0, xmm0
jmp 0x1007f4ab
movaps xmm0, xmm2
minss xmm0, xmm5
movss xmm5, dword [esp + 0x68]
mulss xmm0, xmm6
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm5
jbe 0x1007f4cc
xorps xmm0, xmm0
jmp 0x1007f4d3
movaps xmm0, xmm2
minss xmm0, xmm5
mulss xmm0, xmm6
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm4
jbe 0x1007f4ee
xorps xmm0, xmm0
jmp 0x1007f4f5
movaps xmm0, xmm2
minss xmm0, xmm4
mov eax, dword [esp + 0x10]
mulss xmm0, xmm6
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
addss xmm0, xmm3
cvttss2si edx, xmm0
shl edx, 0x18
or edx, ecx
mov dword [esp + 0x84], edx
test eax, 0x4000000
je 0x1007feb7
movss xmm0, dword [esp + 0x54]
movaps xmm5, xmm3
movss xmm4, dword [esp + 0x98]
mov eax, 0x2aaaaaab
divss xmm5, xmm0
mov esi, dword [esp + 0x2c]
addss xmm4, xmm0
cvttss2si ecx, xmm0
mulss xmm4, xmm3
imul ecx
movss dword [esp + 0xcc], xmm5
movss dword [esp + 0xb4], xmm4
mov eax, 4
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x68], eax
movd xmm1, eax
lea eax, [esp + 0x104]
cvtdq2ps xmm1, xmm1
mov edi, dword [esi + 0x18]
push ecx
push ecx
mov ecx, esi
movaps xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [0x100b13d8]
divss xmm1, dword [0x100b13d8]
addss xmm0, xmm0
movaps xmm2, xmm4
addss xmm1, xmm1
mulss xmm0, dword [0x100b13a8]
mulss xmm1, dword [0x100b13a8]
subss xmm0, xmm5
addss xmm1, xmm5
movaps xmm3, xmm0
movss dword [esp + 0x78], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x84], xmm1
call fcn.10058950
movss xmm0, dword [esp + 0x9c]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
push dword [esp + 0x28]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.10057460
movss xmm0, dword [esp + 0x70]
cvtps2pd xmm0, xmm0
mov dword [esi + 0x54], 0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x70]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x98]
addss xmm0, dword [esp + 0xbc]
movss dword [esp + 0x5c], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x98]
addss xmm0, dword [esp + 0xb8]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0x78]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x78]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x98]
addss xmm0, dword [esp + 0xbc]
movss dword [esp + 0x7c], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [esp + 0x7c]
xorps xmm4, xmm4
movss xmm6, dword [esp + 0x74]
movss xmm5, dword [esp + 0x5c]
cvtsd2ss xmm4, xmm0
mov ecx, dword [esp + 0x68]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
movss xmm2, dword [0x100b1304]
subss xmm3, xmm5
mulss xmm4, dword [esp + 0x98]
lea eax, [eax + eax*4]
mov ecx, dword [esp + ecx*4 + 0xd4]
addss xmm4, dword [esp + 0xb8]
movaps xmm0, xmm3
mulss xmm0, xmm3
subss xmm4, xmm6
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
movaps xmm0, xmm2
divss xmm0, xmm1
movss dword [esp + 0x74], xmm0
lea eax, [edx + eax*4]
mov dword [esp + 0x7c], eax
lea esi, [esp + 0xd8]
movzx eax, cl
mov dword [esp + 0x8c], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [esp + 0x78], eax
shr ecx, 0x10
movzx eax, cl
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esi + eax*4]
mov esi, dword [esp + 0x2c]
movzx eax, cl
sub eax, dword [esp + 0x8c]
mov dword [esp + 0x5c], eax
mov eax, ecx
shr eax, 8
movzx eax, al
sub eax, dword [esp + 0x78]
shr ecx, 0x10
mov dword [esp + 0x40], eax
lea eax, [edi + edi*4]
mov edi, dword [esp + 0x7c]
lea edx, [edx + eax*4]
movzx ecx, cl
sub ecx, dword [esp + 0x70]
cmp edx, edi
jae 0x1007f86e
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x5c]
movd xmm7, ecx
mov ecx, dword [esp + 0x70]
cvtdq2ps xmm7, xmm7
nop word [eax + eax]
movss xmm0, dword [edx]
movss xmm1, dword [edx + 4]
subss xmm0, xmm5
subss xmm1, xmm6
mulss xmm0, xmm3
mulss xmm1, xmm4
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, dword [esp + 0x74]
comiss xmm0, xmm1
jbe 0x1007f7e0
xorps xmm2, xmm2
jmp 0x1007f7e4
minss xmm2, xmm1
movd xmm1, ecx
movaps xmm0, xmm2
mulss xmm0, xmm7
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvttss2si ecx, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm1
shl ecx, 8
movd xmm1, dword [esp + 0x78]
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
or ecx, eax
shl ecx, 8
mulss xmm2, xmm0
movd xmm0, dword [esp + 0x8c]
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [0x100b1304]
or ecx, eax
mov eax, dword [edx + 0x10]
and eax, 0xff000000
or ecx, eax
mov eax, dword [esp + 0x40]
mov dword [edx + 0x10], ecx
add edx, 0x14
mov ecx, dword [esp + 0x70]
cmp edx, edi
jb 0x1007f7b0
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x68]
movss xmm4, dword [esp + 0xb4]
inc eax
movss xmm5, dword [esp + 0xcc]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x68], eax
cmp eax, 6
jl 0x1007f591
movss xmm0, dword [esp + 0x18]
mulss xmm0, dword [0x100b1380]
mulss xmm0, dword [0x100b13a8]
movss dword [esp + 0x18], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm3, dword [esp + 0x18]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
cvtps2pd xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0x1f], 0
xorps xmm2, xmm2
movss xmm3, dword [esp + 0x98]
addss xmm3, dword [esp + 0x54]
movss xmm1, dword [esp + 0x9c]
cvtsd2ss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x10]
mulss xmm3, xmm2
mulss xmm0, dword [0x100b12bc]
mulss xmm3, dword [0x100b12bc]
addss xmm0, dword [esp + 0xbc]
movss dword [esp + 0x7c], xmm2
addss xmm3, dword [esp + 0xb8]
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x4c], xmm3
je 0x1007f946
mulss xmm1, dword [0x100b12c8]
jmp 0x1007f94e
mulss xmm1, dword [0x100b12c0]
movaps xmm0, xmm1
movss dword [esp + 0x9c], xmm1
divss xmm0, dword [0x100b1338]
cvttss2si eax, xmm0
cmp eax, 9
jge 0x1007f972
mov eax, 9
jmp 0x1007f97c
mov ecx, 0x20
cmp eax, ecx
cmovg eax, ecx
mov edi, dword [esp + 0x2c]
movaps xmm2, xmm1
push eax
push dword [esp + 0x8c]
mov dword [esp + 0x5c], eax
mov ecx, edi
lea eax, [esp + 0x50]
push eax
call fcn.1005a0d0
test dword [esp + 0x44], 0xff000000
mov edx, 0x200
movss xmm6, dword [esp + 0x9c]
movss xmm2, dword [0x100b1304]
movaps xmm4, xmm6
movss xmm5, dword [0x100b13e0]
addss xmm4, xmm2
mov esi, dword [esp + 0x94]
movss xmm3, dword [0x100b12bc]
je 0x1007fa9f
comiss xmm3, xmm4
ja 0x1007fa9f
mov eax, dword [esp + 0x54]
test eax, eax
jg 0x1007fa0b
push ecx
subss xmm4, xmm3
mov ecx, edi
push 0x30
push 0
lea eax, [esp + 0x54]
push eax
movaps xmm2, xmm4
call fcn.10058560
dec dword [edi + 0x54]
jmp 0x1007fa57
cmp eax, 3
jge 0x1007fa17
mov ecx, 3
jmp 0x1007fa21
cmp eax, 0x200
mov ecx, eax
cmovg ecx, edx
movd xmm1, ecx
lea eax, [ecx - 1]
cvtdq2ps xmm1, xmm1
push eax
push ecx
mov ecx, edi
lea eax, [esp + 0x50]
subss xmm4, xmm3
xorps xmm3, xmm3
movaps xmm0, xmm1
subss xmm0, xmm2
movaps xmm2, xmm4
mulss xmm0, xmm5
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.10058950
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x4c]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10057460
movss xmm2, dword [0x100b1304]
mov edx, 0x200
movss xmm3, dword [0x100b12bc]
movss xmm5, dword [0x100b13e0]
movss xmm6, dword [esp + 0x9c]
mov dword [edi + 0x54], 0
test dword [esp + 0x20], 0xff000000
je 0x1007fb45
comiss xmm3, xmm6
ja 0x1007fb45
mov eax, dword [esp + 0x54]
test eax, eax
jg 0x1007fadb
push ecx
subss xmm6, xmm3
mov ecx, edi
push 0x30
push 0
lea eax, [esp + 0x54]
push eax
movaps xmm2, xmm6
call fcn.10058560
dec dword [edi + 0x54]
jmp 0x1007fb23
cmp eax, 3
jge 0x1007fae7
mov eax, 3
jmp 0x1007faef
cmp eax, 0x200
cmovg eax, edx
movd xmm1, eax
subss xmm6, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
lea eax, [esp + 0x4c]
push ecx
xorps xmm3, xmm3
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, xmm2
movaps xmm2, xmm6
mulss xmm0, xmm5
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.10058950
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x28]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10057460
mov dword [edi + 0x54], 0
movss xmm3, dword [esp + 0x10]
xorps xmm1, xmm1
movss xmm5, dword [esp + 0x7c]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x30]
movaps xmm0, xmm5
mov eax, dword [0x10103264]
mov ecx, edi
movss xmm6, dword [esp + 0xbc]
movaps xmm4, xmm3
mulss xmm0, xmm1
push 6
movss xmm7, dword [esp + 0xbc]
mulss xmm4, dword [esp + 0xb0]
push 6
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, dword [esp + 0xb4]
addss xmm2, xmm6
movss dword [esp + 0x5c], xmm2
movss dword [esp + 0x68], xmm2
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x38]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xa8]
mulss xmm5, dword [esp + 0xb0]
addss xmm2, xmm7
movss dword [esp + 0x70], xmm2
movss dword [esp + 0x6c], xmm2
movaps xmm2, xmm4
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xa8]
subss xmm4, xmm5
mulss xmm3, dword [esp + 0xb0]
addss xmm0, xmm1
addss xmm4, xmm6
addss xmm3, xmm1
addss xmm2, xmm6
addss xmm0, xmm7
movss dword [esp + 0x9c], xmm4
addss xmm3, xmm7
movss dword [esp + 0x10c], xmm4
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [eax + 0x3bbc]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [eax + 0x3bc0]
movss dword [esp + 0x18], xmm3
movss dword [esp + 0x110], xmm3
movss dword [esp + 0x64], xmm0
call fcn.10057240
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
movss xmm2, dword [esp + 0x54]
movss xmm3, dword [esp + 0x68]
movss xmm0, dword [esp + 0x7c]
movss xmm1, dword [esp + 0x5c]
mov word [ecx], ax
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov edx, dword [esp + 0x88]
movss xmm5, dword [esp + 0x30]
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], edx
mov eax, dword [edi + 0x38]
inc dword [edi + 0x28]
add dword [edi + 0x34], 0x14
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm5
movss xmm4, dword [esp + 0x34]
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
movss xmm7, dword [esp + 0x94]
movss xmm6, dword [esp + 0x10]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], edx
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov ecx, dword [esp + 0x20]
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], ecx
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov ecx, dword [esp + 0x58]
movss dword [eax], xmm5
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], ecx
mov eax, dword [edi + 0x38]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
push ecx
mov dword [esp], 0x3fc00000
mov ecx, edi
push dword [esp + 0x48]
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
lea eax, [esp + 0x10c]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.10059ea0
movss xmm2, dword [0x100b1304]
movaps xmm0, xmm2
xorps xmm1, xmm1
subss xmm0, dword [esp + 0x50]
comiss xmm1, xmm0
jbe 0x1007fe2f
xorps xmm4, xmm4
jmp 0x1007fe36
movaps xmm4, xmm2
minss xmm4, xmm0
movss xmm0, dword [esp + 0x24]
comiss xmm1, xmm0
jbe 0x1007fe46
xorps xmm2, xmm2
jmp 0x1007fe4a
minss xmm2, xmm0
movss xmm0, dword [esp + 0x54]
subss xmm0, dword [esp + 0x94]
movss xmm3, dword [esp + 0x30]
mulss xmm0, xmm2
addss xmm0, dword [esp + 0x94]
subss xmm3, xmm0
mulss xmm3, xmm4
addss xmm3, xmm0
movss xmm0, dword [esp + 0x68]
subss xmm0, dword [esp + 0x10]
movss dword [esp + 0xf0], xmm3
mulss xmm0, xmm2
movss xmm2, dword [esp + 0x34]
addss xmm0, dword [esp + 0x10]
subss xmm2, xmm0
mulss xmm2, xmm4
addss xmm2, xmm0
movss dword [esp + 0xf4], xmm2
jmp 0x1008022a
test eax, 0x2000000
je 0x10080240
movss xmm1, dword [esp + 0x48]
movss xmm2, dword [esp + 0x28]
movaps xmm0, xmm1
mov ecx, dword [esp + 0x20]
addss xmm0, xmm2
mov eax, dword [esp + 0x88]
addss xmm1, xmm2
push ecx
push eax
push eax
movss dword [esp + 0x3c], xmm0
lea eax, [esp + 0x3c]
movss xmm0, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x3c]
addss xmm0, xmm2
push eax
lea eax, [esp + 0x5c]
movss dword [esp + 0x68], xmm1
push eax
movss dword [esp + 0x4c], xmm0
call fcn.10059d20
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x104]
movss xmm0, dword [esp + 0x54]
push ecx
push ecx
mov ecx, dword [esp + 0x34]
push 0
push 0
push eax
movss dword [esp + 0x118], xmm0
lea eax, [esp + 0x5c]
movss xmm0, dword [esp + 0x48]
push eax
movss dword [esp + 0x120], xmm0
call fcn.10059d20
movss xmm0, dword [esp + 0x54]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp + 0x80], xmm0
xorps xmm0, xmm0
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.100063e0
movss xmm2, dword [esp + 0x34]
xorps xmm0, xmm0
movss xmm1, dword [0x100b1304]
add esp, 0x10
comiss xmm0, xmm2
jbe 0x1007ffac
xorps xmm3, xmm3
jmp 0x1007ffb3
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm6, dword [esp + 0x28]
movss xmm5, dword [esp + 0x48]
movss xmm2, dword [0x100b12bc]
mulss xmm3, xmm6
movss xmm7, dword [0x100b1380]
addss xmm3, xmm5
addss xmm3, xmm2
cvttss2si eax, xmm3
movaps xmm3, xmm5
addss xmm5, xmm6
addss xmm3, xmm7
movd xmm4, eax
cvtdq2ps xmm4, xmm4
subss xmm5, xmm7
comiss xmm3, xmm4
jbe 0x10080005
movss dword [esp + 0xf0], xmm3
jmp 0x1008001e
comiss xmm4, xmm5
jbe 0x10080015
movss dword [esp + 0xf0], xmm5
jmp 0x1008001e
movss dword [esp + 0xf0], xmm4
movaps xmm3, xmm1
subss xmm3, dword [esp + 0x50]
comiss xmm0, xmm3
jbe 0x10080031
xorps xmm1, xmm1
jmp 0x10080035
minss xmm1, xmm3
movss xmm3, dword [esp + 0x38]
mulss xmm1, xmm6
movss xmm0, dword [esp + 0x34]
subss xmm0, xmm7
addss xmm1, xmm3
addss xmm1, xmm2
cvttss2si eax, xmm1
movaps xmm1, xmm3
addss xmm1, xmm7
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x10080073
movss dword [esp + 0xf4], xmm1
jmp 0x1008008c
comiss xmm2, xmm0
jbe 0x10080083
movss dword [esp + 0xf4], xmm0
jmp 0x1008008c
movss dword [esp + 0xf4], xmm2
movss xmm2, dword [esp + 0x90]
lea eax, [esp + 0xd8]
movaps xmm1, xmm6
mov esi, dword [esp + 0x2c]
divss xmm1, dword [0x100b13d8]
xor ecx, ecx
movaps xmm0, xmm2
movss dword [esp + 0x60], xmm2
addss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x7c], xmm1
movss dword [esp + 0x104], xmm0
nop dword [eax + eax]
mov eax, dword [eax + ecx*4]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0x10c]
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0x110], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0xdc]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0x74]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0x7c], xmm0
call fcn.10059d20
movss xmm1, dword [esp + 0x7c]
lea eax, [esp + 0xd8]
movss xmm3, dword [esp + 0x38]
mov ecx, edi
cmp ecx, 6
jl 0x100800d0
movss xmm2, dword [esp + 0x38]
movss xmm3, dword [esp + 0x90]
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x28]
movaps xmm1, xmm3
movss dword [esp + 0x4c], xmm2
addss xmm1, dword [esp + 0x6c]
movss dword [esp + 0x48], xmm3
movss dword [esp + 0x34], xmm0
xorps xmm0, xmm0
push dword [esp + 0x34]
movss dword [esp + 0x34], xmm1
push dword [esp + 0x34]
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.100063e0
mov esi, dword [esp + 0xa4]
movss xmm1, dword [esp + 0x7c]
addss xmm1, dword [0x100b1380]
mov ecx, dword [esp + 0x3c]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x44], xmm2
addss xmm0, dword [0x100b1304]
movss xmm2, dword [esp + 0xa0]
push dword [esp + 0x44]
subss xmm2, dword [0x100b1304]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x2c]
mulss xmm0, dword [esp + 0x3c]
push dword [esp + 0x44]
movss dword [esp + 0x60], xmm2
addss xmm0, dword [esp + 0x50]
addss xmm0, dword [0x100b12bc]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x54]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x3798]
movss dword [esp + 0x64], xmm0
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.1007d9f0
add esp, 0x20
mov edx, dword [esp + 0x84]
mov edi, dword [esp + 0xb0]
movss xmm3, dword [0x100b12bc]
cmp byte [esp + 0x17], 0
je 0x1008025a
movss xmm2, dword [0x100b13f4]
movss dword [esp + 0xc0], xmm2
jmp 0x10080262
movss xmm2, dword [0x100b13d8]
test edx, 0xff000000
je 0x100802b2
comiss xmm3, xmm2
ja 0x100802b2
push 0xb
push ecx
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0xf8]
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
call fcn.10058950
mov eax, dword [esp + 0x2c]
mov ecx, eax
push dword [esp + 0x84]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10058160
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x54], 0
jmp 0x100802b6
mov eax, dword [esp + 0x2c]
test dword [esp + 0x44], 0xff000000
movss xmm1, dword [esp + 0xc0]
movss xmm0, dword [0x100b12bc]
movaps xmm2, xmm1
addss xmm2, dword [0x100b1304]
je 0x1008033c
comiss xmm0, xmm2
ja 0x1008033c
push 0xb
push ecx
subss xmm2, xmm0
mov dword [esp], 0x40b84e89
lea ecx, [esp + 0xf8]
xorps xmm3, xmm3
push ecx
mov ecx, eax
call fcn.10058950
mov eax, dword [esp + 0x2c]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push dword [esp + 0x4c]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10057460
mov eax, dword [esp + 0x2c]
movss xmm0, dword [0x100b12bc]
movss xmm1, dword [esp + 0xc0]
mov dword [eax + 0x54], 0
test dword [esp + 0x20], 0xff000000
je 0x10080398
comiss xmm0, xmm1
ja 0x10080398
push 0xb
push ecx
subss xmm1, xmm0
mov dword [esp], 0x40b84e89
lea ecx, [esp + 0xf8]
xorps xmm3, xmm3
push ecx
mov ecx, eax
movaps xmm2, xmm1
call fcn.10058950
mov eax, dword [esp + 0x2c]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push dword [esp + 0x28]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10057460
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x54], 0
cmp dword [esp + 0xc8], 0x10000
jne 0x10080548
movss xmm2, dword [edi + 0xc]
xorps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x100803be
movss dword [esp + 0x58], xmm1
jmp 0x100803d0
movss xmm0, dword [0x100b1304]
minss xmm0, xmm2
movss dword [esp + 0x58], xmm0
movss xmm3, dword [esp + 0xc4]
xor edx, edx
movss xmm0, dword [esp + 0x38]
movaps xmm2, xmm3
addss xmm2, dword [esp + 0x6c]
movss dword [esp + 0x108], xmm0
mov ecx, eax
addss xmm0, dword [esp + 0x28]
mov dword [esp + 0x34], 0
push dword [esp + 0x34]
mov dword [esp + 0x34], 0
push dword [esp + 0x34]
movss dword [esp + 0x114], xmm2
subss xmm2, xmm3
movss dword [esp + 0x118], xmm0
push dword [esp + 0x118]
movss dword [esp + 0x110], xmm3
xorps xmm3, xmm3
push dword [esp + 0x118]
mov edi, dword [esp + 0x114]
push dword [esp + 0x118]
mulss xmm2, dword [0x100b12bc]
push edi
push 0
call fcn.1005f1b0
mov ecx, dword [esp + 0xa0]
add esp, 0x1c
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x11c]
push eax
lea eax, [esp + 0x118]
push eax
call fcn.10059d20
push dword [esp + 0x110]
xorps xmm0, xmm0
push dword [esp + 0x110]
push dword [esp + 0x110]
push edi
call fcn.100063e0
movss xmm1, dword [0x100b1304]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x3c]
movaps xmm0, xmm2
movss dword [esp + 0x44], xmm2
movss xmm2, dword [esp + 0xd4]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0x68]
push dword [esp + 0x44]
movss dword [esp + 0x44], xmm0
push dword [esp + 0x44]
mulss xmm1, dword [esp + 0x40]
movss dword [esp + 0x60], xmm2
movss xmm2, dword [edi + 0x3798]
addss xmm1, dword [esp + 0x50]
addss xmm1, dword [0x100b12bc]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x84]
addss xmm1, dword [0x100b1380]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x64], xmm0
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.1007d9f0
add esp, 0x20
jmp 0x1008054c
mov edi, dword [esp + 0x3c]
call fcn.10014240
cmp byte [esp + 0xe], 0
je 0x100805ea
mov ecx, dword [esp + 0xb0]
lea esi, [esp + 0x124]
xor edx, edx
cmp dword [esp + 0xa4], edx
sete dl
lea edx, [edx*4 + 0xc]
sub edx, 4
jb 0x10080593
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x10080598
add esi, 4
add ecx, 4
sub edx, 4
jae 0x10080582
cmp edx, 0xfffffffc
je 0x100805e5
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x100805c5
cmp edx, 0xfffffffd
je 0x100805e5
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x100805c5
cmp edx, 0xfffffffe
je 0x100805e5
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x100805c5
cmp edx, 0xffffffff
je 0x100805e5
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x100805e5
cmp dword [edi + 0x469c], 0
mov eax, dword [0x10103264]
je 0x100805ef
or dword [eax + 0x46a4], 4
mov word [eax + 0x3e84], 0x101
jmp 0x100805ef
mov byte [esp + 0xe], 0
mov eax, dword [0x10103264]
mov ecx, dword [eax + 0x3e28]
mov al, byte [esp + 0xe]
pop edi
pop esi
dec dword [ecx + 0xe0]
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.10098200
mov esp, ebp
pop ebp
ret