Function at 0x1015c270
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1017fe21
push eax
mov dword fs:[0], esp
sub esp, 0x18
cmp byte [0x102f2298], 0
push ebx
push esi
push edi
je 0x1015c2b5
cmp byte [0x102ee5a8], 0
je 0x1015c2b5
mov ecx, dword [0x10236ddc]
push str.lastdisguise
mov eax, dword [ecx]
mov eax, dword [eax + 0x1a8]
call eax
mov edi, dword [0x10234298]
mov esi, dword [0x1023429c]
mov byte [0x102ee37c], 0
mov byte [0x102ee5a8], 0
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], esi
test edi, edi
je 0x1015c585
test esi, esi
je 0x1015c585
cmp byte [0x102f2784], 0
je 0x1015c585
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10236a90]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x102f7720]
mov dword [ebp - 0x18], ecx
cmp eax, dword [ecx + 4]
jle 0x1015c348
push 0x102f7720
call fcn.1017dd04
add esp, 4
cmp dword [0x102f7720], 0xffffffff
jne 0x1015c348
push 0x102f7720
mov dword [0x102f7728], 0
mov dword [0x102f7724], 0x102f27a8
call fcn.1017dcb3
add esp, 4
mov ecx, dword [0x102f27a8]
test ecx, ecx
je 0x1015c38d
mov eax, dword [0x102f7724]
mov eax, dword [eax]
test eax, eax
jne 0x1015c366
mov dword [0x102f7728], eax
xor al, al
jmp 0x1015c381
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
movzx ecx, al
mov dword [0x102f7728], ecx
mov ecx, dword [0x102f27a8]
test al, al
jne 0x1015c38d
test ecx, ecx
jne 0x1015c585
mov ecx, dword [0x10236f60]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test al, al
jne 0x1015c585
mov ecx, dword [0x10237018]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x1015c585
cmp byte [0x10236f14], al
jne 0x1015c585
mov ebx, dword [ebp + 8]
push ebx
push ecx
push edi
call fcn.1015ad40
cmp byte [0x102f2304], 0
je 0x1015c56d
cmp byte [0x10237054], 0
je 0x1015c56d
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x5f4]
call eax
cmp eax, 7
jne 0x1015c56d
cmp byte [0x10236f3a], 0
jne 0x1015c56d
cmp byte [0x102f234c], 0
je 0x1015c428
push ebx
push esi
push edi
mov ecx, 0x102ee5a0
call fcn.1015b630
jmp 0x1015c559
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x24]
sub esp, 0xc
mov edi, esp
push eax
call fcn.10074140
mov esi, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
mov ecx, eax
call edx
movss xmm2, dword [esi]
movss xmm1, dword [esi + 4]
movss xmm0, dword [esi + 8]
addss xmm2, dword [eax]
addss xmm1, dword [eax + 4]
addss xmm0, dword [eax + 8]
mov esi, dword [ebp - 0x14]
lea eax, [ebx + 0xc]
push eax
movss dword [edi], xmm2
movss dword [edi + 4], xmm1
movss dword [edi + 8], xmm0
mov edi, dword [ebp - 0x10]
push esi
push edi
call fcn.1015b030
mov dword [ebp + 8], eax
test eax, eax
je 0x1015c559
push eax
push esi
call fcn.1015af80
test al, al
je 0x1015c559
or dword [ebx + 0x24], 1
cmp byte [0x102f5400], 0
mov byte [0x102ee5a8], 1
je 0x1015c559
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x10236f0c]
cmp eax, dword [ecx + 4]
jle 0x1015c509
push 0x10236f0c
call fcn.1017dd04
add esp, 4
cmp dword [0x10236f0c], 0xffffffff
jne 0x1015c509
push str.m_flSimulationTime
push str.DT_BaseEntity
mov dword [ebp - 4], 0
call fcn.1006a3a0
push 0x10236f0c
mov dword [0x10236f20], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1017dcb3
add esp, 4
mov eax, dword [0x10236e60]
movss xmm0, dword [0x10236fa8]
mov ecx, dword [ebp + 8]
movss xmm2, dword [eax + 0x1c]
divss xmm0, xmm2
movaps xmm1, xmm2
mulss xmm1, dword [0x1021e8ec]
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [0x10236f20]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
addss xmm0, dword [eax + ecx]
divss xmm0, xmm2
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [ebx + 8], eax
test byte [ebx + 0x24], 1
je 0x1015c566
mov byte [0x10236f3a], 1
mov byte [0x102ee37c], 1
push ebx
push ecx
push edi
call fcn.100aa120
push ebx
push esi
push edi
call fcn.100a8d20
push ebx
push esi
push edi
call fcn.100ac0a0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4