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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x128
mov eax, dword [0x1009f040]
xor eax, esp
mov dword [esp + 0x124], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x54], ecx
mov ecx, dword [0x100a3d98]
mov dword [esp + 0x58], eax
push esi
push edi
mov eax, dword [ecx + 0x1b9c]
mov edi, edx
mov dword [esp + 0x90], edi
mov dword [esp + 0x24], ecx
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1b9c]
mov dword [esp + 0x34], eax
cmp byte [eax + 0x8f], 0
je 0x10073880
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.10086e3f
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x1c80], 1
mov edx, dword [eax + 0x284]
mov dword [esp + 0x40], edx
je 0x1007389d
movss xmm1, dword [ecx + 0x1c84]
jmp 0x100738a5
movss xmm1, dword [eax + 0x1b0]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x100738e7
cmp dword [eax + 0x198], 0
movss xmm0, dword [eax + 0x248]
jne 0x100738c7
cmp dword [ecx + 0x1ed4], 0
je 0x100738cf
movss xmm0, dword [eax + 0x218]
subss xmm0, dword [eax + 0xd0]
addss xmm0, xmm1
movss xmm1, dword [0x1009c60c]
maxss xmm1, xmm0
mov dword [ecx + 0x1c80], 0
mov ecx, dword [esp + 0x5c]
cvttss2si esi, xmm1
call fcn.10010270
call fcn.10010be0
mov ecx, dword [ebp + 8]
mov edx, ecx
or edx, 0x10
test ecx, 0x100
cmovne edx, ecx
mov dword [esp + 0x88], edx
test dl, 8
jne 0x1007392e
mov ecx, edi
call fcn.10077370
mov edx, dword [esp + 0x88]
test edx, 0x6000000
jne 0x1007395c
mov edx, dword [esp + 0x24]
mov ecx, 0xa900000
mov eax, dword [edx + 0x2e30]
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, dword [esp + 0x88]
jmp 0x10073962
mov ecx, edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
test ecx, 0x18000000
jne 0x10073999
mov eax, dword [edx + 0x2e30]
mov edi, 0xa900000
test eax, 0x18000000
cmovne edi, eax
mov eax, edi
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x90]
and eax, 0x18000000
or ecx, eax
mov dword [esp + 0xc], ecx
test cl, 8
jne 0x100739af
mov eax, dword [edx + 0x2e30]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0xc], ecx
mov eax, ecx
movss xmm2, dword [edx + 0x1568]
and eax, 2
movd xmm3, esi
mov dword [esp + 0x88], eax
and ecx, 0x10002
mov eax, dword [esp + 0x34]
cvtdq2ps xmm3, xmm3
mov dword [esp + 0xc0], ecx
movss xmm5, dword [eax + 0xd0]
movss xmm0, dword [eax + 0xd4]
mov eax, dword [0x100a3d98]
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x48], xmm5
movss xmm4, dword [eax + 0x1554]
addss xmm4, xmm4
movss dword [esp + 0x50], xmm5
addss xmm4, dword [eax + 0x1930]
xor eax, eax
cmp ecx, 0x10000
sete al
inc eax
addss xmm0, xmm4
movss dword [esp + 0x58], xmm4
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0x88], eax
sete al
mulss xmm1, xmm0
movaps xmm0, xmm4
lea eax, [eax*4 + 0xc]
push eax
lea eax, [esp + 0x120]
subss xmm3, xmm1
movaps xmm1, xmm5
push edi
push eax
maxss xmm0, xmm3
addss xmm1, xmm0
movss dword [esp + 0x24], xmm0
addss xmm1, xmm2
movaps xmm0, xmm1
movss dword [esp + 0xac], xmm1
addss xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0xc8], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x1009c5a4]
cvttss2si esi, xmm0
mov dword [esp + 0xbc], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm0, dword [esp + 0x24]
add esp, 0xc
movaps xmm4, xmm0
movaps xmm3, xmm0
mulss xmm3, dword [0x1009c588]
mulss xmm4, dword [0x1009c5c4]
movss dword [esp + 0x7c], xmm3
movaps xmm2, xmm4
movss dword [esp + 0x94], xmm4
subss xmm2, xmm3
movaps xmm1, xmm4
addss xmm1, dword [esp + 0x20]
movaps xmm3, xmm0
mulss xmm0, dword [0x1009c578]
addss xmm3, dword [esp + 0x58]
movss dword [esp + 0x78], xmm2
cvttss2si eax, xmm0
mulss xmm3, dword [0x1009c5c4]
movss dword [esp + 0xa4], xmm1
movss dword [esp + 0xf4], xmm1
movaps xmm1, xmm2
addss xmm3, dword [esp + 0x48]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xa8], xmm3
movss dword [esp + 0xf0], xmm3
subss xmm1, xmm0
movss xmm3, dword [edi]
movaps xmm0, xmm1
mulss xmm0, dword [0x1009c7c4]
movaps xmm2, xmm1
mov eax, dword [esp + 0xc]
mulss xmm2, dword [0x1009c7d0]
mov dword [esp + 0x3c], 0
movss xmm4, dword [edi + 4]
movss dword [esp + 0xc8], xmm0
movss dword [esp + 0xe0], xmm0
movss dword [esp + 0x100], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x1009c5f4]
movss dword [esp + 0x8c], xmm2
movss dword [esp + 0xe4], xmm2
movss xmm2, dword [edi + 8]
movss dword [esp + 0xac], xmm0
movss dword [esp + 0x104], xmm0
movaps xmm0, xmm3
movss dword [esp + 0x84], xmm0
movss dword [esp + 0x6c], xmm0
movaps xmm0, xmm4
movss dword [esp + 0x80], xmm0
movss dword [esp + 0x70], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x74], xmm0
movss dword [esp + 0x68], xmm0
movss xmm0, dword [0x1009c6d4]
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x1c], xmm3
movss dword [esp + 0x30], xmm4
movss dword [esp + 0x44], xmm2
movss dword [esp + 0xcc], xmm0
test eax, 0x8000000
je 0x10073d21
comiss xmm2, xmm4
xorps xmm1, xmm1
xorps xmm6, xmm6
movaps xmm5, xmm4
movaps xmm7, xmm2
jbe 0x10073c4a
movss xmm6, dword [0x1009c7d4]
movaps xmm5, xmm2
movaps xmm7, xmm4
comiss xmm5, xmm3
movaps xmm2, xmm3
movss dword [esp + 0x44], xmm2
jbe 0x10073c73
movss xmm0, dword [0x1009c7c0]
movaps xmm2, xmm5
subss xmm0, xmm6
movss dword [esp + 0x44], xmm2
movaps xmm5, xmm3
movaps xmm6, xmm0
movaps xmm0, xmm5
mov ecx, dword [esp + 0x24]
minss xmm0, xmm7
movaps xmm4, xmm2
movaps xmm3, xmm5
subss xmm3, xmm7
mov eax, dword [ecx + 0x2e3c]
subss xmm4, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x1009c6d4]
addss xmm0, dword [0x1009c54c]
divss xmm3, xmm0
movaps xmm0, xmm2
addss xmm3, xmm6
addss xmm0, dword [0x1009c54c]
andps xmm3, xmmword [0x1009d020]
divss xmm4, xmm0
movss dword [esp + 0x1c], xmm3
movss dword [esp + 0x30], xmm4
cmp eax, dword [edi]
jne 0x10073d6d
mov eax, dword [ecx + 0x2e40]
cmp eax, dword [edi + 4]
jne 0x10073d6d
mov eax, dword [ecx + 0x2e44]
cmp eax, dword [edi + 8]
jne 0x10073d6d
ucomiss xmm4, xmm1
lahf
test ah, 0x44
jp 0x10073d08
movss xmm0, dword [ecx + 0x2e34]
movss dword [esp + 0x1c], xmm0
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x10073d6d
movss xmm0, dword [ecx + 0x2e38]
movss dword [esp + 0x30], xmm0
jmp 0x10073d6d
test eax, 0x10000000
je 0x10073d6d
lea eax, [esp + 0x68]
movaps xmm1, xmm4
push eax
lea edx, [esp + 0x74]
movaps xmm0, xmm3
lea ecx, [esp + 0x70]
call fcn.10004870
movss xmm0, dword [esp + 0x70]
add esp, 4
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x74], xmm0
mov eax, dword [0x100a3d98]
lea edx, [eax + 0x1cc4]
mov byte [esp + 9], 0
mov byte [esp + 0x17], 0
mov byte [esp + 0xb], 0
mov ecx, dword [eax + 0x1bbc]
or ecx, 8
mov dword [esp + 0x34], edx
mov dword [eax + 0x1bbc], ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [edx + 4]
cmp dword [edx], ecx
jne 0x10073dd8
test ecx, ecx
je 0x10073db8
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x34]
sar eax, 1
add eax, ecx
jmp 0x10073dbd
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.1001c1a0
mov edi, dword [esp + 0x90]
mov edx, dword [esp + 0x34]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x10]
mov dword [eax + ecx*4], esi
inc dword [edx]
mov eax, dword [esp + 0xc]
test eax, 0x4000000
je 0x10074435
movss xmm1, dword [esp + 0x18]
lea edx, [esp + 0x28]
mov eax, dword [esp + 0x24]
movaps xmm0, xmm1
push 0
mov ecx, 0x1009c228
movss dword [esp + 0x30], xmm1
addss xmm0, dword [eax + 0x1568]
addss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x2c], xmm0
call fcn.10065d20
mov eax, dword [0x100a3d98]
add esp, 4
mov ecx, dword [eax + 0x1bd4]
test ecx, ecx
je 0x100742b1
mov eax, dword [eax + 0x1b9c]
cmp ecx, dword [eax + 0x11c]
jne 0x100742b1
mov eax, dword [esp + 0x24]
movss xmm0, dword [eax + 0x38c]
subss xmm0, dword [esp + 0xa4]
movss xmm1, dword [eax + 0x388]
subss xmm1, dword [esp + 0xa8]
movss xmm2, dword [eax + 0xe4]
movss xmm3, dword [eax + 0xe8]
subss xmm2, dword [esp + 0xa8]
subss xmm3, dword [esp + 0xa4]
movaps xmm4, xmm0
movss dword [esp + 0x98], xmm0
mulss xmm4, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0xc4], xmm1
movss xmm1, dword [0x1009c60c]
addss xmm4, xmm0
movss dword [esp + 0xd8], xmm2
movss xmm0, dword [esp + 0x78]
subss xmm0, xmm1
movss dword [esp + 0xd0], xmm3
mulss xmm0, xmm0
comiss xmm4, xmm0
jb 0x10073f68
movss xmm0, dword [esp + 0x94]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm4
jb 0x10073f68
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x28], xmm0
fld qword [esp + 0x28]
cvtps2pd xmm0, xmm2
movsd qword [esp + 0x28], xmm0
fld qword [esp + 0x28]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm2, dword [0x1009c6a0]
xorps xmm0, xmm0
fstp qword [esp + 0x28]
movsd xmm1, qword [esp + 0x28]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x1009c5c4]
comiss xmm0, xmm1
movss dword [esp + 0x1c], xmm1
jbe 0x10073f60
addss xmm1, dword [0x1009c60c]
movss dword [esp + 0x1c], xmm1
mov al, 1
mov byte [esp + 9], al
jmp 0x10073f7a
mov al, byte [esp + 9]
movss xmm2, dword [0x1009c6a0]
movss xmm1, dword [esp + 0x1c]
movaps xmm0, xmm1
mov byte [esp + 0x17], al
xorps xmm0, xmmword [0x1009d050]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x28], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x34], xmm0
movsd xmm0, qword [esp + 0x28]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm4, dword [esp + 0xc4]
xorps xmm3, xmm3
movss xmm1, dword [esp + 0x98]
movaps xmm5, xmm4
mulss xmm5, dword [esp + 0x34]
movss xmm7, dword [esp + 0xc8]
cvtsd2ss xmm3, xmm0
movaps xmm0, xmm1
movss xmm6, dword [esp + 0x38]
mulss xmm1, dword [esp + 0x34]
subss xmm6, xmm7
mulss xmm0, xmm3
mulss xmm4, xmm3
subss xmm5, xmm0
movss dword [esp + 0x10], xmm3
movss xmm0, dword [esp + 0x8c]
movaps xmm3, xmm7
subss xmm0, dword [esp + 0xac]
addss xmm4, xmm1
movss dword [esp + 0x64], xmm6
subss xmm3, xmm7
movaps xmm2, xmm5
subss xmm2, xmm7
movss dword [esp + 0x98], xmm0
movss dword [esp + 0xc4], xmm3
movaps xmm1, xmm2
mulss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0xac]
mulss xmm0, xmm3
xorps xmm3, xmm3
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0x8c]
comiss xmm3, xmm1
movaps xmm1, xmm0
movss dword [esp + 0xb4], xmm0
movaps xmm0, xmm4
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0x8c]
mulss xmm0, xmm6
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp al, cl
jne 0x100742a9
movss xmm6, dword [esp + 0xac]
subss xmm4, xmm3
subss xmm7, dword [esp + 0x38]
subss xmm5, dword [esp + 0x38]
subss xmm6, xmm3
mulss xmm4, xmm7
mulss xmm5, xmm6
movss dword [esp + 0x4c], xmm6
movss dword [esp + 0x28], xmm7
subss xmm5, xmm4
comiss xmm3, xmm5
seta al
cmp cl, al
jne 0x100742a9
movss xmm4, dword [esp + 0xd8]
movss xmm1, dword [esp + 0xd0]
movaps xmm5, xmm4
mulss xmm5, dword [esp + 0x34]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x34]
mulss xmm0, dword [esp + 0x10]
mulss xmm4, dword [esp + 0x10]
subss xmm5, xmm0
addss xmm4, xmm1
movaps xmm1, xmm5
movss dword [esp + 0xd0], xmm5
subss xmm1, dword [esp + 0xc8]
movaps xmm0, xmm4
movss dword [esp + 0xd4], xmm4
subss xmm0, dword [esp + 0xac]
mulss xmm1, dword [esp + 0x98]
mulss xmm0, dword [esp + 0xc4]
subss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0x8c]
comiss xmm3, xmm1
mulss xmm0, dword [esp + 0x64]
movaps xmm1, xmm5
subss xmm1, dword [esp + 0xc8]
seta cl
mulss xmm1, dword [esp + 0xb4]
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp al, cl
jne 0x100741be
movaps xmm1, xmm5
movaps xmm0, xmm4
subss xmm1, dword [esp + 0x38]
subss xmm0, xmm3
mulss xmm1, xmm6
mulss xmm0, xmm7
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp cl, al
je 0x10074201
lea eax, [esp + 0xd0]
push eax
lea eax, [esp + 0x104]
push eax
lea eax, [esp + 0xe8]
push eax
lea edx, [esp + 0x44]
lea ecx, [esp + 0xe4]
call fcn.10003ed0
movss xmm6, dword [esp + 0x58]
add esp, 0xc
movss xmm7, dword [esp + 0x28]
xorps xmm3, xmm3
movss xmm5, dword [eax]
movss xmm4, dword [eax + 4]
movss xmm2, dword [esp + 0x8c]
subss xmm4, xmm3
subss xmm5, dword [esp + 0x38]
subss xmm2, xmm3
movaps xmm1, xmm6
movaps xmm0, xmm7
mulss xmm1, xmm7
mulss xmm4, xmm7
mulss xmm6, xmm5
mulss xmm0, xmm2
subss xmm6, xmm4
mulss xmm5, xmm2
subss xmm1, xmm0
movss xmm0, dword [0x1009c60c]
movaps xmm7, xmm0
subss xmm4, xmm5
divss xmm6, xmm1
divss xmm4, xmm1
movss xmm1, dword [0x1009c560]
subss xmm7, xmm6
movss dword [esp + 0x30], xmm1
comiss xmm1, xmm7
movaps xmm3, xmm7
subss xmm3, xmm4
jbe 0x1007427a
movaps xmm2, xmm1
movss dword [esp + 0x44], xmm1
jmp 0x10074287
movaps xmm2, xmm0
minss xmm2, xmm7
movss dword [esp + 0x44], xmm2
divss xmm3, xmm2
comiss xmm1, xmm3
ja 0x1007429d
movaps xmm1, xmm0
minss xmm1, xmm3
movss dword [esp + 0x30], xmm1
mov byte [esp + 0xb], 1
mov byte [esp + 9], 1
jmp 0x100742b1
mov al, byte [esp + 9]
mov byte [esp + 0x17], al
mov eax, dword [esp + 0xc]
test al, 8
jne 0x10074328
mov eax, dword [0x100a3d98]
cmp byte [eax + 0x3e3], 0
mov esi, dword [eax + 0x1b9c]
je 0x10074328
mov ecx, 8
call fcn.10007290
test al, al
je 0x10074328
mov ecx, dword [esi + 0xc4]
xor edx, edx
mov eax, dword [esi + 0xcc]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.10004270
mov ecx, eax
add esp, 4
mov eax, dword [0x100a3d98]
cmp dword [eax + 0x1bd4], ecx
jne 0x1007430f
mov dword [eax + 0x1bd8], ecx
cmp dword [eax + 0x1c0c], ecx
jne 0x1007431e
mov byte [eax + 0x1c10], 1
mov edx, 1
call fcn.100117e0
movss xmm3, dword [esp + 0x20]
movss xmm4, dword [esp + 0x18]
cmp dword [esp + 0xc0], 0x10000
mov esi, dword [esp + 0xb0]
jne 0x100746bf
mov ecx, dword [0x100a3d98]
lea edx, [esp + 0xe0]
movss xmm0, dword [esp + 0xbc]
push 0
movss dword [esp + 0xe8], xmm4
mov eax, dword [ecx + 0x1b9c]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1b9c]
mov ecx, str.alpha
movss dword [eax + 0xd0], xmm0
movss dword [eax + 0xd4], xmm3
movss xmm1, dword [eax + 0xe8]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xec]
maxss xmm0, xmm3
movss dword [eax + 0xe8], xmm1
movss dword [eax + 0xec], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0xe4], xmm0
call fcn.10065d20
mov eax, dword [0x100a3d98]
add esp, 4
mov ecx, dword [eax + 0x1bd4]
test ecx, ecx
je 0x100746bf
mov eax, dword [eax + 0x1b9c]
cmp ecx, dword [eax + 0x11c]
jne 0x100746bf
mov eax, dword [esp + 0x24]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x18]
movss xmm1, dword [0x1009c60c]
subss xmm0, xmm1
movss xmm3, dword [eax + 0xe8]
subss xmm3, dword [esp + 0x20]
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x100746a7
xorps xmm4, xmm4
jmp 0x100746ae
test eax, 0x2000000
je 0x10074328
movss xmm0, dword [esp + 0x18]
lea edx, [esp + 0xe0]
push 0
mov ecx, 0x1009c22c
movss dword [esp + 0xe4], xmm0
movss dword [esp + 0xe8], xmm0
call fcn.10065d20
mov ecx, dword [0x100a3d98]
add esp, 4
mov edx, dword [ecx + 0x1bd4]
test edx, edx
je 0x1007450d
mov eax, dword [ecx + 0x1b9c]
cmp edx, dword [eax + 0x11c]
jne 0x1007450d
mov eax, dword [esp + 0x24]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x18]
movss xmm1, dword [0x1009c60c]
subss xmm4, xmm1
movss xmm3, dword [eax + 0xe4]
subss xmm3, dword [esp + 0x48]
divss xmm3, xmm4
comiss xmm0, xmm3
jbe 0x100744c8
movss dword [esp + 0x30], xmm0
jmp 0x100744d5
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [esp + 0x30], xmm2
movss xmm2, dword [eax + 0xe8]
subss xmm2, dword [esp + 0x20]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x100744f1
xorps xmm3, xmm3
jmp 0x100744f8
movaps xmm3, xmm1
minss xmm3, xmm2
movaps xmm0, xmm1
mov al, 1
subss xmm0, xmm3
mov byte [esp + 9], al
movss dword [esp + 0x44], xmm0
jmp 0x10074511
mov al, byte [esp + 9]
mov byte [esp + 0xb], al
mov byte [esp + 0xa], al
mov eax, dword [esp + 0xc]
test al, 8
jne 0x10074591
cmp byte [ecx + 0x3e3], 0
mov esi, dword [ecx + 0x1b9c]
je 0x10074591
mov ecx, 8
call fcn.10007290
test al, al
je 0x1007458b
mov ecx, dword [esi + 0xc4]
xor edx, edx
mov eax, dword [esi + 0xcc]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.10004270
mov ecx, eax
add esp, 4
mov eax, dword [0x100a3d98]
cmp dword [eax + 0x1bd4], ecx
jne 0x10074572
mov dword [eax + 0x1bd8], ecx
cmp dword [eax + 0x1c0c], ecx
jne 0x10074581
mov byte [eax + 0x1c10], 1
mov edx, 1
call fcn.100117e0
mov ecx, dword [0x100a3d98]
mov eax, dword [ecx + 0x1b9c]
lea edx, [esp + 0xe0]
movss xmm0, dword [esp + 0xa0]
movss xmm2, dword [esp + 0x20]
push 0
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1b9c]
mov ecx, 0x1009c230
movss dword [eax + 0xd0], xmm0
movss dword [eax + 0xd4], xmm2
movss xmm1, dword [eax + 0xe8]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xec]
maxss xmm0, xmm2
movss dword [eax + 0xe8], xmm1
movss dword [eax + 0xec], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0xe4], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0xe8], xmm0
call fcn.10065d20
mov eax, dword [0x100a3d98]
add esp, 4
mov ecx, dword [eax + 0x1bd4]
test ecx, ecx
je 0x10074328
mov eax, dword [eax + 0x1b9c]
mov dl, byte [esp + 9]
mov byte [esp + 0xb], dl
cmp ecx, dword [eax + 0x11c]
jne 0x10074328
mov eax, dword [esp + 0x24]
movss xmm4, dword [esp + 0x18]
movss xmm3, dword [esp + 0x20]
movaps xmm0, xmm4
movss xmm1, dword [0x1009c60c]
movss xmm2, dword [eax + 0xe8]
subss xmm0, xmm1
subss xmm2, xmm3
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
ja 0x1007468a
movaps xmm0, xmm1
minss xmm0, xmm2
mov al, byte [esp + 0xa]
movss dword [esp + 0x1c], xmm0
mov byte [esp + 0x17], 1
mov byte [esp + 9], 1
mov byte [esp + 0xb], al
jmp 0x10074334
movaps xmm4, xmm1
minss xmm4, xmm3
movaps xmm0, xmm1
mov byte [esp + 9], 1
subss xmm0, xmm4
movss dword [edi + 0xc], xmm0
mov edx, dword [0x100a3d98]
dec dword [edx + 0x1cc4]
mov eax, dword [edx + 0x1ccc]
mov ecx, dword [edx + 0x1cc4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1bbc], eax
mov edx, dword [esp + 0xc]
test edx, 0x100
jne 0x1007470a
mov eax, dword [esp + 0x24]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1568]
call fcn.100107f0
call fcn.10010be0
mov edx, dword [esp + 0xc]
test dl, dl
js 0x10074772
mov ecx, dword [esp + 0x5c]
cmp ecx, 0xffffffff
jae 0x10074772
mov al, byte [ecx]
mov byte [esp + 0xa], al
test al, al
je 0x10074730
cmp al, 0x23
jne 0x1007472a
cmp byte [ecx + 1], al
je 0x10074730
inc ecx
cmp ecx, 0xffffffff
jb 0x10074717
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], ecx
cmp eax, ecx
je 0x10074772
test edx, 0x100
je 0x10074760
mov eax, dword [esp + 0x24]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1568]
call fcn.100107f0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x5c]
mov edx, ecx
mov ecx, eax
push 0
call fcn.100642b0
mov edx, dword [esp + 0x10]
add esp, 4
test edx, 0x100
jne 0x100749af
mov eax, dword [0x100a3d98]
mov ecx, dword [eax + 0x1bbc]
or ecx, 0x10
mov dword [eax + 0x1bbc], ecx
add eax, 0x1cc4
mov dword [esp + 0x64], ecx
mov dword [esp + 0x5c], eax
mov ecx, dword [eax + 4]
mov dword [esp + 0x28], ecx
cmp dword [eax], ecx
jne 0x100747e6
mov edx, dword [eax]
inc edx
mov dword [esp + 0x4c], edx
test ecx, ecx
je 0x100747cc
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x4c]
mov ecx, eax
mov eax, dword [esp + 0x5c]
sar ecx, 1
add ecx, dword [esp + 0x28]
jmp 0x100747d1
mov ecx, 8
cmp ecx, edx
cmovg edx, ecx
mov ecx, eax
push edx
call fcn.1001c1a0
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov esi, dword [esp + 0x64]
mov dword [eax + ecx*4], esi
mov eax, dword [esp + 0x5c]
inc dword [eax]
test dl, 2
je 0x10074807
movss xmm1, dword [0x1009c60c]
jmp 0x1007480c
movss xmm1, dword [edi + 0xc]
movss xmm0, dword [edi]
mov esi, dword [esp + 0xb0]
movss dword [esp + 0xe0], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0xe4], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0xe8], xmm0
movss dword [esp + 0xec], xmm1
test dl, dl
jns 0x1007485a
push str.Current
call fcn.100649b0
mov edx, dword [esp + 0x10]
add esp, 4
movss xmm1, dword [esp + 0x58]
and edx, 0x180e0040
movaps xmm0, xmm1
mov dword [esp + 0x64], edx
mulss xmm0, dword [0x1009c69c]
mov ecx, str.current
movss dword [esp + 0xb4], xmm0
movss dword [esp + 0x28], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0xb8], xmm0
push dword [esp + 0xb8]
movss dword [esp + 0x50], xmm0
push dword [esp + 0xb8]
push edx
lea edx, [esp + 0xec]
call fcn.10076020
add esp, 0xc
cmp dword [esp + 0x60], 0
je 0x10074984
push str.Original
call fcn.100649b0
mov eax, dword [esp + 0x10]
add esp, 4
test al, 2
mov eax, dword [esp + 0x60]
je 0x100748eb
movss xmm1, dword [0x1009c60c]
jmp 0x100748f0
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0x100]
movss dword [esp + 0x100], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0x104], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x108], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x2c], xmm0
push dword [esp + 0x2c]
movss dword [esp + 0x110], xmm1
push dword [esp + 0x2c]
push dword [esp + 0x6c]
call fcn.10076020
add esp, 0xc
test al, al
je 0x10074984
xor eax, eax
cmp dword [esp + 0x88], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x64]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 9], 1
mov edx, dword [0x100a3d98]
dec dword [edx + 0x1cc4]
mov eax, dword [edx + 0x1ccc]
mov ecx, dword [edx + 0x1cc4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1bbc], eax
call fcn.10010d10
mov edx, dword [esp + 0xc]
cmp byte [esp + 0x17], 0
jne 0x100749c1
cmp byte [esp + 0xb], 0
je 0x10074a84
test edx, 0x8000000
je 0x10074a5c
movss xmm1, dword [esp + 0x44]
lea eax, [edi + 8]
xorps xmm0, xmm0
lea edx, [edi + 4]
comiss xmm1, xmm0
jbe 0x100749e6
movaps xmm3, xmm1
jmp 0x100749ee
movss xmm3, dword [0x1009c550]
movss xmm1, dword [esp + 0x30]
comiss xmm1, xmm0
movss xmm2, dword [0x1009c554]
ja 0x10074a04
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x1c]
comiss xmm0, dword [0x1009c60c]
jb 0x10074a17
subss xmm0, xmm2
push eax
mov ecx, edi
movaps xmm2, xmm3
call fcn.10004870
mov ecx, dword [esp + 0x28]
add esp, 4
movss xmm0, dword [esp + 0x30]
movss xmm1, dword [esp + 0x1c]
movss dword [ecx + 0x2e34], xmm1
movss dword [ecx + 0x2e38], xmm0
movq xmm0, qword [edi]
movq qword [ecx + 0x2e3c], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 0x2e44], eax
jmp 0x10074a84
test edx, 0x10000000
je 0x10074a84
movss xmm0, dword [esp + 0x30]
movss xmm1, dword [esp + 0x1c]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [edi], xmm1
movss dword [edi + 8], xmm0
mov eax, dword [esp + 0xc]
mov byte [esp + 0xa], 0
test al, 0x20
jne 0x10074d6b
cmp dword [esp + 0xc0], 0x10000
jne 0x10074aad
movss xmm0, dword [esp + 0xbc]
jmp 0x10074ab6
movss xmm0, dword [esp + 0xa0]
mov eax, dword [0x100a3d98]
addss xmm0, dword [esp + 0x58]
mov dword [esp + 0xb4], eax
mov eax, dword [eax + 0x1b9c]
mov edx, dword [eax + 0x1b8]
lea ecx, [eax + 0x1b8]
subss xmm0, dword [esp + 0x48]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x64], ecx
movss dword [esp + 0x4c], xmm0
cmp edx, eax
jne 0x10074b26
inc edx
mov dword [esp + 0x28], edx
test eax, eax
je 0x10074b0c
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10074b11
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1001c1a0
movss xmm0, dword [esp + 0x4c]
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x1b0]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x10]
inc dword [ecx + 0x1b8]
ucomiss xmm0, dword [0x1009c53c]
lahf
test ah, 0x44
jp 0x10074b57
movss xmm0, dword [ecx + 0x260]
mov eax, dword [esp + 0xb4]
movss dword [ecx + 0x1b0], xmm0
and dword [eax + 0x1c80], 0xfffffffe
mov eax, dword [esp + 0xc]
mov ecx, eax
and ecx, 0x198e001a
mov dword [esp + 0x60], ecx
test eax, 0x100000
jne 0x10074b8b
test eax, 0x700000
jne 0x10074bd2
or ecx, 0x100004
mov edx, edi
push ecx
mov ecx, str.rgb
call fcn.10072380
add esp, 4
test al, al
je 0x10074bca
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x1bd4], 0
je 0x10074bc0
cmp byte [eax + 0x1be1], 0
mov byte [esp + 0xa], 1
je 0x10074bc5
mov byte [esp + 0xa], 0
mov byte [esp + 9], 1
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0xc]
test eax, 0x200000
jne 0x10074be0
test eax, 0x700000
jne 0x10074bfe
or ecx, 0x200004
mov edx, edi
push ecx
mov ecx, str.hsv
call fcn.10072380
add esp, 4
or byte [esp + 9], al
mov eax, dword [esp + 0xc]
test eax, 0x400000
jne 0x10074c0c
test eax, 0x700000
jne 0x10074c29
mov eax, dword [esp + 0x60]
mov edx, edi
or eax, 0x400004
mov ecx, str.hex
push eax
call fcn.10072380
add esp, 4
or byte [esp + 9], al
cmp byte [esp + 0xa], 0
mov ecx, dword [0x100a3d98]
mov eax, dword [ecx + 0x1b9c]
mov byte [eax + 0x8c], 1
mov edx, dword [ecx + 0x1b9c]
mov ecx, dword [edx + 0x1b8]
mov eax, dword [edx + 0x1c0]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1b0], eax
lea eax, [ecx - 1]
mov dword [edx + 0x1b8], eax
mov eax, dword [esp + 0xc]
je 0x10074d6b
xorps xmm2, xmm2
test eax, 0x8000000
je 0x10074d6e
movss xmm3, dword [edi + 4]
xorps xmm6, xmm6
movss xmm5, dword [edi + 8]
comiss xmm5, xmm3
movss xmm4, dword [edi]
jbe 0x10074ca5
movss xmm6, dword [0x1009c7d4]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x10074cc2
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x1009c7c0]
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 [0x1009c54c]
movaps xmm7, xmm1
mulss xmm1, dword [0x1009c6d4]
divss xmm7, xmm0
addss xmm1, dword [0x1009c54c]
divss xmm3, xmm1
addss xmm3, xmm6
andps xmm3, xmmword [0x1009d020]
comiss xmm2, xmm3
jb 0x10074d6e
movss xmm0, dword [esp + 0x1c]
comiss xmm0, xmm2
jbe 0x10074d6e
comiss xmm2, xmm4
jb 0x10074d40
movss xmm1, dword [esp + 0x44]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10074d3c
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x30]
mulss xmm2, dword [0x1009c5c4]
jmp 0x10074d56
mov eax, dword [esp + 0xc]
comiss xmm2, xmm7
jb 0x10074d6e
movss xmm1, dword [esp + 0x30]
movaps xmm2, xmm4
mulss xmm1, dword [0x1009c5c4]
lea eax, [edi + 8]
mov ecx, edi
push eax
lea edx, [edi + 4]
call fcn.10004870
mov eax, dword [esp + 0x10]
add esp, 4
xorps xmm2, xmm2
cmp byte [esp + 9], 0
je 0x10074f04
test eax, 0x8000000
je 0x10074e9e
movss xmm0, dword [edi + 4]
xorps xmm5, xmm5
movss xmm3, dword [edi + 8]
movaps xmm1, xmm0
comiss xmm3, xmm0
movss xmm7, dword [edi]
movaps xmm6, xmm3
movss dword [esp + 0x84], xmm7
movss dword [esp + 0x80], xmm0
movss dword [esp + 0x74], xmm3
jbe 0x10074dc6
movss xmm5, dword [0x1009c7d4]
movaps xmm1, xmm3
movaps xmm6, xmm0
comiss xmm1, xmm7
movaps xmm4, xmm7
movss dword [esp + 0x44], xmm4
jbe 0x10074def
movss xmm0, dword [0x1009c7c0]
movaps xmm4, xmm1
subss xmm0, xmm5
movss dword [esp + 0x44], xmm4
movaps xmm1, xmm7
movaps xmm5, xmm0
movaps xmm0, xmm1
mov ecx, dword [esp + 0x24]
minss xmm0, xmm6
movaps xmm3, xmm4
subss xmm1, xmm6
mov eax, dword [ecx + 0x2e3c]
subss xmm3, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x1009c6d4]
addss xmm0, dword [0x1009c54c]
divss xmm1, xmm0
movaps xmm0, xmm4
addss xmm1, xmm5
addss xmm0, dword [0x1009c54c]
andps xmm1, xmmword [0x1009d020]
divss xmm3, xmm0
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x30], xmm3
cmp eax, dword [edi]
jne 0x10074f08
mov eax, dword [ecx + 0x2e40]
cmp eax, dword [edi + 4]
jne 0x10074f08
mov eax, dword [ecx + 0x2e44]
cmp eax, dword [edi + 8]
jne 0x10074f08
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jp 0x10074e85
movss xmm0, dword [ecx + 0x2e34]
movss dword [esp + 0x1c], xmm0
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jp 0x10074f08
movss xmm0, dword [ecx + 0x2e38]
movss dword [esp + 0x30], xmm0
jmp 0x10074f08
test eax, 0x10000000
je 0x10074f04
movss xmm0, dword [edi]
lea eax, [esp + 0x68]
movss xmm1, dword [edi + 4]
lea edx, [esp + 0x70]
movss xmm2, dword [edi + 8]
lea ecx, [esp + 0x6c]
push eax
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x48], xmm2
call fcn.10004870
movss xmm0, dword [esp + 0x70]
add esp, 4
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x74], xmm0
mov ecx, dword [esp + 0x24]
movss xmm1, dword [ecx + 0x1518]
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x10074f24
movss xmm0, dword [0x1009c60c]
minss xmm0, xmm1
mulss xmm0, dword [0x1009c768]
addss xmm0, dword [0x1009c5c4]
cvttss2si edx, xmm0
movss xmm0, dword [esp + 0x1c]
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x5c], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x68], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0x100], ecx
or eax, 0x808080
mov dword [esp + 0x118], ecx
mov dword [esp + 0x6c], eax
mov eax, edx
or eax, 0xffff
mov dword [esp + 0x104], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0x108], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0x10c], eax
mov eax, edx
cvtps2pd xmm0, xmm0
or eax, 0xff0000
mov dword [esp + 0x110], eax
mov eax, edx
or eax, 0xff00ff
mov dword [esp + 0x114], eax
movsd qword [esp + 0xe0], xmm0
fld qword [esp + 0xe0]
fld1
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
fstp qword [esp + 0xe0]
movsd xmm1, qword [esp + 0xe0]
cvtpd2ps xmm1, xmm1
movss xmm2, dword [0x1009c60c]
divss xmm1, dword [0x1009c5a0]
movaps xmm3, xmm2
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
subss xmm3, xmm1
movaps xmm1, xmm2
subss xmm1, xmm3
cmp eax, 5
ja case.0x10075017.5
jmp dword [eax*4 + 0x10076004]
movaps xmm5, xmm1
xorps xmm1, xmm1
jmp 0x10075055
movaps xmm4, xmm3
movaps xmm5, xmm2
xorps xmm1, xmm1
jmp 0x10075058
xorps xmm4, xmm4
movaps xmm5, xmm2
jmp 0x10075058
xorps xmm4, xmm4
movaps xmm5, xmm3
movaps xmm1, xmm2
jmp 0x10075058
movaps xmm4, xmm1
xorps xmm5, xmm5
movaps xmm1, xmm2
jmp 0x10075058
xorps xmm5, xmm5
movaps xmm1, xmm3
movaps xmm4, xmm2
xorps xmm0, xmm0
comiss xmm0, xmm4
jbe 0x10075065
xorps xmm3, xmm3
jmp 0x1007506c
movaps xmm3, xmm2
minss xmm3, xmm4
comiss xmm0, xmm5
movss xmm4, dword [0x1009c768]
movss xmm6, dword [0x1009c5c4]
mulss xmm3, xmm4
addss xmm3, xmm6
cvttss2si ecx, xmm3
jbe 0x10075092
xorps xmm3, xmm3
jmp 0x10075099
movaps xmm3, xmm2
minss xmm3, xmm5
mulss xmm3, xmm4
addss xmm3, xmm6
cvttss2si eax, xmm3
shl eax, 8
or ecx, eax
comiss xmm0, xmm1
jbe 0x100750b4
xorps xmm3, xmm3
jmp 0x100750bb
movaps xmm3, xmm2
minss xmm3, xmm1
mulss xmm3, xmm4
addss xmm3, xmm6
cvttss2si eax, xmm3
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x24]
movss xmm3, dword [eax + 0x1518]
comiss xmm0, xmm3
jbe 0x100750e2
xorps xmm1, xmm1
jmp 0x100750e9
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm5, dword [esp + 0x84]
mulss xmm1, xmm4
addss xmm1, xmm6
cvttss2si edx, xmm1
shl edx, 0x18
or edx, ecx
comiss xmm0, xmm5
mov dword [esp + 0x70], edx
jbe 0x10075111
xorps xmm1, xmm1
jmp 0x10075118
movaps xmm1, xmm2
minss xmm1, xmm5
movss xmm5, dword [esp + 0x80]
comiss xmm0, xmm5
mulss xmm1, xmm4
addss xmm1, xmm6
cvttss2si ecx, xmm1
jbe 0x10075137
xorps xmm1, xmm1
jmp 0x1007513e
movaps xmm1, xmm2
minss xmm1, xmm5
movss xmm5, dword [esp + 0x74]
mulss xmm1, xmm4
addss xmm1, xmm6
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm5
jbe 0x1007515f
xorps xmm1, xmm1
jmp 0x10075166
movaps xmm1, xmm2
minss xmm1, xmm5
mulss xmm1, xmm4
addss xmm1, xmm6
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm3
ja 0x10075183
movaps xmm0, xmm2
minss xmm0, xmm3
mov eax, dword [esp + 0xc]
mulss xmm0, xmm4
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
addss xmm0, xmm6
cvttss2si edx, xmm0
shl edx, 0x18
or edx, ecx
mov dword [esp + 0x74], edx
test eax, 0x4000000
je 0x100759bf
movss xmm0, dword [esp + 0x94]
movaps xmm3, xmm6
movss xmm4, dword [esp + 0x78]
mov eax, 0x2aaaaaab
divss xmm3, xmm0
cvttss2si ecx, xmm0
addss xmm4, xmm0
movss dword [esp + 0xd0], xmm3
imul ecx
mulss xmm4, xmm6
mov eax, 4
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
movss dword [esp + 0xb4], xmm4
cmp ecx, eax
cmovle ecx, eax
xor esi, esi
mov dword [esp + 0xd8], ecx
mov dword [esp + 0x60], esi
nop dword [eax + eax]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mov eax, dword [esp + 0x40]
push ecx
push ecx
lea ecx, [esp + 0xf8]
mov edi, dword [eax + 0x18]
movaps xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [0x1009c6d4]
divss xmm1, dword [0x1009c6d4]
addss xmm0, xmm0
movaps xmm2, xmm4
addss xmm1, xmm1
mulss xmm0, dword [0x1009c6a0]
mulss xmm1, dword [0x1009c6a0]
subss xmm0, xmm3
addss xmm1, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x18], xmm0
movss dword [esp], xmm1
push ecx
mov ecx, eax
movss dword [esp + 0x40], xmm1
call fcn.10052ac0
movss xmm0, dword [esp + 0x7c]
mov eax, dword [esp + 0x40]
push ecx
movss dword [esp], xmm0
mov ecx, eax
push 0
push dword [esp + 0x70]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10051600
movss xmm0, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
cvtps2pd xmm0, xmm0
mov dword [eax + 0x54], 0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x10]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x78]
addss xmm0, dword [esp + 0xa8]
movss dword [esp + 0x4c], 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 + 0x78]
addss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x34]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x34]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x78]
addss xmm0, dword [esp + 0xa8]
movss dword [esp + 0x28], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [esp + 0x28]
xorps xmm4, xmm4
movss xmm5, dword [esp + 0x4c]
movss xmm6, dword [esp + 0x64]
subss xmm3, xmm5
cvtsd2ss xmm4, xmm0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + esi*4 + 0x100]
movss xmm2, dword [0x1009c60c]
movaps xmm0, xmm3
mulss xmm4, dword [esp + 0x78]
movaps xmm7, xmm2
mov edx, dword [eax + 0x20]
mulss xmm0, xmm3
addss xmm4, dword [esp + 0xa4]
subss xmm4, xmm6
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
divss xmm7, xmm1
mov eax, dword [eax + 0x18]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [esp + 0x28], eax
movzx eax, cl
mov dword [esp + 0x80], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [esp + 0x34], eax
shr ecx, 0x10
movzx eax, cl
mov ecx, dword [esp + esi*4 + 0x104]
mov dword [esp + 0x10], eax
movzx eax, cl
sub eax, dword [esp + 0x80]
mov dword [esp + 0x4c], eax
mov eax, ecx
shr eax, 8
movzx eax, al
sub eax, dword [esp + 0x34]
shr ecx, 0x10
mov dword [esp + 0x84], eax
lea eax, [edi + edi*4]
mov edi, dword [esp + 0x28]
lea edx, [edx + eax*4]
movzx ecx, cl
sub ecx, dword [esp + 0x10]
mov dword [esp + 0x64], ecx
cmp edx, edi
jae 0x100754e8
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x4c]
nop dword [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, xmm7
comiss xmm0, xmm1
jbe 0x1007544e
xorps xmm2, xmm2
jmp 0x10075452
minss xmm2, xmm1
movd xmm1, ecx
movaps xmm0, xmm2
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
movd xmm1, dword [esp + 0x10]
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 + 0x34]
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 + 0x80]
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [0x1009c60c]
or ecx, eax
mov eax, dword [edx + 0x10]
and eax, 0xff000000
or ecx, eax
mov eax, dword [esp + 0x84]
mov dword [edx + 0x10], ecx
add edx, 0x14
mov ecx, dword [esp + 0x64]
cmp edx, edi
jb 0x10075420
mov esi, dword [esp + 0x60]
movss xmm4, dword [esp + 0xb4]
inc esi
movss xmm3, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0x60], esi
cmp esi, 6
jl 0x10075220
movss xmm0, dword [esp + 0x1c]
addss xmm0, xmm0
mulss xmm0, dword [0x1009c6a0]
movss dword [esp + 0x1c], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x1c]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x48], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0x17], 0
xorps xmm2, xmm2
movss xmm3, dword [esp + 0x78]
addss xmm3, dword [esp + 0x94]
movss xmm1, dword [esp + 0x7c]
cvtsd2ss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x48]
mulss xmm3, xmm2
mulss xmm0, dword [0x1009c5c4]
mulss xmm3, dword [0x1009c5c4]
addss xmm0, dword [esp + 0xa8]
movss dword [esp + 0x28], xmm2
addss xmm3, dword [esp + 0xa4]
movss dword [esp + 0x50], xmm0
movss dword [esp + 0x54], xmm3
je 0x100755b5
mulss xmm1, dword [0x1009c5d0]
jmp 0x100755bd
mulss xmm1, dword [0x1009c5c8]
movaps xmm0, xmm1
movss dword [esp + 0x7c], xmm1
divss xmm0, dword [0x1009c640]
cvttss2si edi, xmm0
cmp edi, 9
jge 0x100755de
mov edi, 9
jmp 0x100755e8
mov eax, 0x20
cmp edi, eax
cmovg edi, eax
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x50]
push edi
push dword [esp + 0x74]
movaps xmm2, xmm1
mov ecx, esi
push eax
call fcn.10054360
movss xmm2, dword [esp + 0x7c]
lea eax, [esp + 0x50]
addss xmm2, dword [0x1009c60c]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push edi
push dword [esp + 0x74]
push eax
call fcn.10054230
movss xmm2, dword [esp + 0x7c]
lea eax, [esp + 0x50]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push edi
mov edi, dword [esp + 0x70]
push edi
push eax
call fcn.10054230
movss xmm3, dword [esp + 0x48]
xorps xmm1, xmm1
movss xmm5, dword [esp + 0x28]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x38]
movaps xmm0, xmm5
mov eax, dword [0x100a3d98]
movss xmm6, dword [esp + 0xa8]
movaps xmm4, xmm3
mulss xmm0, xmm1
push 6
movss xmm7, dword [esp + 0xa8]
mulss xmm4, dword [esp + 0xcc]
push 6
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, dword [esp + 0xd0]
addss xmm2, xmm6
movss dword [esp + 0x18], xmm2
movss dword [esp + 0xe8], xmm2
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x40]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x94]
mulss xmm5, dword [esp + 0xb4]
addss xmm2, xmm7
movss dword [esp + 0x9c], xmm2
movss dword [esp + 0xec], xmm2
movaps xmm2, xmm4
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x94]
subss xmm4, xmm5
mulss xmm3, dword [esp + 0xb4]
addss xmm0, xmm1
addss xmm4, xmm6
addss xmm3, xmm1
addss xmm2, xmm6
addss xmm0, xmm7
movss dword [esp + 0x3c], xmm4
addss xmm3, xmm7
movss dword [esp + 0xf8], xmm4
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x44], xmm0
movss xmm0, dword [eax + 0x1938]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [eax + 0x193c]
movss dword [esp + 0x50], xmm3
movss dword [esp + 0xfc], xmm3
movss dword [esp + 0x54], xmm0
mov ecx, esi
call fcn.100513e0
mov ecx, dword [esi + 0x38]
mov ax, word [esi + 0x28]
movss xmm2, dword [esp + 0x10]
movss xmm3, dword [esp + 0x94]
mov word [ecx], ax
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
movss xmm0, dword [esp + 0x28]
movss xmm1, dword [esp + 0x4c]
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [esi + 0x34]
mov edx, dword [esp + 0x70]
movss xmm5, dword [esp + 0x38]
movss xmm4, dword [esp + 0x3c]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
movss xmm7, dword [esp + 0x34]
movss xmm6, dword [esp + 0x48]
mov dword [eax + 0x10], edx
add dword [esi + 0x34], 0x14
inc dword [esi + 0x28]
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x28]
mov word [eax], cx
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
movss dword [eax], xmm5
movss dword [eax + 4], xmm4
mov eax, dword [esi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], edx
add dword [esi + 0x34], 0x14
mov eax, dword [esi + 0x38]
inc dword [esi + 0x28]
mov ecx, dword [esi + 0x28]
mov word [eax], cx
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [esi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], edi
add dword [esi + 0x34], 0x14
mov eax, dword [esi + 0x38]
inc dword [esi + 0x28]
mov ecx, dword [esi + 0x28]
mov word [eax], cx
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [esi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], 0
mov eax, dword [esi + 0x38]
add dword [esi + 0x34], 0x14
inc dword [esi + 0x28]
mov ecx, dword [esi + 0x28]
mov word [eax], cx
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
mov ecx, dword [esp + 0x5c]
movss dword [eax], xmm5
movss dword [eax + 4], xmm4
mov eax, dword [esi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], ecx
add dword [esi + 0x34], 0x14
mov eax, dword [esi + 0x38]
inc dword [esi + 0x28]
mov ecx, dword [esi + 0x28]
push ecx
mov word [eax], cx
mov ecx, esi
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
mov dword [esp], 0x3fc00000
push dword [esp + 0x70]
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [esi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], 0
lea eax, [esp + 0xf8]
add dword [esi + 0x34], 0x14
inc dword [esi + 0x28]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0xf0]
push eax
call fcn.10054000
movss xmm2, dword [0x1009c60c]
xorps xmm0, xmm0
movaps xmm1, xmm2
subss xmm1, dword [esp + 0x44]
comiss xmm0, xmm1
jbe 0x10075930
xorps xmm4, xmm4
jmp 0x10075937
movaps xmm4, xmm2
minss xmm4, xmm1
movss xmm1, dword [esp + 0x30]
comiss xmm0, xmm1
jbe 0x10075947
xorps xmm3, xmm3
jmp 0x1007594e
movaps xmm3, xmm2
minss xmm3, xmm1
movss xmm0, dword [esp + 0x10]
subss xmm0, dword [esp + 0x34]
movss xmm2, dword [esp + 0x38]
movss xmm1, dword [esp + 0x3c]
mov esi, dword [esp + 0xb0]
mulss xmm0, xmm3
addss xmm0, dword [esp + 0x34]
subss xmm2, xmm0
mulss xmm2, xmm4
addss xmm2, xmm0
movss xmm0, dword [esp + 0x94]
subss xmm0, dword [esp + 0x48]
movss dword [esp + 0x98], xmm2
mulss xmm0, xmm3
addss xmm0, dword [esp + 0x48]
subss xmm1, xmm0
mulss xmm1, xmm4
addss xmm1, xmm0
movss dword [esp + 0x9c], xmm1
jmp 0x10075cf7
test eax, 0x2000000
je 0x10075d02
movss xmm0, dword [esp + 0x48]
addss xmm0, dword [esp + 0x18]
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x70]
push ecx
push eax
push eax
movss dword [esp + 0x44], xmm0
lea eax, [esp + 0x44]
movss xmm0, dword [esp + 0x2c]
addss xmm0, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x50]
push eax
lea eax, [esp + 0x64]
push eax
movss dword [esp + 0x54], xmm0
call fcn.10053e80
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0xf0]
movss xmm0, dword [esp + 0x48]
addss xmm0, dword [esp + 0x18]
push ecx
push ecx
mov ecx, dword [esp + 0x48]
push 0
push 0
push eax
movss dword [esp + 0x104], xmm0
lea eax, [esp + 0x64]
movss xmm0, dword [esp + 0x50]
push eax
movss dword [esp + 0x10c], xmm0
call fcn.10053e80
movss xmm0, dword [esp + 0x48]
addss xmm0, dword [esp + 0x18]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x2c], xmm0
xorps xmm0, xmm0
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x5c]
push dword [esp + 0x5c]
call fcn.10006400
movss xmm2, dword [esp + 0x40]
xorps xmm0, xmm0
movss xmm1, dword [0x1009c60c]
add esp, 0x10
comiss xmm0, xmm2
jbe 0x10075aa5
xorps xmm3, xmm3
jmp 0x10075aac
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm4, dword [esp + 0x18]
movss xmm7, dword [esp + 0x48]
movss xmm5, dword [0x1009c5c4]
movaps xmm2, xmm7
mulss xmm3, xmm4
movss xmm6, dword [0x1009c678]
addss xmm2, xmm6
addss xmm3, xmm7
addss xmm3, xmm5
cvttss2si eax, xmm3
movd xmm3, eax
cvtdq2ps xmm3, xmm3
comiss xmm2, xmm3
ja 0x10075afa
movaps xmm2, xmm7
addss xmm2, xmm4
subss xmm2, xmm6
minss xmm2, xmm3
movss dword [esp + 0x98], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x44]
comiss xmm0, xmm2
jbe 0x10075b16
xorps xmm1, xmm1
jmp 0x10075b1a
minss xmm1, xmm2
movss xmm2, dword [esp + 0x20]
mulss xmm1, xmm4
movaps xmm0, xmm2
addss xmm0, xmm6
addss xmm1, xmm2
addss xmm1, xmm5
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10075b51
movss xmm0, dword [esp + 0x3c]
subss xmm0, xmm6
minss xmm0, xmm1
movss xmm3, dword [esp + 0xa0]
movaps xmm1, xmm4
divss xmm1, dword [0x1009c6d4]
mov esi, dword [esp + 0x40]
xor ecx, ecx
movss dword [esp + 0x9c], xmm0
movaps xmm0, xmm3
addss xmm0, dword [esp + 0x58]
movss dword [esp + 0x28], xmm1
movss dword [esp + 0xe0], xmm3
movss dword [esp + 0xf0], xmm0
nop word [eax + eax]
mov eax, dword [esp + ecx*4 + 0x104]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0xf8]
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0xfc], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x108]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0xf4]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0xfc], xmm0
call fcn.10053e80
movss xmm1, dword [esp + 0x28]
mov ecx, edi
movss xmm2, dword [esp + 0x20]
cmp ecx, 6
jl 0x10075ba0
movss xmm3, dword [esp + 0xa0]
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x18]
movaps xmm1, xmm3
movss dword [esp + 0x3c], xmm2
addss xmm1, dword [esp + 0x58]
movss dword [esp + 0x38], xmm3
movss dword [esp + 0x54], xmm0
xorps xmm0, xmm0
push dword [esp + 0x54]
movss dword [esp + 0x54], xmm1
push dword [esp + 0x54]
push dword [esp + 0x44]
push dword [esp + 0x44]
call fcn.10006400
mov esi, dword [esp + 0xc0]
movss xmm1, dword [esp + 0x68]
addss xmm1, dword [0x1009c678]
mov ecx, dword [esp + 0x50]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x64], xmm2
addss xmm0, dword [0x1009c60c]
movss xmm2, dword [esp + 0xb0]
push dword [esp + 0x64]
subss xmm2, dword [0x1009c60c]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x30]
mulss xmm0, dword [esp + 0x2c]
push dword [esp + 0x64]
movss dword [esp + 0x50], xmm2
addss xmm0, dword [esp + 0x38]
addss xmm0, dword [0x1009c5c4]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x3c]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x1518]
movss dword [esp + 0x54], xmm0
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.10073600
add esp, 0x20
mov edx, dword [esp + 0x74]
mov edi, dword [esp + 0x90]
cmp byte [esp + 0xb], 0
je 0x10075d1c
movss xmm0, dword [0x1009c6f0]
movss dword [esp + 0xcc], xmm0
jmp 0x10075d24
movss xmm0, dword [0x1009c6d4]
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x98]
push 0xc
push edx
push eax
movaps xmm2, xmm0
call fcn.10054360
movss xmm2, dword [esp + 0xcc]
lea eax, [esp + 0x98]
addss xmm2, dword [0x1009c60c]
push ecx
mov ecx, dword [esp + 0x44]
mov dword [esp], 0x3f800000
push 0xc
push dword [esp + 0x74]
push eax
call fcn.10054230
movss xmm2, dword [esp + 0xcc]
lea eax, [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x44]
mov dword [esp], 0x3f800000
push 0xc
push dword [esp + 0x70]
push eax
call fcn.10054230
cmp dword [esp + 0xc0], 0x10000
jne 0x10075f40
movss xmm2, dword [edi + 0xc]
xorps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x10075db9
movss dword [esp + 0x10], xmm1
jmp 0x10075dcb
movss xmm0, dword [0x1009c60c]
minss xmm0, xmm2
movss dword [esp + 0x10], xmm0
movss xmm3, dword [esp + 0xbc]
xor edx, edx
movss xmm0, dword [esp + 0x20]
movaps xmm2, xmm3
addss xmm2, dword [esp + 0x58]
mov ecx, dword [esp + 0x40]
movss dword [esp + 0xf4], xmm0
addss xmm0, dword [esp + 0x18]
mov dword [esp + 0x54], 0
push dword [esp + 0x54]
mov dword [esp + 0x54], 0
push dword [esp + 0x54]
movss dword [esp + 0x100], xmm2
subss xmm2, xmm3
movss dword [esp + 0x104], xmm0
push dword [esp + 0x104]
movss dword [esp + 0xfc], xmm3
xorps xmm3, xmm3
push dword [esp + 0x104]
mov edi, dword [esp + 0x100]
push dword [esp + 0x104]
mulss xmm2, dword [0x1009c5c4]
push edi
push 0
call fcn.10059770
mov ecx, dword [esp + 0x90]
add esp, 0x1c
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x108]
push eax
lea eax, [esp + 0x104]
push eax
call fcn.10053e80
push dword [esp + 0xfc]
xorps xmm0, xmm0
push dword [esp + 0xfc]
push dword [esp + 0xfc]
push edi
call fcn.10006400
movss xmm1, dword [0x1009c60c]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0x50]
movaps xmm0, xmm2
movss dword [esp + 0x64], xmm2
movss xmm2, dword [esp + 0xcc]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0x20]
push dword [esp + 0x64]
movss dword [esp + 0x64], xmm0
push dword [esp + 0x64]
mulss xmm1, dword [esp + 0x30]
movss dword [esp + 0x50], xmm2
addss xmm1, dword [esp + 0x38]
addss xmm1, dword [0x1009c5c4]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x70]
addss xmm1, dword [0x1009c678]
movd xmm0, eax
mov eax, dword [esp + 0x3c]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x1518]
movss dword [esp + 0x54], xmm0
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.10073600
add esp, 0x20
call fcn.10010d10
cmp byte [esp + 9], 0
mov edi, dword [0x100a3d98]
je 0x10075fe0
mov ecx, dword [esp + 0x90]
lea esi, [esp + 0x11c]
xor edx, edx
cmp dword [esp + 0x88], edx
sete dl
lea edx, [edx*4 + 0xc]
sub edx, 4
jb 0x10075f91
nop dword [eax]
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x10075f96
add esi, 4
add ecx, 4
sub edx, 4
jae 0x10075f80
cmp edx, 0xfffffffc
je 0x10075fdb
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x10075fc3
cmp edx, 0xfffffffd
je 0x10075fdb
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x10075fc3
cmp edx, 0xfffffffe
je 0x10075fdb
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x10075fc3
cmp edx, 0xffffffff
je 0x10075fdb
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x10075fdb
mov eax, dword [edi + 0x1b9c]
mov word [edi + 0x1be4], 0x101
or dword [eax + 0x120], 4
jmp 0x10075fe0
mov byte [esp + 9], 0
mov ecx, dword [edi + 0x1b9c]
mov al, byte [esp + 9]
pop edi
pop esi
dec dword [ecx + 0xc4]
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.10086e3f
mov esp, ebp
pop ebp
ret