Function at 0x1004348f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x101855f1], 0
push ebx
push esi
push edi
jne case.0x10043616.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.0x10043470.26
call edi
cmp eax, dword [0x10185768]
jbe case.0x10043470.26
mov eax, dword [0x100b82cc]
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.10009e60
mov dword [ebp - 0xc], eax
add eax, 0xffffffea
cmp eax, 0xc
ja case.0x10043470.26
movzx eax, byte [eax + 0x100436d8]
jmp dword [eax*4 + 0x100436bc]
mov eax, str.colt45_reload
mov ecx, str.COLT45
jmp 0x100434bd
mov eax, str.Silence_reload
mov ecx, str.SILENCED
jmp 0x100434bd
mov eax, str.python_reload
mov ecx, str.PYTHON
jmp 0x100434bd
mov eax, str.buddy_reload
mov ecx, str.BUDDY
jmp 0x100434bd
mov eax, str.tec_reload
mov ecx, 0x10090404
jmp 0x100434bd
mov eax, str.rifle_load
mov ecx, str.RIFLE
movsd xmm0, qword [0x10090e00]
push 0xffffffffffffffff
push 0
push 0
push 0
push 0
sub esp, 8
movsd qword [esp], xmm0
push ecx
push eax
push ebx
push 0x10090104
call fcn.100375d0
add esp, 0x2c
call edi
push 0x46b
sub esp, 0x18
xorps xmm0, xmm0
add eax, 0x44c
mov dword [0x10185768], eax
movups xmmword [esp + 8], xmm0
movsd qword [esp], xmm0
push 0x100900f0
call fcn.100375d0
add esp, 0x20
call fcn.10008fa0
test eax, eax
je case.0x10043470.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 [0x10185784], 0
je 0x1004369a
push 0x41
call esi
test ax, ax
js 0x1004369a
push 0x44
call esi
test ax, ax
js 0x1004369a
push 0x57
call esi
shr eax, 0xf
test al, 1
je 0x1004367c
cmp dword [0x101858c4], 0
mov byte [0x101857b3], 1
jne case.0x10043616.403
call edi
cmp dword [0x10185764], eax
jbe case.0x10043616.403
mov dword [0x10185764], 0
mov byte [0x101857b3], 1
mov eax, dword [0xb74494]
mov edi, dword [0xb6f980]
mov byte [ebp - 1], 1
test eax, eax
je 0x100435b9
cmp dword [eax], 0
je 0x100435b9
cmp dword [eax + 8], 0
jg 0x100435bd
mov byte [ebp - 1], 0
push eax
push edi
call fcn.10009500
mov esi, dword [0xb7cd98]
xor ebx, ebx
movzx ecx, byte [ebp - 1]
test eax, eax
push esi
push edi
cmove ebx, ecx
call fcn.10009db0
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.0x10043616.403
movzx eax, word [edi + 0x22]
add eax, 0xfffffe6e
cmp eax, 0xae
ja case.0x10043616.403
movzx eax, byte [eax + 0x100436f0]
jmp dword [eax*4 + 0x100436e8]
mov eax, dword [0x100b82cc]
xor ecx, ecx
mov dword [0x101858c0], edi
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0xc]
add eax, 0x1134
nop dword [eax + eax]
cmp dword [eax + 0x1f40], 1
jne 0x1004365a
mov edx, dword [eax]
test edx, edx
je 0x1004365a
mov esi, dword [edx + 0x4c]
test esi, esi
je 0x1004365a
cmp esi, edi
je 0x1004366d
inc ecx
add eax, 4
cmp ecx, 0x7d0
jle 0x10043640
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x44]
mov dword [0x101858c4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x101857b3], 0
je case.0x10043616.403
mov byte [0x101857b3], 0
call edi
add eax, 0xfa
mov dword [0x10185764], eax
jmp 0x100436a1
mov byte [0x101857b3], 0
mov dword [0x101858c4], 0
mov dword [0x101858c0], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret