Function at 0x1001d600
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10046271
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10055040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
vmovss dword [ebp - 0x10], xmm1
mov eax, dword [0x10057730]
mov esi, dword [0x1005774c]
mov eax, dword [eax + 0x38]
cmp byte [eax], 0
je 0x1001d835
mov edx, dword [0x10056288]
test edx, edx
je 0x1001d835
mov eax, dword fs:[0x2c]
mov edi, edx
mov ecx, dword [0x10056238]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10056260]
cmp eax, dword [ecx + 4]
jle 0x1001d6ba
push 0x10056260
call fcn.10042bc3
add esp, 4
cmp dword [0x10056260], 0xffffffff
jne 0x1001d6b4
push str.deadflag
push str.CBasePlayer
mov dword [ebp - 4], 0
call fcn.10033580
push 0x10056260
mov dword [0x10056258], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10042b72
add esp, 4
mov edx, dword [0x10056288]
mov eax, dword [0x10056258]
cmp byte [eax + edi], 0
jne 0x1001d835
cmp dword [0x1005628c], 0
je 0x1001d835
push 7
mov ecx, edx
call fcn.10011a50
test al, al
jne 0x1001d835
mov ecx, dword [0x10056288]
push 0x4d
call fcn.10011a50
test al, al
jne 0x1001d835
mov eax, dword [0x10057730]
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1001d71d
push eax
call edi
test ax, ax
je 0x1001d71d
mov byte [esi + 0x10], 1
cmp byte [esi + 0x10], 0
je 0x1001d748
mov eax, dword [esi]
cmp eax, dword [esi + 8]
jge 0x1001d748
inc eax
mov dword [esi], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 4], eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push dword [ebp + 8]
vmovss xmm0, dword [ebp - 0x10]
push ecx
mov byte [esi + 0x10], 0
vmovss dword [esp], xmm0
call dword [0x10056408]
mov eax, dword [0x10057730]
add esp, 8
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 8]
test eax, eax
je 0x1001d77e
push eax
call edi
test ax, ax
je 0x1001d77e
mov byte [esi + 0x11], 1
cmp byte [esi + 0x11], 0
je 0x1001d7c5
mov eax, dword [esi]
test eax, eax
je 0x1001d7c5
vmovss xmm0, dword [ebp - 0x10]
cmp eax, 1
sete al
movzx eax, al
push eax
push ecx
vmovss dword [esp], xmm0
call dword [0x10056408]
mov eax, dword [esi + 0xc]
add esp, 8
dec dword [esi]
mov dword [esi + 4], eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 4]
mov byte [esi + 0x11], 0
test eax, eax
je 0x1001d7e9
dec eax
mov dword [esi + 4], eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp byte [esi + 0x12], 0
je 0x1001d820
mov eax, dword [esi]
test eax, eax
je 0x1001d81c
vmovss xmm0, dword [ebp - 0x10]
cmp eax, 1
sete al
movzx eax, al
push eax
push ecx
vmovss dword [esp], xmm0
call dword [0x10056408]
mov eax, dword [esi]
add esp, 8
add eax, 0xffffffff
mov dword [esi], eax
jne 0x1001d7f5
mov byte [esi + 0x12], 0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4