Function at 0x415350
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x30]
call fcn.0040fe80
test eax, eax
jg 0x41537e
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x30]
call fcn.0041a5a0
jmp 0x415633
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x4153ad
push 0x464187
mov ecx, dword [ebp - 0x30]
add ecx, 0x70
call fcn.00408ec0
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x84], 0
jmp 0x415633
push 2
push 0
push 0
push 0
lea ecx, [ebp - 0x1c]
call fcn.0041a1b0
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x30]
add ecx, 0x74
call fcn.0041a290
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.0041a230
mov ecx, eax
call fcn.0041a2e0
movzx edx, al
test edx, edx
je 0x415410
mov ecx, dword [ebp - 0x30]
add ecx, 0x70
call fcn.00408ff0
test eax, eax
jle 0x415410
push 0x4641a2
mov ecx, dword [ebp - 0x30]
add ecx, 0x70
call fcn.00408ec0
mov ecx, dword [ebp - 0x30]
call fcn.0040fe80
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 0x7c], eax
je 0x415430
push 0x4641a3
mov ecx, dword [ebp - 0x30]
add ecx, 0x70
call fcn.00408ec0
mov ecx, dword [ebp - 0x30]
call fcn.00413cf0
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0x80], eax
je 0x415453
push 0x4641b3
mov ecx, dword [ebp - 0x30]
add ecx, 0x70
call fcn.00408ec0
mov ecx, dword [ebp - 0x30]
add ecx, 0x70
call fcn.00403b70
movzx eax, al
test eax, eax
je 0x415472
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x84], 0
mov ecx, dword [ebp - 0x30]
call fcn.0040fe80
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x7c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0041a230
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x74], ecx
mov dword [eax + 0x78], edx
mov ecx, dword [ebp - 0x30]
add ecx, 0x70
call fcn.00408ff0
cmp eax, 1
jne 0x4154d6
push 0
mov ecx, dword [ebp - 0x30]
add ecx, 0x70
call fcn.00419470
movsx ecx, al
movsx edx, byte [ebp + 8]
cmp ecx, edx
jne 0x4154d6
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x84]
add ecx, 1
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x84], ecx
jmp 0x415540
mov dword [ebp - 0xc], 0
jmp 0x4154e8
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0xc]
cmp edx, dword [ecx + 0x84]
jge 0x415523
push 0
mov ecx, dword [ebp - 0x30]
add ecx, 0x70
call fcn.00419470
movzx eax, al
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x70
call fcn.00408ff0
add eax, 1
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x70
call fcn.004192f0
jmp 0x4154df
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x84], 0
movzx edx, byte [ebp + 8]
push edx
mov ecx, dword [ebp - 0x30]
add ecx, 0x70
call fcn.0041ab40
mov ecx, dword [ebp - 0x30]
call fcn.00413cf0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x415558
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 0x30]
call fcn.0040fe80
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x41557c
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 0x170]
call eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x70
call fcn.00408ff0
cmp eax, 1
jne 0x4155b9
mov ecx, dword [ebp - 0x30]
add ecx, 0x70
push ecx
mov edx, dword [ebp - 8]
add edx, 1
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 0x224]
call eax
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x80], eax
jmp 0x4155e1
mov edx, dword [ebp - 0x30]
add edx, 0x70
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x30]
mov edx, dword [eax + 0x224]
call edx
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x80], eax
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0x80], 0xffffffff
je 0x415633
push 0
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x30]
call fcn.00413d60
push 1
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x80]
push ecx
mov ecx, dword [ebp - 0x30]
call fcn.00413d60
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x80]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.00413d10
push 0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x80]
push edx
mov ecx, dword [ebp - 0x30]
call fcn.0041a870
mov esp, ebp
pop ebp
ret 0xc