Function at 0x1004714a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x1018a664], 0
push ebx
push esi
push edi
jne case.0x100472a3.403
mov eax, dword [0x100bc2f4]
cmp dword [eax + 0x14e0], 0
jne case.0x100472a3.403
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x52
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
shr eax, 0xf
test al, 1
je case.0x1004711f.26
cmp dword [0x1018a630], 1
jne case.0x1004711f.26
call edi
cmp eax, dword [0x1018a8f8]
jbe case.0x1004711f.26
mov eax, dword [0x100bc2ec]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x1e]
mov eax, dword [eax]
mov ebx, dword [eax + 0x44]
call fcn.10009e50
mov dword [ebp - 0xc], eax
add eax, 0xffffffea
cmp eax, 0xc
ja case.0x1004711f.26
movzx eax, byte [eax + 0x10047360]
jmp dword [eax*4 + 0x10047344]
mov eax, str.colt45_reload
mov ecx, str.COLT45
jmp 0x1004716c
mov eax, str.Silence_reload
mov ecx, str.SILENCED
jmp 0x1004716c
mov eax, str.python_reload
mov ecx, str.PYTHON
jmp 0x1004716c
mov eax, str.buddy_reload
mov ecx, str.BUDDY
jmp 0x1004716c
mov eax, str.tec_reload
mov ecx, 0x10093434
jmp 0x1004716c
mov eax, str.rifle_load
mov ecx, str.RIFLE
movsd xmm0, qword [0x1008fb88]
push 0xffffffffffffffff
push 0
push 0
push 0
push 0
sub esp, 8
movsd qword [esp], xmm0
push ecx
push eax
push ebx
push 0x10093144
call fcn.1003c4c0
add esp, 0x2c
call edi
add eax, 0x44c
mov dword [0x1018a8f8], eax
call fcn.10008f80
test eax, eax
je case.0x1004711f.26
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push 1
push 0
push dword [ebp - 0xc]
mov edx, 0x5e6080
call edx
cmp dword [0x1018a62c], 0
je 0x1004731f
push 0x41
call esi
test ax, ax
js 0x1004731f
push 0x44
call esi
test ax, ax
js 0x1004731f
push 0x57
call esi
shr eax, 0xf
test al, 1
je 0x10047301
cmp dword [0x1018a778], 0
mov byte [0x1018a662], 1
jne case.0x100472a3.403
call edi
cmp dword [0x1018a8f4], eax
jbe case.0x100472a3.403
mov dword [0x1018a8f4], 0
mov byte [0x1018a662], 1
mov eax, dword [0xb74494]
mov edi, dword [0xb6f980]
mov byte [ebp - 1], 1
test eax, eax
je 0x10047246
cmp dword [eax], 0
je 0x10047246
cmp dword [eax + 8], 0
jg 0x1004724a
mov byte [ebp - 1], 0
push eax
push edi
call fcn.100094f0
mov esi, dword [0xb7cd98]
xor ebx, ebx
movzx ecx, byte [ebp - 1]
test eax, eax
push esi
push edi
cmove ebx, ecx
call fcn.10009da0
add esp, 0x10
neg eax
sbb al, al
xor ecx, ecx
and al, bl
cmp dword [edi + 0x460], esi
movzx eax, al
cmove ecx, eax
test cl, cl
je case.0x100472a3.403
movzx eax, word [edi + 0x22]
add eax, 0xfffffe6e
cmp eax, 0xae
ja case.0x100472a3.403
movzx eax, byte [eax + 0x10047378]
jmp dword [eax*4 + 0x10047370]
mov eax, dword [0x100bc2ec]
xor ecx, ecx
mov dword [0x1018a774], edi
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0xc]
add eax, 0x1134
cmp dword [eax + 0x1f40], 1
jne 0x100472df
mov edx, dword [eax]
test edx, edx
je 0x100472df
mov esi, dword [edx + 0x4c]
test esi, esi
je 0x100472df
cmp esi, edi
je 0x100472f2
inc ecx
add eax, 4
cmp ecx, 0x7d0
jle 0x100472c5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x44]
mov dword [0x1018a778], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x1018a662], 0
je case.0x100472a3.403
mov byte [0x1018a662], 0
call edi
add eax, 0xfa
mov dword [0x1018a8f4], eax
jmp 0x10047326
mov byte [0x1018a662], 0
mov dword [0x1018a778], 0
mov dword [0x1018a774], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret