Function at 0x100155d0
Capabilities:
Access peb ldr_data
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
push 0xffffffffffffffff
push 0x1003dc57
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1c60
call fcn.1003bfb0
mov eax, dword [0x1004b040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1004b8ec]
push dword [ebx + 0x10]
movss xmm0, dword [ebx + 0xc]
mov edi, dword [ebx + 8]
mov eax, dword [eax + 4]
push ecx
movss dword [esp], xmm0
mov ecx, edx
push edi
mov eax, dword [eax + 0x48]
call eax
mov ecx, dword [0x1004b8d8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x1004b8e4]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [0x1004b8e4]
mov esi, eax
mov dword [ebp - 0x1c20], esi
mov edx, dword [ecx]
push dword [esi + 0xb38]
mov edx, dword [edx + 0x10]
call edx
mov ecx, eax
test ecx, ecx
jne 0x1001567a
mov dword [ebp - 0x1c24], eax
jmp 0x10015687
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov dword [ebp - 0x1c24], eax
mov ecx, dword [0x1004b8f4]
test ecx, ecx
je 0x10016744
mov eax, 0xb60b60b7
mov byte [0x1004d405], 1
imul edi
add edx, edi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x5a
sub edi, eax
shl edi, 6
add edi, dword [ecx + 0xc4]
cmp byte [0x1004b6dc], 0
je 0x100156e7
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x100156e0
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x100156e7
and dword [edi + 0x24], 0xfffff1e6
movss xmm0, dword [edi + 0x1c]
mov ecx, dword [0x1004b8d8]
movss dword [0x11d4ac58], xmm0
movss xmm0, dword [edi + 0x18]
movss dword [0x11d4ac5c], xmm0
mov eax, dword [ecx]
push 0x11d4ac6c
mov eax, dword [eax + 0x4c]
call eax
movss xmm0, dword [edi + 0xc]
movss dword [0x11d4ac60], xmm0
movss xmm0, dword [edi + 0x10]
movss dword [0x11d4ac64], xmm0
movss xmm0, dword [edi + 0x14]
movss dword [0x11d4ac68], xmm0
call fcn.10037cc0
inc dword [0x1004b8f0]
cmp byte [0x10f6ce08], 0
je 0x1001580a
push 0x75
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10015769
mov dword [0x1004b164], 1
push 0x76
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10015787
lea eax, [ebp - 0x1c]
mov word [0x1004c58c], 1
mov dword [0x1004c588], eax
push 0x77
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x100157a5
lea eax, [ebp - 0x1c]
mov word [0x1004c58c], 0x100
mov dword [0x1004c588], eax
push 0x78
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x100157bc
mov dword [0x1004b164], 2
push 0x79
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x100157d3
mov dword [0x1004b164], 0
push 0x7a
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x100157ea
mov dword [0x1004b164], 3
movq xmm0, qword [edi + 0xc]
sub esp, 0xc
mov eax, dword [edi + 0x14]
mov ecx, esp
push esi
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, 0x1004b158
push edi
call fcn.10033f60
mov ecx, esi
call fcn.10002fa0
cmp dword [eax], 0
jne 0x10016744
cmp byte [0x10f6c790], 0
je 0x1001588b
mov ecx, esi
call fcn.10002cd0
mov eax, dword [eax]
mov dword [0x11d4acb8], eax
not al
and al, 1
cmp byte [0x1004d407], 0
mov byte [0x10f6c364], al
jne 0x10015852
cmp byte [0x1004d406], 0
je 0x10015852
or dword [edi + 0x24], 2
jmp 0x10015884
mov ecx, dword [edi + 0x24]
test cl, 2
je 0x1001587d
test al, al
jne 0x1001586e
mov al, 1
mov byte [0x1004d406], 1
mov byte [0x1004d407], al
jmp 0x1001588b
and ecx, 0xfffffffd
xor al, al
mov dword [edi + 0x24], ecx
mov byte [0x1004d407], al
jmp 0x1001588b
mov byte [0x1004d407], 0
mov byte [0x1004d406], 0
cmp dword [0x10f6c82c], 1
mov eax, dword [esi + 0x134]
jne 0x1001594a
cmp eax, 8
je 0x1001594a
cmp eax, 9
je 0x1001594a
mov ecx, esi
call fcn.10002cd0
test byte [eax], 1
jne 0x1001593b
movzx ecx, word [edi + 0x38]
lea eax, [ecx + 1]
cmp ax, 2
ja 0x10015913
lea ecx, [esi + 0xe0]
call fcn.10002a40
test byte [edi + 4], 1
movss xmm1, dword [0x10046394]
divss xmm1, xmm0
movss dword [edi + 0x18], xmm1
movss xmm0, dword [esi + 0xda0]
jne 0x100158fa
xorps xmm0, xmmword [0x100464a0]
movss dword [edi + 0x1c], xmm0
movss xmm0, dword [esi + 0xda0]
comiss xmm1, xmm0
jbe 0x1001594a
movss dword [edi + 0x18], xmm0
jmp 0x1001594a
movss xmm1, dword [esi + 0xda0]
xorps xmm2, xmm2
movsx eax, cx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
jbe 0x10015934
xorps xmm1, xmmword [0x100464a0]
movss dword [edi + 0x1c], xmm1
jmp 0x1001594a
test byte [edi + 0x24], 2
je 0x1001594a
mov eax, dword [esi + 0xda0]
mov dword [edi + 0x18], eax
mov ecx, edi
call fcn.10006fc0
cmp byte [0x10f6c794], 0
je 0x10015b42
cmp dword [esi + 0x134], 9
je 0x10015b42
movss xmm4, dword [esi + 0x2a4]
movaps xmm0, xmm4
movss xmm5, dword [esi + 0x1d10]
subss xmm0, dword [0x100462c8]
movss xmm6, dword [esi + 0x1d14]
movss xmm7, dword [esi + 0x1d18]
mov dword [ebp - 0x1c60], 0
mov dword [ebp - 0x1c5c], 0
subss xmm0, xmm4
mov byte [ebp - 0x1c3b], 1
movss dword [ebp - 0x1c58], xmm0
mulss xmm0, xmm0
ucomiss xmm0, dword [0x10046110]
lahf
test ah, 0x44
jp 0x100159d5
mov byte [ebp - 0x1c3b], 0
movss xmm2, dword [esi + 0x1c20]
lea edx, [ebp - 0x78]
movss xmm3, dword [esi + 0x1c24]
subss xmm2, xmm5
movss xmm1, dword [esi + 0x1c28]
subss xmm3, xmm6
addss xmm5, dword [esi + 0x1c20]
subss xmm1, xmm7
mov ecx, dword [0x1004b8dc]
addss xmm6, dword [esi + 0x1c24]
movaps xmm0, xmm2
mov dword [ebp - method.Valve::TraceFilterSkipTwoEntities.virtual_0], vtable.Valve::TraceFilterSkipTwoEntities.0
mulss xmm0, dword [0x100461d8]
mov eax, dword [ecx]
addss xmm7, dword [esi + 0x1c28]
mulss xmm2, xmm2
push edx
movss dword [ebp - 0x1c48], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x100461d8]
lea edx, [ebp - 0x1c34]
push edx
mulss xmm3, xmm3
lea edx, [ebp - 0x1c6c]
push 0x1400b
movss dword [ebp - 0x1c44], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100461d8]
mov dword [ebp - 0x1c30], esi
addss xmm3, xmm2
mulss xmm1, xmm1
mov dword [ebp - 0x1c2c], 0
movss dword [ebp - 0x1c40], xmm0
movsd xmm0, qword [0x100461c0]
push edx
addss xmm3, xmm1
mulss xmm3, dword [0x100461b4]
cvtps2pd xmm1, xmm3
comisd xmm0, xmm1
movss xmm0, dword [0x100461d8]
mulss xmm5, xmm0
mulss xmm6, xmm0
seta byte [ebp - 0x1c3c]
mulss xmm7, xmm0
movaps xmm0, xmm5
addss xmm0, dword [esi + 0x29c]
movss dword [ebp - 0x1c6c], xmm0
movaps xmm0, xmm6
addss xmm0, dword [esi + 0x2a0]
movss dword [ebp - 0x1c68], xmm0
movaps xmm0, xmm7
addss xmm0, xmm4
movss dword [ebp - 0x1c64], xmm0
movss xmm0, dword [0x100464a0]
xorps xmm5, xmm0
xorps xmm6, xmm0
xorps xmm7, xmm0
movss dword [ebp - 0x1c54], xmm5
movss dword [ebp - 0x1c50], xmm6
movss dword [ebp - 0x1c4c], xmm7
mov eax, dword [eax + 0x10]
call eax
movss xmm0, dword [ebp - 0x4c]
ucomiss xmm0, dword [0x10046208]
lahf
test ah, 0x44
jp 0x10015b42
or dword [edi + 0x24], 2
cmp byte [0x10f6c7be], 0
movss xmm0, dword [esi + 0xdc]
movss dword [ebp - 0x1c1c], xmm0
je 0x10015be0
mov ecx, dword [0x1004b8d8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x1004b8e4]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
test byte [edi + 0x24], 4
je 0x10015bd9
mov ecx, eax
call fcn.10002cd0
test byte [eax], 1
je 0x10015bd9
cmp byte [0x11db97bc], 0
movss xmm1, dword [ebp - 0x1c1c]
jne 0x10015bb3
ucomiss xmm1, dword [0x100462e8]
lahf
test ah, 0x44
jp 0x10015be0
mov byte [0x11db97bc], 1
jmp 0x10015be0
ucomiss xmm1, dword [0x10046300]
lahf
test ah, 0x44
jp 0x10015bc6
or dword [edi + 0x24], 4
jmp 0x10015be0
movss xmm0, dword [0x100462fc]
comiss xmm0, xmm1
jb 0x10015be0
and dword [edi + 0x24], 0xfffffffb
jmp 0x10015be0
mov byte [0x11db97bc], 0
push esi
push edi
mov ecx, 0x10efa590
call fcn.10033a00
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
movss xmm4, dword [esi + 0xd8]
movss xmm3, dword [esi + 0xdc]
mov ecx, dword [ebp - 0x1c24]
movss xmm2, dword [eax + 4]
movss xmm1, dword [eax + 8]
addss xmm4, xmm2
movss xmm0, dword [eax]
addss xmm3, xmm1
addss xmm0, dword [esi + 0xd4]
movss dword [0x1004d3cc], xmm4
movss dword [0x1004d3d0], xmm3
movss dword [0x1004d3c8], xmm0
test ecx, ecx
je 0x1001653d
cmp byte [0x10f6c798], 0
je 0x10015de4
mov eax, dword [ecx]
mov eax, dword [eax + 0x4a4]
call eax
test eax, eax
js 0x10015dde
cmp eax, 0x1d
jg 0x10015dde
cmp eax, 0x1c
jne 0x10015dde
mov eax, dword [0x1004b8e0]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x1c1c], eax
cmp eax, 1
jl 0x10015dde
mov ecx, dword [0x1004b8d8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov edx, dword [ebp - 0x1c1c]
cmp edx, eax
je 0x10015dce
mov ecx, dword [0x1004b8e4]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10015dc8
mov edx, dword [eax + 8]
lea ecx, [eax + 8]
mov edx, dword [edx + 0x20]
call edx
test al, al
jne 0x10015dc8
mov ecx, dword [ebp - 0x1c]
call fcn.10002b80
mov ecx, dword [ebp - 0x1c20]
mov esi, dword [eax]
call fcn.10002b80
mov edx, dword [ebp - 0x1c1c]
cmp esi, dword [eax]
je 0x10015dc0
mov esi, dword [ebp - 0x1c]
cmp dword [esi + 0x87], 0
jne 0x10015dc0
cmp byte [edx + 0x10f6ca38], 0
jne 0x10015dc0
mov eax, dword [ebp - 0x1c24]
mov ecx, esi
movss xmm1, dword [eax + 0x6b8]
mov eax, dword [0x1004b8e0]
cvtps2pd xmm1, xmm1
movss xmm0, dword [eax + 0xc]
addsd xmm1, qword [0x10046248]
cvtps2pd xmm0, xmm0
comisd xmm0, xmm1
seta byte [ebp - 0x1c25]
call fcn.10003090
cmp dword [eax], 0x14
jg 0x10015d5e
cmp byte [ebp - 0x1c25], 0
jne 0x10015d73
mov ecx, esi
call fcn.10003090
cmp dword [eax], 0xf
jg 0x10015d98
cmp byte [ebp - 0x1c25], 0
jne 0x10015d98
push esi
mov esi, dword [ebp - 0x1c20]
mov ecx, 0x11d4acb4
push esi
push edi
push 0
call fcn.10039a10
mov edx, dword [ebp - 0x1c1c]
test al, al
je 0x10015dce
or dword [edi + 0x24], 1
jmp 0x10015dce
push esi
mov esi, dword [ebp - 0x1c20]
mov ecx, 0x11d4acb4
push esi
push edi
push 1
call fcn.10039a10
mov edx, dword [ebp - 0x1c1c]
test al, al
je 0x10015dce
or dword [edi + 0x24], 0x800
jmp 0x10015dce
mov esi, dword [ebp - 0x1c20]
jmp 0x10015dce
mov edx, dword [ebp - 0x1c1c]
dec edx
mov dword [ebp - 0x1c1c], edx
cmp edx, 1
jge 0x10015c91
mov ecx, dword [ebp - 0x1c24]
mov eax, dword [ecx]
mov eax, dword [eax + 0x4a4]
call eax
test eax, eax
js case.0x10015e0b.0
cmp eax, 0x1d
jg case.0x10015e0b.0
cmp eax, 0x1c
ja case.0x10015e0b.1
movzx eax, byte [eax + 0x1001676c]
jmp dword [eax*4 + 0x10016764]
cmp byte [0x1004b6bf], 0
jne 0x1001603f
cmp byte [0x10f6c6e0], 0
je 0x10015e35
push dword [ebp - 0x1c24]
push esi
push edi
call fcn.100391b0
cmp byte [0x10f6c4fc], 0
je 0x1001603f
movq xmm0, qword [edi + 0xc]
mov ecx, 0x1004c6e8
mov eax, dword [edi + 0x14]
push esi
push edi
movq qword [ebp - 0x1c34], xmm0
mov dword [ebp - 0x1c2c], eax
call fcn.10004cb0
cmp byte [0x10f6c50b], 0
je 0x1001603f
movss xmm0, dword [0x10f6c63c]
comiss xmm0, dword [0x100462c4]
jb 0x1001603f
cmp byte [0x10f6c509], 0
jne 0x1001603f
movss xmm2, dword [edi + 0xc]
subss xmm2, dword [ebp - 0x1c34]
comiss xmm2, dword [0x10046344]
movaps xmm0, xmm2
movss dword [ebp - 0x1c1c], xmm2
mulss xmm0, dword [0x10046124]
movss dword [ebp - 0x1c20], xmm0
ja 0x10015ed6
movss xmm3, dword [0x100463f4]
comiss xmm3, xmm2
ja 0x10015ed6
xorps xmm5, xmm5
jmp 0x10015f47
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x10015eed
xorps xmm0, xmmword [0x100464a0]
movss dword [ebp - 0x1c20], xmm0
fld dword [ebp - 0x1c20]
push ecx
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movss xmm2, dword [ebp - 0x1c1c]
xorps xmm5, xmm5
movss xmm3, dword [0x100463f4]
add esp, 4
comiss xmm5, xmm2
fstp dword [ebp - 0x1c20]
movss xmm0, dword [ebp - 0x1c20]
mulss xmm0, dword [0x10046378]
jbe 0x10015f3b
addss xmm0, xmm2
movss dword [ebp - 0x1c1c], xmm0
jmp 0x10015f47
subss xmm2, xmm0
movss dword [ebp - 0x1c1c], xmm2
movss xmm1, dword [edi + 0x10]
movss xmm4, dword [ebp - 0x1c30]
subss xmm1, xmm4
comiss xmm1, dword [0x10046344]
movaps xmm0, xmm1
movss dword [ebp - 0x1c], xmm1
mulss xmm0, dword [0x10046124]
movss dword [ebp - 0x1c20], xmm0
ja 0x10015f7e
comiss xmm3, xmm1
jbe 0x10015fd9
comiss xmm5, xmm0
jbe 0x10015f92
xorps xmm0, xmmword [0x100464a0]
movss dword [ebp - 0x1c20], xmm0
fld dword [ebp - 0x1c20]
push ecx
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movss xmm1, dword [ebp - 0x1c]
xorps xmm0, xmm0
movss xmm4, dword [ebp - 0x1c30]
add esp, 4
fstp dword [ebp - 0x1c20]
comiss xmm0, xmm1
movss xmm0, dword [ebp - 0x1c20]
mulss xmm0, dword [0x10046378]
jbe 0x10015fd5
addss xmm1, xmm0
jmp 0x10015fd9
subss xmm1, xmm0
movss xmm0, dword [0x10046344]
movss xmm2, dword [0x10f6c63c]
comiss xmm2, xmm0
jb 0x10015ff3
movaps xmm2, xmm0
jmp 0x10015ff8
movss xmm2, dword [ebp - 0x1c]
movss xmm0, dword [ebp - 0x1c1c]
comiss xmm2, xmm0
jbe 0x1001601e
movaps xmm3, xmm2
xorps xmm3, xmmword [0x100464a0]
comiss xmm0, xmm3
jbe 0x1001601e
comiss xmm2, xmm1
jbe 0x1001601e
comiss xmm1, xmm3
ja 0x1001603f
movss xmm0, dword [ebp - 0x1c34]
lea eax, [edi + 0xc]
movss dword [eax], xmm0
movss xmm0, dword [ebp - 0x1c2c]
movss dword [eax + 4], xmm4
movss dword [eax + 8], xmm0
test byte [edi + 0x24], 1
je 0x1001631f
push dword [ebp - 0x1c24]
push esi
call fcn.10039800
test al, al
je 0x100162e0
mov ecx, dword [0x1004cb84]
cmp ecx, 0xffffffff
je 0x10016078
cmp byte [ecx + 0x1004c548], 0
je 0x10016078
inc dword [ecx*4 + 0x1004b948]
mov dl, byte [0x10f6c6e0]
mov byte [0x1004d404], 1
mov dword [0x10f6ce14], 0
test dl, dl
je 0x100160a0
cmp byte [0x10f6c6e2], 0
jne 0x100160a0
mov al, 1
jmp 0x100160a2
xor al, al
test dl, dl
je 0x100160ae
test al, al
je 0x100161bc
cmp byte [0x10f6c6dc], 0
je 0x100160ed
mov ecx, dword [edi + 4]
call fcn.10035f30
and eax, 0x7fffffff
mov dword [edi + 0x34], eax
cmp al, 0x8d
je 0x100160e7
nop dword [eax + eax]
inc dword [edi + 4]
mov ecx, dword [edi + 4]
call fcn.10035f30
and eax, 0x7fffffff
mov dword [edi + 0x34], eax
cmp al, 0x8d
jne 0x100160d0
mov ecx, dword [0x1004cb84]
cmp byte [0x10f6c6dd], 0
je 0x100161bc
cmp byte [0x10f6c6de], 0
je 0x1001611c
movzx eax, byte [0x10f6c7b5]
push eax
push dword [ebp - 0x1c24]
lea eax, [edi + 0xc]
push ecx
push eax
push edi
call fcn.1002d320
cmp byte [0x10f6c7b4], 0
movss xmm1, dword [esi + 0xbb0]
addss xmm1, xmm1
je 0x10016174
cmp byte [0x10f6c7b5], 0
je 0x10016174
movss xmm0, dword [0x10046344]
subss xmm0, dword [edi + 0xc]
subss xmm0, xmm1
movss dword [edi + 0xc], xmm0
movss xmm1, dword [esi + 0xbb4]
movss xmm0, dword [edi + 0x10]
addss xmm1, xmm1
subss xmm0, dword [0x10046344]
subss xmm0, xmm1
movss dword [edi + 0x10], xmm0
jmp 0x100161b6
movss xmm0, dword [edi + 0xc]
movss xmm2, dword [esi + 0xbb4]
subss xmm0, xmm1
movss xmm3, dword [esi + 0xbb8]
addss xmm2, xmm2
addss xmm3, xmm3
movss dword [edi + 0xc], xmm0
movss xmm0, dword [edi + 0x10]
subss xmm0, xmm2
movss dword [edi + 0x10], xmm0
movss xmm0, dword [edi + 0x14]
subss xmm0, xmm3
movss dword [edi + 0x14], xmm0
mov ecx, dword [0x1004cb84]
cmp dword [0x10f6c6d8], 0
je 0x100162c0
cmp ecx, 0xffffffff
je 0x100162c0
mov eax, ecx
shl eax, 5
add eax, dword [ecx*4 + 0x10efa448]
imul eax, eax, 0x1ba0
mov dword [ebp - 0x1c20], eax
lea eax, [eax + 0x10f6ce18]
mov dword [ebp - 0x1c], eax
imul eax, ecx, 0x1ba0
lea ecx, [ebp - 0x1c18]
add eax, 0x11d4acc0
push eax
call fcn.10003660
mov dword [ebp - 4], 0
xor dl, dl
cmp dword [0x10f6c6d8], 2
mov ecx, dword [ebp - 0x1c]
jne 0x10016275
mov eax, dword [ebp - 0x1c20]
movss xmm1, dword [ecx + 4]
movss xmm2, dword [ecx + 8]
movss xmm0, dword [ecx + 0xc]
subss xmm2, dword [eax + 0x10f6e9c0]
subss xmm1, dword [eax + 0x10f6e9bc]
subss xmm0, dword [eax + 0x10f6e9c4]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
comiss xmm2, dword [0x10046390]
jbe 0x10016275
movss xmm0, dword [ebp - 0x1be4]
mov dl, 1
jmp 0x1001627a
movss xmm0, dword [ecx + 0x34]
mov eax, dword [0x1004b8e0]
test dl, dl
divss xmm0, dword [eax + 0x1c]
addss xmm0, dword [0x100461d8]
cvttss2si eax, xmm0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c18]
cmove eax, ecx
push eax
call fcn.1002b4b0
test al, al
je 0x100162ae
mov eax, dword [ebp - 0x1c]
mov dword [edi + 8], eax
lea ecx, [ebp - 0x1c18]
mov dword [ebp - 4], 0xffffffff
call fcn.10003260
mov ecx, edi
call fcn.10014b50
cmp byte [0x10f6c508], 0
je 0x1001653d
mov byte [0x1004d405], 0
jmp 0x1001653d
cmp byte [0x10f6c509], 0
jne 0x10016309
cmp byte [0x10f6c81d], 0
mov eax, 1
mov edx, edi
mov ecx, esi
cmovne eax, dword [0x10f6c824]
push eax
call fcn.10014590
add esp, 4
cmp byte [0x10f6c502], 0
je 0x1001653d
and dword [edi + 0x24], 0xfffffffe
jmp 0x1001653d
cmp byte [0x10f6c509], 0
jne 0x1001653d
jmp 0x1001652b
mov ecx, dword [ebp - 0x1c24]
mov eax, dword [ecx]
mov eax, dword [eax + 0x4a4]
call eax
test eax, eax
js 0x10016353
cmp eax, 0x1d
jg 0x10016353
cmp eax, 6
je 0x1001652b
mov ecx, dword [ebp - 0x1c24]
mov eax, dword [ecx]
mov eax, dword [eax + 0x4a4]
call eax
test eax, eax
js 0x1001638c
cmp eax, 0x1d
jg 0x1001638c
cmp eax, 0x1c
jne 0x1001638c
test dword [edi + 0x24], 0x801
jne 0x1001638c
push dword [0x10f6c824]
mov edx, edi
mov ecx, esi
call fcn.10014590
add esp, 4
mov ecx, dword [ebp - 0x1c24]
mov eax, dword [ecx]
mov eax, dword [eax + 0x4a4]
call eax
test eax, eax
js 0x100163aa
cmp eax, 0x1d
jg 0x100163aa
cmp eax, 4
je 0x100163f2
mov ecx, dword [ebp - 0x1c24]
mov eax, dword [ecx]
mov eax, dword [eax + 0x4a4]
call eax
test eax, eax
js 0x100163c8
cmp eax, 0x1d
jg 0x100163c8
cmp eax, 9
je 0x100163f2
mov ecx, dword [ebp - 0x1c24]
mov eax, dword [ecx]
mov eax, dword [eax + 0x4a4]
call eax
test eax, eax
js 0x1001653d
cmp eax, 0x1d
jg 0x1001653d
cmp eax, 0x18
jne 0x1001653d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1004b66c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x11db96e8]
cmp eax, dword [ecx + 4]
jle 0x100164d6
push 0x11db96e8
call fcn.1003b170
add esp, 4
cmp dword [0x11db96e8], 0xffffffff
jne 0x100164d6
lea ecx, [ebp - 0x1c38]
mov dword [ebp - 4], 1
call fcn.10035520
push 0
push str.m_bPinPulled
push str.DT_BaseCSGrenade
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.100355c0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c38]
mov dword [0x11db96ec], eax
test ecx, ecx
je 0x100164c2
mov eax, dword [ebp - 0x1c30]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001649a
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001649a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1003b0e6
add esp, 8
mov dword [ebp - 0x1c38], 0
mov dword [ebp - 0x1c34], 0
mov dword [ebp - 0x1c30], 0
push 0x11db96e8
mov dword [ebp - 4], 0xffffffff
call fcn.1003b11f
add esp, 4
mov eax, dword [0x11db96ec]
mov ecx, dword [ebp - 0x1c24]
cmp byte [eax + ecx], 0
jne 0x1001652b
call fcn.10013e10
movss xmm0, dword [eax]
comiss xmm0, dword [0x10046110]
jbe 0x1001652b
mov ecx, dword [ebp - 0x1c24]
call fcn.10013e10
mov ecx, esi
movss xmm0, dword [eax]
movss dword [ebp - 0x1c], xmm0
call fcn.10013d20
movd xmm0, dword [eax]
mov eax, dword [0x1004b8e0]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x1c]
comiss xmm0, dword [ebp - 0x1c]
ja 0x1001653d
push dword [0x10f6c824]
mov edx, edi
mov ecx, esi
call fcn.10014590
add esp, 4
mov eax, dword [0x10f6c82c]
cmp eax, 1
jne 0x10016580
push 0x41
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x10016576
push 0x57
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x10016576
push 0x53
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x10016576
push 0x44
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x20
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
jmp 0x100165ce
cmp eax, 2
jne 0x100165ce
mov ecx, dword [0x1004b8d8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x1004b8e4]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, eax
call fcn.10002cd0
test byte [eax], 1
jne 0x100165ce
movzx eax, word [edi + 0x38]
mov dword [edi + 0x18], 0
test ax, ax
jns 0x100165c5
mov dword [edi + 0x1c], 0xc3e10000
jmp 0x100165ce
jle 0x100165ce
mov dword [edi + 0x1c], 0x43e10000
push edi
mov ecx, 0x11d4ac88
call fcn.10036be0
push esi
push edi
mov ecx, 0x10efa590
call fcn.10033c40
cmp byte [0x10f6c79d], 0
je 0x10016621
push 0x46
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1001660b
cmp byte [0x10f6c79e], 0
sete al
mov byte [0x10f6c79e], al
jmp 0x10016610
mov al, byte [0x10f6c79e]
test al, al
je 0x10016621
test byte [edi + 0x24], 1
jne 0x10016621
mov dword [edi + 8], 0x7fffffff
cmp byte [0x1004d405], 0
movss xmm0, dword [edi + 0xc]
je 0x10016653
movss dword [0x1004d2d0], xmm0
movss xmm0, dword [edi + 0x10]
movss dword [0x1004d2d4], xmm0
movss xmm0, dword [edi + 0x14]
movss dword [0x1004d2d8], xmm0
jmp 0x10016675
movss dword [0x1004d3d4], xmm0
movss xmm0, dword [edi + 0x10]
movss dword [0x1004d3d8], xmm0
movss xmm0, dword [edi + 0x14]
movss dword [0x1004d3dc], xmm0
cmp byte [0x10f6c509], 0
je 0x10016685
mov ecx, edi
call fcn.10015220
movss xmm0, dword [edi + 0x18]
maxss xmm0, dword [0x100463fc]
mov ecx, dword [0x1004b66c]
minss xmm0, dword [0x1004637c]
movss dword [edi + 0x18], xmm0
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [0x100463fc]
minss xmm0, dword [0x1004637c]
movss dword [edi + 0x1c], xmm0
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [0x100463f8]
minss xmm0, dword [0x10046370]
movss dword [edi + 0x20], xmm0
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x11db980c]
cmp eax, dword [ecx + 4]
jle 0x10016712
push 0x11db980c
call fcn.1003b170
add esp, 4
cmp dword [0x11db980c], 0xffffffff
jne 0x10016712
push 0x11db980c
call fcn.1003b11f
add esp, 4
mov al, byte [0x1004b6dc]
cmp al, byte [0x11db97fc]
je 0x10016744
mov ecx, dword [0x1004b8d8]
test al, al
mov eax, dword [ecx]
je 0x10016730
mov eax, dword [eax + 0x4c]
jmp 0x10016733
mov eax, dword [eax + 0x50]
push 0x11db97e8
call eax
mov al, byte [0x1004b6dc]
mov byte [0x11db97fc], al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1003adbe
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc