Function at 0x1003b1e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1018e2f0
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x208
cmp byte [0x1131f47f], 0
push esi
push edi
je 0x1003cd74
mov eax, dword [0x1131f3ec]
cmp dword [eax], 0
je 0x1003cd74
mov ecx, dword [0x113200e0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1003cd74
mov eax, dword [0x1131f3ec]
mov ecx, dword [eax]
call fcn.100ce2c0
test al, al
je 0x1003cd74
mov ecx, dword [0x113200e0]
lea edx, [ebp - 0x50]
push edx
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ecx]
call dword [eax + 0x14]
push 8
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov esi, dword [0x1131f3e4]
mov ecx, esi
mov edi, dword [0x1131f3e0]
sub ecx, edi
shr ax, 0xf
mov byte [0x11320870], al
mov eax, 0x2aaaaaab
imul ecx
mov dword [ebp - 0x14], esi
sar edx, 3
mov eax, edx
mov dword [ebp - 0x1c], edi
shr eax, 0x1f
add eax, edx
je 0x1003cd74
cmp byte [0x1131f492], 0
movss xmm3, dword [0x1019b9cc]
je 0x1003ba43
mov eax, dword [0x113200e8]
mov esi, dword [0x1132029c]
mov ecx, esi
mov edi, dword [0x11320298]
sub ecx, edi
mov dword [ebp - 0x2c], edi
movss xmm0, dword [eax + 0x14]
mov eax, 0x38e38e39
imul ecx
movss dword [ebp - 0x3c], xmm0
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1003ba3d
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], ecx
sub esi, edi
mov eax, 0x38e38e39
imul esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
jbe 0x1003cea1
call fcn.1002f250
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x198]
mov esi, dword [0x11320748]
add eax, 4
add eax, edi
push eax
mov dword [ebp - 0x40], eax
call fcn.1000c790
cmp dword [ebp - 0x184], 0xf
lea eax, [ebp - 0x198]
push 0
cmova eax, dword [ebp - 0x198]
mov ecx, esi
push 0
push eax
sub esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x4c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x7f7fffff
mov dword [esp], 0x41600000
push eax
call fcn.10084c00
mov ecx, dword [ebp - 0x184]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x1003b3c5
mov edx, dword [ebp - 0x198]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003b3bb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003ba37
push ecx
push edx
call fcn.1013141d
add esp, 8
mov ecx, dword [ebp - 0x18]
movss xmm0, dword [ecx + edi + 0x20]
ucomiss xmm0, dword [0x110da770]
lahf
test ah, 0x44
jp 0x1003b401
mov eax, dword [ebp - 0x44]
movss xmm0, dword [ebp - 0x4c]
mulss xmm0, dword [0x1019b9c8]
cdq
sub eax, edx
sar eax, 1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm0
movss dword [ecx + edi + 0x20], xmm1
call fcn.1002f250
push 0xa
push 0x19
push 0x19
push 0x19
lea ecx, [ebp - 0x1b8]
mov esi, eax
call fcn.100cfa10
movss xmm1, dword [ebp - 0x4c]
mulss xmm1, dword [0x1019b9c8]
push 0xf
movups xmm4, xmmword [eax]
mov eax, dword [ebp - 0x44]
cdq
movaps xmm0, xmm1
movd xmm2, dword [ebp - 0x50]
sub eax, edx
movss xmm6, dword [0x1019b9cc]
sar eax, 1
movd xmm5, dword [ebp - 0x28]
cvtdq2ps xmm2, xmm2
push ecx
mov dword [esp], 0
movd xmm3, eax
mulss xmm2, dword [0x110da638]
cvtdq2ps xmm3, xmm3
cvtdq2ps xmm5, xmm5
addss xmm0, xmm3
subss xmm3, xmm1
addss xmm0, dword [0x110da678]
subss xmm3, dword [0x110da678]
addss xmm0, xmm6
subss xmm3, xmm6
movss dword [ebp - 0xc8], xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x110da6a4]
subss xmm2, dword [0x110da68c]
movss dword [ebp - 0xc0], xmm3
subss xmm0, xmm5
subss xmm2, xmm5
addss xmm0, xmm6
subss xmm2, xmm6
movss dword [ebp - 0xc4], xmm0
movaps xmm0, xmm4
psrldq xmm0, 0xc
movd ecx, xmm0
movaps xmm0, xmm4
psrldq xmm0, 8
movd eax, xmm0
movaps xmm0, xmm4
shl ecx, 8
psrldq xmm0, 4
movzx eax, al
add ecx, eax
movss dword [ebp - 0xbc], xmm2
movd eax, xmm0
shl ecx, 8
movzx eax, al
add ecx, eax
movd eax, xmm4
shl ecx, 8
movzx eax, al
add ecx, eax
lea eax, [ebp - 0xc8]
push ecx
mov ecx, dword [esi + 8]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.10084260
call fcn.1002f250
mov esi, eax
lea ecx, [ebp - 0x1a8]
mov eax, dword [ebp - 0x18]
push dword [eax + edi]
push 0x19
push 0x19
push 0x19
call fcn.100cfa10
movups xmm4, xmmword [eax]
mov eax, dword [ebp - 0x44]
movss xmm2, dword [ebp - 0x4c]
mulss xmm2, dword [0x1019b9c8]
cdq
movd xmm1, dword [ebp - 0x50]
sub eax, edx
sar eax, 1
movd xmm5, dword [ebp - 0x28]
movaps xmm0, xmm2
cvtdq2ps xmm1, xmm1
push 0xf
push ecx
mov dword [esp], 0x40000000
movd xmm3, eax
mulss xmm1, dword [0x110da638]
cvtdq2ps xmm3, xmm3
cvtdq2ps xmm5, xmm5
addss xmm0, xmm3
subss xmm3, xmm2
addss xmm0, dword [0x110da678]
subss xmm3, dword [0x110da678]
movss dword [ebp - 0xb8], xmm0
movaps xmm0, xmm1
addss xmm0, dword [0x110da6a4]
subss xmm1, dword [0x110da68c]
movss dword [ebp - 0xb0], xmm3
subss xmm0, xmm5
subss xmm1, xmm5
movss dword [ebp - 0xb4], xmm0
movaps xmm0, xmm4
psrldq xmm0, 0xc
movd ecx, xmm0
movaps xmm0, xmm4
psrldq xmm0, 8
movd eax, xmm0
movaps xmm0, xmm4
shl ecx, 8
psrldq xmm0, 4
movzx eax, al
add ecx, eax
movss dword [ebp - 0xac], xmm1
movd eax, xmm0
shl ecx, 8
movzx eax, al
add ecx, eax
movd eax, xmm4
shl ecx, 8
movzx eax, al
add ecx, eax
lea eax, [ebp - 0xb8]
push ecx
mov ecx, dword [esi + 8]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.10084260
call fcn.1002f250
mov ecx, dword [ebp - 0x18]
mov edi, eax
mov eax, dword [ebp - 0x2c]
mov esi, dword [0x11320748]
push dword [ecx + eax]
lea ecx, [ebp - 0x180]
push 0xff
push 0xff
push 0xff
call fcn.100cfa10
movd xmm1, dword [ebp - 0x50]
mov ecx, eax
mov eax, dword [ebp - 0x44]
movd xmm0, dword [ebp - 0x28]
cvtdq2pd xmm1, xmm1
cdq
sub eax, edx
sar eax, 1
cvtdq2pd xmm0, xmm0
mulsd xmm1, qword [0x110da658]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
subsd xmm1, xmm0
movss dword [ebp - 0xd0], xmm2
cvtpd2ps xmm0, xmm1
push 1
push esi
push 0
push 1
sub esp, 0x10
movss dword [ebp - 0xcc], xmm0
movups xmm0, xmmword [ecx]
mov eax, esp
push ecx
mov ecx, edi
movups xmmword [eax], xmm0
mov dword [esp], 0x41600000
push dword [ebp - 0xcc]
push dword [ebp - 0xd0]
push dword [ebp - 0x40]
call fcn.100cb0f0
mov ecx, dword [ebp - 0x44]
fstp st(0)
movss xmm2, dword [ebp - 0x4c]
mov eax, ecx
movss xmm3, dword [0x1019b9c8]
movaps xmm0, xmm2
movss xmm4, dword [0x110da678]
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x18]
cdq
sub eax, edx
mulss xmm0, xmm3
sar eax, 1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
subss xmm1, xmm0
movss xmm0, dword [esi + edi + 0x20]
subss xmm1, xmm4
comiss xmm0, xmm1
jbe 0x1003b854
call fcn.1002f250
movss xmm1, dword [0x110da710]
mov esi, eax
movss xmm0, dword [0x1131f7dc]
mulss xmm0, xmm1
push 0xff
cvttss2si ecx, xmm0
movss xmm0, dword [0x1131f7d8]
mulss xmm0, xmm1
push ecx
cvttss2si ecx, xmm0
movss xmm0, dword [0x1131f7d4]
mulss xmm0, xmm1
push ecx
lea ecx, [ebp - 0x134]
cvttss2si eax, xmm0
push eax
call fcn.100cfa10
movd xmm2, dword [ebp - 0x50]
mov eax, dword [ebp - 0x18]
cvtdq2ps xmm2, xmm2
push 0xf
push ecx
movzx ecx, byte [ebp - 0x12c]
mov dword [esp], 0x40000000
movss xmm0, dword [eax + edi + 0x20]
mulss xmm2, dword [0x110da638]
mov eax, dword [ebp - 0x44]
movss dword [ebp - 0xa8], xmm0
movd xmm0, dword [ebp - 0x28]
subss xmm2, dword [0x110da68c]
cvtdq2ps xmm0, xmm0
cdq
sub eax, edx
sar eax, 1
subss xmm2, xmm0
movd xmm1, eax
mov eax, dword [ebp - 0x128]
shl eax, 8
add ecx, eax
movzx eax, byte [ebp - 0x130]
movaps xmm0, xmm2
shl ecx, 8
addss xmm0, dword [0x1019bb60]
cvtdq2ps xmm1, xmm1
add ecx, eax
movzx eax, byte [ebp - 0x134]
shl ecx, 8
add ecx, eax
lea eax, [ebp - 0xa8]
push ecx
movss dword [ebp - 0x9c], xmm2
mov ecx, dword [esi + 8]
movss dword [ebp - 0xa4], xmm0
movss xmm0, dword [ebp - 0x4c]
mulss xmm0, dword [0x1019b9c8]
push eax
lea eax, [ebp - 0xa0]
push eax
subss xmm1, xmm0
subss xmm1, dword [0x110da678]
movss dword [ebp - 0xa0], xmm1
call fcn.10084260
mov ecx, dword [ebp - 0x44]
movss xmm2, dword [ebp - 0x4c]
movss xmm3, dword [0x1019b9c8]
movss xmm4, dword [0x110da678]
mov esi, dword [ebp - 0x18]
movss xmm1, dword [esi + edi + 0x20]
mov eax, ecx
cdq
sub eax, edx
mulss xmm2, xmm3
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, xmm2
subss xmm0, xmm4
comiss xmm1, xmm0
jbe 0x1003b892
movss xmm0, dword [ebp - 0x3c]
mulss xmm0, dword [0x110da6bc]
subss xmm1, xmm0
movss dword [esi + edi + 0x20], xmm1
jmp 0x1003b8a5
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
and eax, 1
xor edx, edx
or eax, edx
jne 0x1003b8a5
add dword [esi + edi], 0xffffffe7
mov eax, dword [0x113200e8]
movss xmm0, dword [eax + 0x10]
comiss xmm0, dword [esi + edi + 0x1c]
jbe 0x1003b8c9
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
and eax, 1
xor edx, edx
or eax, edx
jne 0x1003b8c9
add dword [esi + edi], 5
mov eax, dword [esi + edi]
cmp eax, 0xff
jle 0x1003b9cb
mov dword [esi + edi], 0xff
mov eax, 0xff
cmp eax, 3
jae 0x1003b9e0
mov ecx, dword [0x11320298]
add ecx, esi
mov esi, dword [0x1132029c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], esi
lea eax, [ecx + 0x24]
mov dword [ebp - 0x24], eax
cmp eax, esi
je 0x1003b974
mov edx, dword [ebp - 0x14]
lea edi, [ecx + 4]
lea esi, [eax + 4]
mov eax, dword [eax]
mov dword [ecx], eax
cmp edi, esi
je 0x1003b949
mov ecx, edi
call fcn.10003ba0
movups xmm0, xmmword [esi]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov eax, dword [esi + 0x18]
add ecx, 0x24
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
add esi, 0x24
mov dword [edi + 0x1c], eax
add edi, 0x24
mov eax, dword [ebp - 0x24]
add eax, 0x24
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
cmp eax, edx
jne 0x1003b913
mov esi, dword [0x1132029c]
mov ecx, dword [esi - 0xc]
cmp ecx, 0xf
jbe 0x1003b9a8
mov eax, dword [esi - 0x20]
inc ecx
cmp ecx, 0x1000
jb 0x1003b99e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003ba37
mov eax, edx
push ecx
push eax
call fcn.1013141d
add esp, 8
mov dword [esi - 0x10], 0
mov dword [esi - 0xc], 0xf
mov byte [esi - 0x20], 0
mov esi, dword [0x1132029c]
sub esi, 0x24
mov dword [0x1132029c], esi
jmp 0x1003b9f3
cmp eax, 1
jge 0x1003b8e3
mov dword [esi + edi], 1
jmp 0x1003b8ec
inc dword [ebp - 0x1c]
add dword [ebp - 0x28], 0x23
add esi, 0x24
mov dword [ebp - 0x18], esi
mov esi, dword [0x1132029c]
mov edi, dword [0x11320298]
mov ecx, esi
sub ecx, edi
mov dword [ebp - 0x2c], edi
mov eax, 0x38e38e39
imul ecx
mov ecx, dword [ebp - 0x1c]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jb 0x1003b302
mov esi, dword [0x1131f3e4]
mov eax, dword [0x1131f3e0]
movss xmm3, dword [0x1019b9cc]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], eax
jmp 0x1003ba43
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov esi, dword [0x1131f3e4]
mov eax, dword [0x113200e8]
movss xmm1, dword [0x11320874]
movss xmm2, dword [0x1118f5f0]
movaps xmm0, xmm2
addss xmm1, dword [eax + 0x14]
mulss xmm0, dword [0x1019bb60]
comiss xmm1, xmm0
movss dword [0x11320874], xmm1
jb 0x1003ba93
cmp byte [0x11320878], 0
xorps xmm1, xmm1
mov dword [0x11320874], 0
sete al
mov byte [0x11320878], al
jmp 0x1003ba98
mov al, byte [0x11320878]
test al, al
je 0x1003baa6
divss xmm1, xmm2
subss xmm3, xmm1
jmp 0x1003baad
movaps xmm3, xmm1
divss xmm3, xmm2
movss xmm1, dword [0x1118f5f4]
lea eax, [ebp - 0x3c]
subss xmm1, dword [0x1118f5f8]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x48], 0xff
mov dword [ebp - 0x40], 0xa
mulss xmm1, xmm3
addss xmm1, dword [0x1118f5f8]
cvttss2si edx, xmm1
cmp edx, 0xa
mov dword [ebp - 0x3c], edx
cmovge ecx, eax
cmp edx, 0xff
lea eax, [ebp - 0x48]
cmovle eax, ecx
mov ecx, esi
sub ecx, dword [ebp - 0x1c]
xor edi, edi
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x48], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1003cd74
xor esi, esi
nop
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x1c]
imul ecx
mov dword [ebp - 0x30], 0x7f800000
sar edx, 3
mov eax, edx
mov dword [ebp - 0x34], 0x7f800000
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x38], 0x7f800000
cmp eax, edi
jbe 0x1003ce9c
mov ecx, dword [0x113200e0]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0xc
push eax
add ecx, esi
call fcn.100376b0
test al, al
je 0x1003cd43
mov eax, dword [0x113202fc]
mov ecx, dword [0x1131f3e4]
sub ecx, dword [0x1131f3e0]
mov eax, dword [eax]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x14], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jbe 0x1003ce9c
mov eax, dword [0x1131f3e0]
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [0x113202fc]
add eax, esi
push eax
call dword [ebp - 0x14]
test eax, eax
jne 0x1003cd43
mov eax, dword [0x1131f3ec]
lea ecx, [ebp - 0x130]
push ecx
mov ecx, dword [eax]
call fcn.100cde50
mov ecx, dword [0x1131f3e4]
sub ecx, dword [0x1131f3e0]
mov dword [ebp - 0x14], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jbe 0x1003ce9c
mov ecx, dword [ebp - 0x14]
mov eax, dword [0x1131f3e0]
movss xmm1, dword [ecx]
movss xmm2, dword [ecx + 4]
subss xmm2, dword [esi + eax + 4]
subss xmm1, dword [esi + eax]
movss xmm0, dword [ecx + 8]
subss xmm0, dword [esi + eax + 8]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
xorps xmm1, xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
ucomisd xmm1, xmm0
ja 0x1003bc51
sqrtsd xmm0, xmm0
jmp 0x1003bc56
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
xorps xmm2, xmm2
movss xmm1, dword [0x110da690]
cvtsd2ss xmm2, xmm0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 0x40a00000
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x24], 0x41400000
mov dword [ebp - 0xe4], 0xff
mov dword [ebp - 0xe0], 0x32
movaps xmm0, xmm2
mulss xmm2, dword [0x1019b9c8]
divss xmm0, dword [0x110da6c0]
subss xmm1, xmm0
movss xmm0, dword [0x110da678]
comiss xmm0, xmm1
movss dword [ebp - 0x20], xmm1
cmovbe ecx, eax
lea eax, [ebp - 0x24]
comiss xmm1, dword [0x110da690]
cmovbe eax, ecx
lea ecx, [ebp - 0xe0]
movss xmm0, dword [eax]
lea eax, [ebp - 0xdc]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [0x110da710]
subss xmm0, xmm2
mov dword [ebp - 0x14], 0
cvttss2si edx, xmm0
movss xmm0, dword [ebp - 0x34]
subss xmm0, dword [0x110da67c]
cmp edx, 0x32
mov dword [ebp - 0xdc], edx
cmovge ecx, eax
cmp edx, 0xff
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0xe4]
cmovle eax, ecx
test edx, edx
lea ecx, [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x48]
cmovns ecx, eax
cmp dword [ebp - 0x1c], edx
lea eax, [ebp - 0x20]
cmovge eax, ecx
lea edx, [ebp - 0x40]
mov ecx, dword [0x113200e0]
push edx
lea edx, [ebp - 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x48], eax
cvttss2si eax, xmm0
push edx
movss xmm0, dword [ebp - 0x38]
subss xmm0, dword [0x110da67c]
mov dword [ebp - 0x24], eax
cvttss2si eax, xmm0
mov dword [ebp - 0x14], eax
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [ebp - 0x3c]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x40]
cdq
sub eax, edx
sar ecx, 1
mov edx, eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x14]
sar edx, 1
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edx
cmp ecx, eax
jle 0x1003bdab
lea ecx, [eax + 0xc]
cmp ecx, dword [ebp - 0x20]
jle 0x1003bdab
mov eax, dword [ebp - 0x24]
cmp edx, eax
jle 0x1003bdab
add eax, 0xc
cmp eax, edx
jle 0x1003bdab
mov al, 1
jmp 0x1003bdad
xor al, al
mov byte [0x11320215], al
call fcn.1002f250
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x24], eax
push 0x32
push 0x32
push 0x32
call fcn.100cfa10
cmp byte [0x11320215], 0
movss xmm0, dword [ebp - 0x18]
movaps xmm2, xmm0
movss dword [ebp - 0x20], xmm0
je 0x1003bdf6
mulss xmm2, dword [0x110da648]
movaps xmm1, xmm0
movss dword [ebp - 0x14], xmm1
jmp 0x1003bdfb
movss dword [ebp - 0x14], xmm0
movups xmm1, xmmword [eax]
push 0x80
movss xmm0, dword [ebp - 0x38]
movss dword [ebp - 0x114], xmm0
movss xmm0, dword [ebp - 0x34]
movss dword [ebp - 0x110], xmm0
movaps xmm0, xmm1
psrldq xmm0, 0xc
movd ecx, xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
movd eax, xmm0
movaps xmm0, xmm1
shl ecx, 8
psrldq xmm0, 4
movzx eax, al
add ecx, eax
movd eax, xmm0
shl ecx, 8
movzx eax, al
add ecx, eax
movd eax, xmm1
shl ecx, 8
movzx eax, al
add ecx, eax
lea eax, [ebp - 0x114]
push ecx
push ecx
mov ecx, dword [ebp - 0x24]
movss dword [esp], xmm2
push eax
mov ecx, dword [ecx + 8]
call fcn.10082530
call fcn.1002f250
cmp byte [0x11320215], 0
movd xmm0, dword [ebp - 0x1c]
movss xmm1, dword [0x110da710]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x24], eax
divss xmm0, xmm1
mulss xmm0, xmm1
je 0x1003bf04
movss xmm2, dword [0x110da6b8]
cvttss2si ecx, xmm0
movss xmm0, dword [0x1131f7dc]
mulss xmm0, xmm2
push ecx
lea ecx, [ebp - 0x1a8]
mulss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [0x1131f7d8]
mulss xmm0, xmm2
push eax
mulss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [0x1131f7d4]
mulss xmm0, xmm2
push eax
mulss xmm0, xmm1
cvttss2si eax, xmm0
push eax
call fcn.100cfa10
movups xmm0, xmmword [ebp - 0x1a8]
movss xmm1, dword [ebp - 0x14]
jmp 0x1003bf53
cvttss2si eax, xmm0
lea ecx, [ebp - 0x1b8]
movss xmm0, dword [0x1131f7dc]
mulss xmm0, xmm1
push eax
cvttss2si eax, xmm0
movss xmm0, dword [0x1131f7d8]
mulss xmm0, xmm1
push eax
cvttss2si eax, xmm0
movss xmm0, dword [0x1131f7d4]
mulss xmm0, xmm1
push eax
cvttss2si eax, xmm0
push eax
call fcn.100cfa10
movups xmm0, xmmword [ebp - 0x1b8]
movss xmm1, dword [ebp - 0x20]
cmp byte [0x11320215], 0
movups xmmword [ebp - 0xd8], xmm0
je 0x1003bf6d
mulss xmm1, dword [0x110da648]
jmp 0x1003bf72
movss xmm1, dword [ebp - 0x18]
mov eax, dword [ebp - 0xcc]
movss xmm0, dword [ebp - 0x38]
push ecx
movzx ecx, byte [ebp - 0xd0]
shl eax, 8
add ecx, eax
mov dword [esp], 0x3f800000
movzx eax, byte [ebp - 0xd4]
shl ecx, 8
add ecx, eax
movss dword [ebp - 0x10c], xmm0
movzx eax, byte [ebp - 0xd8]
movss xmm0, dword [ebp - 0x34]
shl ecx, 8
add ecx, eax
movss dword [ebp - 0x108], xmm0
push 0x80
push ecx
push ecx
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x10c]
movss dword [esp], xmm1
push eax
mov ecx, dword [ecx + 8]
call fcn.100824a0
mov eax, dword [0x113202fc]
mov ecx, dword [0x1131f3e4]
sub ecx, dword [0x1131f3e0]
mov dword [ebp - 0x60], 0x7f800000
mov dword [ebp - 0x64], 0x7f800000
mov dword [ebp - 0x68], 0x7f800000
mov dword [ebp - 0x54], 0x7f800000
mov dword [ebp - 0x58], 0x7f800000
mov dword [ebp - 0x5c], 0x7f800000
mov dword [ebp - 0x78], 0x7f800000
mov dword [ebp - 0x7c], 0x7f800000
mov dword [ebp - 0x80], 0x7f800000
mov dword [ebp - 0x6c], 0x7f800000
mov dword [ebp - 0x70], 0x7f800000
mov dword [ebp - 0x74], 0x7f800000
mov dword [ebp - 0x90], 0x7f800000
mov dword [ebp - 0x94], 0x7f800000
mov dword [ebp - 0x98], 0x7f800000
mov dword [ebp - 0x84], 0x7f800000
mov dword [ebp - 0x88], 0x7f800000
mov dword [ebp - 0x8c], 0x7f800000
mov eax, dword [eax]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x14], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jbe 0x1003ce9c
mov eax, dword [0x1131f3e0]
xorps xmm3, xmm3
movss xmm1, dword [ebp - 0x18]
mov ecx, dword [0x113202fc]
movss xmm2, dword [esi + eax + 4]
movss xmm0, dword [esi + eax]
addss xmm2, xmm3
addss xmm1, dword [esi + eax + 8]
addss xmm0, xmm3
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x140]
movss dword [ebp - 0x13c], xmm2
push eax
movss dword [ebp - 0x140], xmm0
movss dword [ebp - 0x138], xmm1
call dword [ebp - 0x14]
mov eax, dword [0x113202fc]
mov ecx, dword [0x1131f3e4]
sub ecx, dword [0x1131f3e0]
mov eax, dword [eax]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x14], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jbe 0x1003ce9c
mov eax, dword [0x1131f3e0]
xorps xmm3, xmm3
mov ecx, dword [0x113202fc]
movss xmm2, dword [esi + eax + 4]
movss xmm1, dword [esi + eax + 8]
subss xmm2, xmm3
movss xmm0, dword [esi + eax]
lea eax, [ebp - 0x5c]
subss xmm1, dword [ebp - 0x18]
subss xmm0, xmm3
push eax
lea eax, [ebp - 0x14c]
movss dword [ebp - 0x148], xmm2
push eax
movss dword [ebp - 0x144], xmm1
movss dword [ebp - 0x14c], xmm0
call dword [ebp - 0x14]
mov eax, dword [0x113202fc]
mov ecx, dword [0x1131f3e4]
sub ecx, dword [0x1131f3e0]
mov eax, dword [eax]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x14], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jbe 0x1003ce9c
mov eax, dword [0x1131f3e0]
xorps xmm0, xmm0
mov ecx, dword [0x113202fc]
movss xmm2, dword [esi + eax + 4]
movss xmm1, dword [esi + eax + 8]
addss xmm2, xmm0
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x18]
addss xmm0, dword [esi + eax]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x158]
movss dword [ebp - 0x154], xmm2
push eax
movss dword [ebp - 0x158], xmm0
movss dword [ebp - 0x150], xmm1
call dword [ebp - 0x14]
mov eax, dword [0x113202fc]
mov ecx, dword [0x1131f3e4]
sub ecx, dword [0x1131f3e0]
mov eax, dword [eax]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x14], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jbe 0x1003ce9c
mov eax, dword [0x1131f3e0]
xorps xmm0, xmm0
mov ecx, dword [0x113202fc]
movss xmm2, dword [esi + eax + 4]
movss xmm1, dword [esi + eax + 8]
subss xmm2, xmm0
subss xmm1, xmm0
movss xmm0, dword [esi + eax]
subss xmm0, dword [ebp - 0x18]
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x164]
movss dword [ebp - 0x160], xmm2
push eax
movss dword [ebp - 0x164], xmm0
movss dword [ebp - 0x15c], xmm1
call dword [ebp - 0x14]
mov eax, dword [0x113202fc]
mov ecx, dword [0x1131f3e4]
sub ecx, dword [0x1131f3e0]
mov eax, dword [eax]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x14], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jbe 0x1003ce9c
mov eax, dword [0x1131f3e0]
xorps xmm3, xmm3
movss xmm2, dword [ebp - 0x18]
mov ecx, dword [0x113202fc]
movss xmm1, dword [esi + eax + 8]
movss xmm0, dword [esi + eax]
addss xmm1, xmm3
addss xmm2, dword [esi + eax + 4]
addss xmm0, xmm3
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x170]
movss dword [ebp - 0x168], xmm1
push eax
movss dword [ebp - 0x170], xmm0
movss dword [ebp - 0x16c], xmm2
call dword [ebp - 0x14]
mov eax, dword [0x113202fc]
mov ecx, dword [0x1131f3e4]
sub ecx, dword [0x1131f3e0]
mov eax, dword [eax]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x14], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jbe 0x1003ce9c
mov eax, dword [0x1131f3e0]
xorps xmm3, xmm3
mov ecx, dword [0x113202fc]
movss xmm2, dword [esi + eax + 4]
movss xmm1, dword [esi + eax + 8]
movss xmm0, dword [esi + eax]
subss xmm1, xmm3
subss xmm2, dword [ebp - 0x18]
subss xmm0, xmm3
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x17c]
movss dword [ebp - 0x174], xmm1
push eax
movss dword [ebp - 0x17c], xmm0
movss dword [ebp - 0x178], xmm2
call dword [ebp - 0x14]
movsd xmm0, qword [0x110da750]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x14], xmm0
movsd xmm0, qword [0x110da750]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm4, dword [ebp - 0x38]
xorps xmm2, xmm2
movss xmm5, dword [ebp - 0x34]
movss xmm1, dword [ebp - 0x68]
movss xmm6, dword [ebp - 0x64]
subss xmm1, xmm4
movss xmm3, dword [ebp - 0x14]
subss xmm6, xmm5
cvtsd2ss xmm2, xmm0
movaps xmm0, xmm6
movaps xmm7, xmm1
mulss xmm1, xmm3
mulss xmm6, xmm2
mulss xmm7, xmm2
addss xmm6, xmm1
mulss xmm0, xmm3
movss xmm1, dword [ebp - 0x5c]
subss xmm1, xmm4
subss xmm7, xmm0
addss xmm6, xmm5
addss xmm7, xmm4
movss dword [ebp - 0x2c], xmm6
movss dword [ebp - 0x64], xmm6
movss xmm6, dword [ebp - 0x58]
subss xmm6, xmm5
movss dword [ebp - 0x1c], xmm7
movss dword [ebp - 0x68], xmm7
movaps xmm7, xmm1
mulss xmm1, xmm3
movaps xmm0, xmm6
mulss xmm7, xmm2
mulss xmm6, xmm2
mulss xmm0, xmm3
addss xmm6, xmm1
movss xmm1, dword [ebp - 0x80]
subss xmm1, xmm4
subss xmm7, xmm0
addss xmm6, xmm5
addss xmm7, xmm4
movss dword [ebp - 0xa4], xmm6
movss dword [ebp - 0x58], xmm6
movss xmm6, dword [ebp - 0x7c]
subss xmm6, xmm5
movss dword [ebp - 0x9c], xmm7
movss dword [ebp - 0x5c], xmm7
movaps xmm7, xmm1
mulss xmm7, xmm2
mulss xmm1, xmm3
movaps xmm0, xmm6
mulss xmm6, xmm2
mulss xmm0, xmm3
addss xmm6, xmm1
subss xmm7, xmm0
addss xmm6, xmm5
addss xmm7, xmm4
movss dword [ebp - 0xb4], xmm6
movss dword [ebp - 0xac], xmm7
movss dword [ebp - 0x80], xmm7
movss xmm1, dword [ebp - 0x74]
movss dword [ebp - 0x7c], xmm6
subss xmm1, xmm4
movss xmm6, dword [ebp - 0x70]
subss xmm6, xmm5
movaps xmm7, xmm1
mulss xmm1, xmm3
movaps xmm0, xmm6
mulss xmm7, xmm2
mulss xmm6, xmm2
mulss xmm0, xmm3
addss xmm6, xmm1
movss xmm1, dword [ebp - 0x98]
subss xmm1, xmm4
subss xmm7, xmm0
addss xmm6, xmm5
addss xmm7, xmm4
movss dword [ebp - 0xc4], xmm6
movss dword [ebp - 0x70], xmm6
movss xmm6, dword [ebp - 0x94]
subss xmm6, xmm5
movss dword [ebp - 0xbc], xmm7
movss dword [ebp - 0x74], xmm7
movaps xmm7, xmm1
mulss xmm1, xmm3
mulss xmm7, xmm2
movaps xmm0, xmm6
mulss xmm6, xmm2
mulss xmm0, xmm3
addss xmm6, xmm1
movss xmm1, dword [ebp - 0x8c]
subss xmm1, xmm4
subss xmm7, xmm0
addss xmm6, xmm5
addss xmm7, xmm4
movss dword [ebp - 0x24], xmm6
movss dword [ebp - 0x94], xmm6
movss xmm6, dword [ebp - 0x88]
subss xmm6, xmm5
movss dword [ebp - 0xcc], xmm7
movss dword [ebp - 0x98], xmm7
movaps xmm7, xmm1
mulss xmm7, xmm2
mulss xmm1, xmm3
movaps xmm0, xmm6
mulss xmm6, xmm2
movss xmm2, dword [ebp - 0x1c]
mulss xmm0, xmm3
subss xmm2, xmm4
addss xmm6, xmm1
subss xmm7, xmm0
movss xmm0, dword [ebp - 0x2c]
subss xmm0, xmm5
movss dword [ebp - 0x1c], xmm2
addss xmm6, xmm5
addss xmm7, xmm4
movaps xmm1, xmm0
movss dword [ebp - 0x2c], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
movss dword [ebp - 0x20], xmm7
movss dword [ebp - 0x8c], xmm7
addss xmm1, xmm0
movss dword [ebp - 0x14], xmm6
movss dword [ebp - 0x88], xmm6
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1003c5f8
sqrtsd xmm0, xmm0
jmp 0x1003c5fd
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
movss xmm0, dword [ebp - 0x18]
comiss xmm2, xmm0
jbe 0x1003c661
cmp byte [0x11320215], 0
je 0x1003c624
cvtps2pd xmm1, xmm0
mulsd xmm1, qword [0x110da660]
jmp 0x1003c62f
subss xmm0, dword [0x1019bb68]
cvtps2pd xmm1, xmm0
cvtps2pd xmm0, xmm2
divsd xmm1, xmm0
cvtpd2ps xmm1, xmm1
movaps xmm0, xmm1
mulss xmm1, dword [ebp - 0x2c]
mulss xmm0, dword [ebp - 0x1c]
addss xmm0, dword [ebp - 0x38]
movss dword [ebp - 0x68], xmm0
movss xmm0, dword [ebp - 0x34]
addss xmm1, xmm0
movss dword [ebp - 0x64], xmm1
jmp 0x1003c666
movss xmm0, dword [ebp - 0x34]
movss xmm3, dword [ebp - 0x9c]
movss xmm2, dword [ebp - 0xa4]
subss xmm3, dword [ebp - 0x38]
subss xmm2, xmm0
movaps xmm0, xmm3
movss dword [ebp - 0x9c], xmm3
movaps xmm1, xmm2
mulss xmm0, xmm3
mulss xmm1, xmm2
movss dword [ebp - 0xa4], xmm2
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1003c6b3
sqrtsd xmm0, xmm0
jmp 0x1003c6b8
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
movss xmm0, dword [ebp - 0x18]
comiss xmm2, xmm0
jbe 0x1003c722
cmp byte [0x11320215], 0
je 0x1003c6df
cvtps2pd xmm1, xmm0
mulsd xmm1, qword [0x110da660]
jmp 0x1003c6ea
subss xmm0, dword [0x1019bb68]
cvtps2pd xmm1, xmm0
cvtps2pd xmm0, xmm2
divsd xmm1, xmm0
cvtpd2ps xmm1, xmm1
movaps xmm0, xmm1
mulss xmm1, dword [ebp - 0xa4]
mulss xmm0, dword [ebp - 0x9c]
addss xmm0, dword [ebp - 0x38]
movss dword [ebp - 0x5c], xmm0
movss xmm0, dword [ebp - 0x34]
addss xmm1, xmm0
movss dword [ebp - 0x58], xmm1
jmp 0x1003c727
movss xmm0, dword [ebp - 0x34]
movss xmm3, dword [ebp - 0xac]
movss xmm2, dword [ebp - 0xb4]
subss xmm3, dword [ebp - 0x38]
subss xmm2, xmm0
movaps xmm0, xmm3
movss dword [ebp - 0xac], xmm3
movaps xmm1, xmm2
mulss xmm0, xmm3
mulss xmm1, xmm2
movss dword [ebp - 0xb4], xmm2
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1003c774
sqrtsd xmm0, xmm0
jmp 0x1003c779
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
movss xmm0, dword [ebp - 0x18]
comiss xmm2, xmm0
jbe 0x1003c7e3
cmp byte [0x11320215], 0
je 0x1003c7a0
cvtps2pd xmm1, xmm0
mulsd xmm1, qword [0x110da660]
jmp 0x1003c7ab
subss xmm0, dword [0x1019bb68]
cvtps2pd xmm1, xmm0
cvtps2pd xmm0, xmm2
divsd xmm1, xmm0
cvtpd2ps xmm1, xmm1
movaps xmm0, xmm1
mulss xmm1, dword [ebp - 0xb4]
mulss xmm0, dword [ebp - 0xac]
addss xmm0, dword [ebp - 0x38]
movss dword [ebp - 0x80], xmm0
movss xmm0, dword [ebp - 0x34]
addss xmm1, xmm0
movss dword [ebp - 0x7c], xmm1
jmp 0x1003c7e8
movss xmm0, dword [ebp - 0x34]
movss xmm3, dword [ebp - 0xbc]
movss xmm2, dword [ebp - 0xc4]
subss xmm3, dword [ebp - 0x38]
subss xmm2, xmm0
movaps xmm0, xmm3
movss dword [ebp - 0xbc], xmm3
movaps xmm1, xmm2
mulss xmm0, xmm3
mulss xmm1, xmm2
movss dword [ebp - 0xc4], xmm2
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1003c835
sqrtsd xmm0, xmm0
jmp 0x1003c83a
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
movss xmm0, dword [ebp - 0x18]
comiss xmm2, xmm0
jbe 0x1003c8a4
cmp byte [0x11320215], 0
je 0x1003c861
cvtps2pd xmm1, xmm0
mulsd xmm1, qword [0x110da660]
jmp 0x1003c86c
subss xmm0, dword [0x1019bb68]
cvtps2pd xmm1, xmm0
cvtps2pd xmm0, xmm2
divsd xmm1, xmm0
cvtpd2ps xmm1, xmm1
movaps xmm0, xmm1
mulss xmm1, dword [ebp - 0xc4]
mulss xmm0, dword [ebp - 0xbc]
addss xmm0, dword [ebp - 0x38]
movss dword [ebp - 0x74], xmm0
movss xmm0, dword [ebp - 0x34]
addss xmm1, xmm0
movss dword [ebp - 0x70], xmm1
jmp 0x1003c8a9
movss xmm0, dword [ebp - 0x34]
movss xmm3, dword [ebp - 0xcc]
movss xmm2, dword [ebp - 0x24]
subss xmm3, dword [ebp - 0x38]
subss xmm2, xmm0
movaps xmm0, xmm3
movss dword [ebp - 0xcc], xmm3
movaps xmm1, xmm2
mulss xmm0, xmm3
mulss xmm1, xmm2
movss dword [ebp - 0x24], xmm2
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1003c8f0
sqrtsd xmm0, xmm0
jmp 0x1003c8f5
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
movss xmm0, dword [ebp - 0x18]
comiss xmm2, xmm0
jbe 0x1003c962
cmp byte [0x11320215], 0
je 0x1003c91c
cvtps2pd xmm1, xmm0
mulsd xmm1, qword [0x110da660]
jmp 0x1003c927
subss xmm0, dword [0x1019bb68]
cvtps2pd xmm1, xmm0
cvtps2pd xmm0, xmm2
divsd xmm1, xmm0
cvtpd2ps xmm1, xmm1
movaps xmm0, xmm1
mulss xmm1, dword [ebp - 0x24]
mulss xmm0, dword [ebp - 0xcc]
addss xmm0, dword [ebp - 0x38]
movss dword [ebp - 0x98], xmm0
movss xmm0, dword [ebp - 0x34]
addss xmm1, xmm0
movss dword [ebp - 0x94], xmm1
jmp 0x1003c967
movss xmm0, dword [ebp - 0x34]
movss xmm3, dword [ebp - 0x20]
movss xmm2, dword [ebp - 0x14]
subss xmm3, dword [ebp - 0x38]
subss xmm2, xmm0
movaps xmm0, xmm3
movss dword [ebp - 0x20], xmm3
movaps xmm1, xmm2
mulss xmm0, xmm3
mulss xmm1, xmm2
movss dword [ebp - 0x14], xmm2
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1003c9a8
sqrtsd xmm0, xmm0
jmp 0x1003c9ad
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
movss xmm0, dword [ebp - 0x18]
comiss xmm2, xmm0
jbe 0x1003ca11
cmp byte [0x11320215], 0
je 0x1003c9d4
cvtps2pd xmm1, xmm0
mulsd xmm1, qword [0x110da660]
jmp 0x1003c9df
subss xmm0, dword [0x1019bb68]
cvtps2pd xmm1, xmm0
cvtps2pd xmm0, xmm2
divsd xmm1, xmm0
cvtpd2ps xmm1, xmm1
movaps xmm0, xmm1
mulss xmm1, dword [ebp - 0x14]
mulss xmm0, dword [ebp - 0x20]
addss xmm1, dword [ebp - 0x34]
addss xmm0, dword [ebp - 0x38]
movss dword [ebp - 0x88], xmm1
movss dword [ebp - 0x8c], xmm0
movss xmm1, dword [0x110da710]
lea eax, [ebp - 0x20]
movss xmm0, dword [0x1131f7d4]
lea ecx, [ebp - 0x14]
mulss xmm0, xmm1
mov dword [ebp - 0x24], 0xff
mov dword [ebp - 0x14], 0
cvttss2si edx, xmm0
movss xmm0, dword [0x1131f7d8]
test edx, edx
mulss xmm0, xmm1
mov dword [ebp - 0x20], edx
cmovns ecx, eax
cmp edx, 0xff
lea eax, [ebp - 0x24]
cmovle eax, ecx
lea ecx, [ebp - 0x14]
cvttss2si edx, xmm0
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], 0xff
mov dword [ebp - 0x14], 0
movss xmm0, dword [0x1131f7dc]
test edx, edx
mulss xmm0, xmm1
mov dword [ebp - 0x20], edx
cmovns ecx, eax
cmp edx, 0xff
lea eax, [ebp - 0x24]
cmovle eax, ecx
lea ecx, [ebp - 0x14]
cvttss2si edx, xmm0
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], 0xff
mov dword [ebp - 0x14], 0
test edx, edx
mov dword [ebp - 0x20], edx
cmovns ecx, eax
cmp edx, 0xff
lea eax, [ebp - 0x24]
cmovle eax, ecx
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
call fcn.1002f250
cmp byte [0x11320215], 0
lea ecx, [ebp - 0x1c8]
push dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x18]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
jne 0x1003caf9
lea ecx, [ebp - 0x1d8]
call fcn.100cfa10
movss xmm0, dword [ebp - 0x5c]
movss dword [ebp - 0xfc], xmm0
movss xmm0, dword [ebp - 0x58]
movups xmm1, xmmword [eax]
push ecx
movss dword [ebp - 0xf8], xmm0
movss xmm0, dword [ebp - 0x68]
movss dword [ebp - 0xf4], xmm0
movss xmm0, dword [ebp - 0x64]
movss dword [ebp - 0xf0], xmm0
movaps xmm0, xmm1
psrldq xmm0, 0xc
movd ecx, xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
movd eax, xmm0
movaps xmm0, xmm1
shl ecx, 8
psrldq xmm0, 4
movzx eax, al
add ecx, eax
mov dword [esp], 0x3f800000
shl ecx, 8
movd eax, xmm0
movzx eax, al
add ecx, eax
movd eax, xmm1
shl ecx, 8
movzx eax, al
add ecx, eax
lea eax, [ebp - 0xfc]
push ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0xf4]
push eax
mov ecx, dword [ecx + 8]
call fcn.10083500
call fcn.1002f250
cmp byte [0x11320215], 0
lea ecx, [ebp - 0x1e8]
push dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x18]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
jne 0x1003cbc0
lea ecx, [ebp - 0x1f8]
call fcn.100cfa10
movss xmm0, dword [ebp - 0x80]
movss dword [ebp - 0x104], xmm0
movss xmm0, dword [ebp - 0x7c]
movups xmm1, xmmword [eax]
push ecx
movss dword [ebp - 0x100], xmm0
movss xmm0, dword [ebp - 0x74]
movss dword [ebp - 0x11c], xmm0
movss xmm0, dword [ebp - 0x70]
movss dword [ebp - 0x118], xmm0
movaps xmm0, xmm1
psrldq xmm0, 0xc
movd ecx, xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
movd eax, xmm0
movaps xmm0, xmm1
shl ecx, 8
psrldq xmm0, 4
movzx eax, al
add ecx, eax
mov dword [esp], 0x3f800000
shl ecx, 8
movd eax, xmm0
movzx eax, al
add ecx, eax
movd eax, xmm1
shl ecx, 8
movzx eax, al
add ecx, eax
lea eax, [ebp - 0x104]
push ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ecx + 8]
call fcn.10083500
call fcn.1002f250
cmp byte [0x11320215], 0
lea ecx, [ebp - 0x208]
push dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x18]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
jne 0x1003cc87
lea ecx, [ebp - 0x190]
call fcn.100cfa10
movss xmm0, dword [ebp - 0x8c]
movss dword [ebp - 0x124], xmm0
movss xmm0, dword [ebp - 0x88]
movups xmm1, xmmword [eax]
push ecx
movss dword [ebp - 0x120], xmm0
movss xmm0, dword [ebp - 0x98]
movss dword [ebp - 0xec], xmm0
movss xmm0, dword [ebp - 0x94]
movss dword [ebp - 0xe8], xmm0
movaps xmm0, xmm1
psrldq xmm0, 0xc
movd ecx, xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
movd eax, xmm0
movaps xmm0, xmm1
shl ecx, 8
psrldq xmm0, 4
movzx eax, al
add ecx, eax
mov dword [esp], 0x3f800000
shl ecx, 8
movd eax, xmm0
movzx eax, al
add ecx, eax
movd eax, xmm1
shl ecx, 8
movzx eax, al
add ecx, eax
lea eax, [ebp - 0x124]
push ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0xec]
push eax
mov ecx, dword [ecx + 8]
call fcn.10083500
cmp byte [0x11320215], 0
je 0x1003cd43
cmp byte [0x11320870], 0
jne 0x1003cd87
mov eax, dword [0x1131f3e4]
inc edi
mov ecx, eax
mov dword [ebp - 0x14], eax
mov eax, dword [0x1131f3e0]
add esi, 0x30
sub ecx, eax
mov dword [ebp - 0x1c], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x1003bb20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov esi, dword [0x1131f3e4]
lea edx, [edi + edi*2]
shl edx, 4
add edx, dword [0x1131f3e0]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x14], esi
lea eax, [edx + 0x30]
mov dword [ebp - 0x48], eax
cmp eax, esi
je 0x1003ce35
lea ecx, [edx + 0x2c]
mov dword [ebp - 0x3c], ecx
lea edi, [eax + 0x20]
mov eax, dword [eax]
mov dword [edx], eax
mov eax, dword [edi - 0x1c]
mov dword [ecx - 0x28], eax
mov eax, dword [edi - 0x18]
mov dword [ecx - 0x24], eax
lea eax, [edi + 0xc]
cmp ecx, eax
je 0x1003ce02
lea esi, [ecx - 0x20]
mov ecx, esi
call fcn.10003ba0
movups xmm0, xmmword [edi - 0x14]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x40]
movups xmmword [esi], xmm0
movq xmm0, qword [edi - 4]
movq qword [esi + 0x10], xmm0
mov esi, dword [ebp - 0x14]
mov dword [edi - 4], 0
mov dword [edi], 0xf
mov byte [edi - 0x14], 0
mov eax, dword [edi + 4]
add edx, 0x30
mov dword [ecx - 8], eax
mov eax, dword [edi + 8]
mov dword [ecx - 4], eax
mov eax, dword [edi + 0xc]
add edi, 0x30
mov dword [ecx], eax
add ecx, 0x30
mov eax, dword [ebp - 0x48]
add eax, 0x30
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x48], eax
cmp eax, esi
jne 0x1003cdb6
mov esi, dword [0x1131f3e4]
mov ecx, dword [esi - 0x10]
cmp ecx, 0xf
jbe 0x1003ce69
mov eax, dword [esi - 0x24]
inc ecx
cmp ecx, 0x1000
jb 0x1003ce5f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003ba37
mov eax, edx
push ecx
push eax
call fcn.1013141d
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword [esi - 0x14], 0
mov dword [esi - 0x10], 0xf
mov byte [esi - 0x24], 0
sub dword [0x1131f3e4], 0x30
pop edi
mov byte [0x11320870], 0
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100379a0
call fcn.100379a0
int3