Function at 0x4164c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54ba48
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
mov edi, ecx
mov dword [ebp - 0x38], edi
cmp eax, 0x100
je 0x416519
cmp eax, 0x104
jne 0x41690d
mov eax, dword [esi + 8]
cmp eax, 0x79
je 0x416519
cmp eax, 0x12
jne 0x41690d
mov eax, dword [esi + 8]
cmp eax, 0x1b
je 0x4167bd
cmp eax, 0xd
je 0x4167bd
push 0x58061c
lea ecx, [ebp - 0x34]
call fcn.00404770
xor eax, eax
xor ebx, ebx
mov dword [ebp - 4], ebx
add edi, 0x4ac
mov word [ebp - 0x30], ax
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
cmp edi, ebx
je 0x41656c
mov ebx, dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, ebx
jne 0x4166a1
mov eax, dword [esi + 8]
cmp eax, 8
je 0x41663e
cmp eax, 0x2e
je 0x41663e
cmp eax, 0x5b
je 0x41663e
cmp eax, 0x5c
je 0x41663e
cmp eax, 0x7b
je 0x41663e
push 0x57d27c
lea ecx, [ebp - 0x34]
call fcn.00404720
mov eax, dword [esi + 8]
call fcn.00416920
test eax, eax
je 0x4165de
mov ecx, dword [esi + 8]
mov edx, dword [ebp - 0x38]
mov dword [edx + 0x608], ecx
mov eax, dword [esi + 8]
push eax
lea esi, [ebp - 0x30]
call fcn.0040ade0
add esp, 4
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
shr eax, 8
test al, al
je 0x4165fc
push str.Ctrl__
lea ecx, [ebp - 0x34]
call fcn.00404720
push 0x10
call esi
shr eax, 8
test al, al
je 0x416614
push str.Shift__
lea ecx, [ebp - 0x34]
call fcn.004176f0
push 0x12
call esi
shr eax, 8
test al, al
je 0x41662c
push str.Alt__
lea ecx, [ebp - 0x34]
call fcn.004176f0
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x34]
call fcn.004176f0
mov edx, dword [ebp - 0x34]
push edx
jmp 0x416642
mov eax, dword [ebp - 0x34]
push eax
mov ecx, edi
call fcn.00426388
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx - 0xc]
mov edx, dword [edi + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push eax
push 0xb1
push edx
call esi
mov eax, dword [edi + 0x20]
push 0
push 0
push 0xb7
push eax
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4167bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4167bd
mov edi, dword [ebp - 0x38]
add edi, 0x520
jne 0x4166b0
xor ebx, ebx
jmp 0x4166b3
mov ebx, dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, ebx
jne 0x4167e0
mov eax, dword [esi + 8]
cmp eax, 8
je 0x416781
cmp eax, 0x2e
je 0x416781
cmp eax, 0x5b
je 0x416781
cmp eax, 0x5c
je 0x416781
push 0x57d27c
lea ecx, [ebp - 0x34]
call fcn.00404720
mov eax, dword [esi + 8]
cmp eax, 9
je 0x416706
call fcn.00416920
test eax, eax
je 0x416721
mov ecx, dword [esi + 8]
mov edx, dword [ebp - 0x38]
mov dword [edx + 0x60c], ecx
mov eax, dword [esi + 8]
push eax
lea esi, [ebp - 0x30]
call fcn.0040ade0
add esp, 4
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
shr eax, 8
test al, al
je 0x41673f
push str.Ctrl__
lea ecx, [ebp - 0x34]
call fcn.00404720
push 0x10
call esi
shr eax, 8
test al, al
je 0x416757
push str.Shift__
lea ecx, [ebp - 0x34]
call fcn.004176f0
push 0x12
call esi
shr eax, 8
test al, al
je 0x41676f
push str.Alt__
lea ecx, [ebp - 0x34]
call fcn.004176f0
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x34]
call fcn.004176f0
mov edx, dword [ebp - 0x34]
push edx
jmp 0x416785
mov eax, dword [ebp - 0x34]
push eax
mov ecx, edi
call fcn.00426388
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx - 0xc]
mov eax, dword [edi + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push edx
push 0xb1
push eax
call esi
mov ecx, dword [edi + 0x20]
push 0
push 0
push 0xb7
push ecx
call esi
lea ecx, [ebp - 0x34]
call fcn.00404140
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00523022
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x38]
add edi, 0x594
jne 0x4167ef
xor ebx, ebx
jmp 0x4167f2
mov ebx, dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, ebx
jne 0x4168fb
mov eax, dword [esi + 8]
cmp eax, 8
je 0x4168c4
cmp eax, 0x2e
je 0x4168c4
cmp eax, 0x5b
je 0x4168c4
cmp eax, 0x5c
je 0x4168c4
cmp eax, 0x7b
je 0x4168c4
push 0x57d27c
lea ecx, [ebp - 0x34]
call fcn.00404720
mov eax, dword [esi + 8]
call fcn.00416920
test eax, eax
je 0x416864
mov edx, dword [esi + 8]
mov eax, dword [ebp - 0x38]
mov dword [eax + 0x610], edx
mov ecx, dword [esi + 8]
push ecx
lea esi, [ebp - 0x30]
call fcn.0040ade0
add esp, 4
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
shr eax, 8
test al, al
je 0x416882
push str.Ctrl__
lea ecx, [ebp - 0x34]
call fcn.00404720
push 0x10
call esi
shr eax, 8
test al, al
je 0x41689a
push str.Shift__
lea ecx, [ebp - 0x34]
call fcn.004176f0
push 0x12
call esi
shr eax, 8
test al, al
je 0x4168b2
push str.Alt__
lea ecx, [ebp - 0x34]
call fcn.004176f0
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x34]
call fcn.004176f0
mov eax, dword [ebp - 0x34]
push eax
jmp 0x4168c8
mov ecx, dword [ebp - 0x34]
push ecx
mov ecx, edi
call fcn.00426388
mov edx, dword [ebp - 0x34]
mov eax, dword [edx - 0xc]
mov ecx, dword [edi + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push eax
push 0xb1
push ecx
call esi
mov edx, dword [edi + 0x20]
push 0
push 0
push 0xb7
push edx
jmp 0x4167b3
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.00404140
mov edi, dword [ebp - 0x38]
push esi
mov ecx, edi
call fcn.00424ed4
jmp 0x4167c2