Function at 0x10044496
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x101875fd], 0
push ebx
push esi
push edi
jne case.0x100445e3.403
mov eax, dword [0x100b92d4]
cmp dword [eax + 0x14e0], 0
jne case.0x100445e3.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.0x1004445f.26
cmp dword [0x10187794], 1
jne case.0x1004445f.26
call edi
cmp eax, dword [0x10187768]
jbe case.0x1004445f.26
mov eax, dword [0x100b92cc]
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.0x1004445f.26
movzx eax, byte [eax + 0x100446a0]
jmp dword [eax*4 + 0x10044684]
mov eax, str.colt45_reload
mov ecx, str.COLT45
jmp 0x100444ac
mov eax, str.Silence_reload
mov ecx, str.SILENCED
jmp 0x100444ac
mov eax, str.python_reload
mov ecx, str.PYTHON
jmp 0x100444ac
mov eax, str.buddy_reload
mov ecx, str.BUDDY
jmp 0x100444ac
mov eax, str.tec_reload
mov ecx, 0x10091434
jmp 0x100444ac
mov eax, str.rifle_load
mov ecx, str.RIFLE
movsd xmm0, qword [0x1008db88]
push 0xffffffffffffffff
push 0
push 0
push 0
push 0
sub esp, 8
movsd qword [esp], xmm0
push ecx
push eax
push ebx
push 0x10091130
call fcn.100395b0
add esp, 0x2c
call edi
add eax, 0x44c
mov dword [0x10187768], eax
call fcn.10008fa0
test eax, eax
je case.0x1004445f.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 [0x10187790], 0
je 0x1004465f
push 0x41
call esi
test ax, ax
js 0x1004465f
push 0x44
call esi
test ax, ax
js 0x1004465f
push 0x57
call esi
shr eax, 0xf
test al, 1
je 0x10044641
cmp dword [0x101878d8], 0
mov byte [0x101877c7], 1
jne case.0x100445e3.403
call edi
cmp dword [0x10187764], eax
jbe case.0x100445e3.403
mov dword [0x10187764], 0
mov byte [0x101877c7], 1
mov eax, dword [0xb74494]
mov edi, dword [0xb6f980]
mov byte [ebp - 1], 1
test eax, eax
je 0x10044586
cmp dword [eax], 0
je 0x10044586
cmp dword [eax + 8], 0
jg 0x1004458a
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.0x100445e3.403
movzx eax, word [edi + 0x22]
add eax, 0xfffffe6e
cmp eax, 0xae
ja case.0x100445e3.403
movzx eax, byte [eax + 0x100446b8]
jmp dword [eax*4 + 0x100446b0]
mov eax, dword [0x100b92cc]
xor ecx, ecx
mov dword [0x101878d4], edi
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0xc]
add eax, 0x1134
cmp dword [eax + 0x1f40], 1
jne 0x1004461f
mov edx, dword [eax]
test edx, edx
je 0x1004461f
mov esi, dword [edx + 0x4c]
test esi, esi
je 0x1004461f
cmp esi, edi
je 0x10044632
inc ecx
add eax, 4
cmp ecx, 0x7d0
jle 0x10044605
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x44]
mov dword [0x101878d8], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x101877c7], 0
je case.0x100445e3.403
mov byte [0x101877c7], 0
call edi
add eax, 0xfa
mov dword [0x10187764], eax
jmp 0x10044666
mov byte [0x101877c7], 0
mov dword [0x101878d8], 0
mov dword [0x101878d4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret