Function at 0x534840
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x6a353c
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x234], eax
push ebx
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x1dc]
test ecx, ecx
jne 0x53488d
xor al, al
jmp 0x534ae5
mov edi, dword [esp + 0x258]
cmp edi, 0xd
jne 0x5348ba
call fcn.00525eb0
test al, al
jne 0x5348ba
mov ecx, dword [esi + 0x1e0]
test ecx, ecx
je 0x534ae3
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x534ae3
mov ecx, dword [esi + 0x1dc]
call fcn.00525440
test al, al
je 0x534886
cmp edi, 0x56
jne 0x534952
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x534952
lea eax, [esp + 0x2c]
push eax
call fcn.00535410
add esp, 4
mov dword [esp + 0x250], 0
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.005359c0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00533ca0
mov byte [esp + 0x250], 1
mov ecx, dword [esi + 0x1e8]
push eax
add ecx, 8
call fcn.00408c80
mov byte [esp + 0x250], 0
lea ecx, [esp + 0x10]
call fcn.00408cc0
mov dword [esp + 0x250], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.00408cc0
jmp 0x534ae3
push 0x1ff
lea eax, [esp + 0x49]
mov byte [esp + 0x48], 0
push 0
push eax
call fcn.00549c70
add esp, 0xc
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov ebx, dword [esp + 0x25c]
cmp eax, 1
jne 0x534a4e
push 0
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0
push eax
lea eax, [esp + 0x4c]
push eax
movzx eax, bx
push eax
push edi
call dword [sym.imp.USER32.dll_ToAscii]
movzx eax, word [esp + 0x28]
push eax
call fcn.0054c3c6
add esp, 4
test eax, eax
jne 0x5349ed
movzx eax, word [esp + 0x28]
push eax
call fcn.0054c399
add esp, 4
test eax, eax
jne 0x5349ed
movzx eax, word [esp + 0x28]
push eax
call fcn.0054c447
add esp, 4
test eax, eax
jne 0x5349ed
movzx eax, word [esp + 0x28]
push eax
call fcn.0054c41c
add esp, 4
test eax, eax
je 0x534a4e
xor eax, eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
mov dword [esp + 0x250], 2
lea ecx, [esp + 0x2c]
push dword [esp + 0x28]
push 1
call fcn.0041d3e0
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.005359c0
mov dword [esp + 0x250], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.00408cc0
cmp edi, 0xd
je 0x534a81
mov ecx, dword [esi + 0xb0]
test ecx, ecx
je 0x534a81
call fcn.0042e9d0
test eax, eax
je 0x534a81
mov ecx, dword [esi + 0xb0]
call fcn.0042e9d0
push 0
push ebx
push edi
mov edx, dword [eax]
mov ecx, eax
push 0x100
call dword [edx + 0xc]
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.00533ca0
mov dword [esp + 0x250], 3
mov ecx, dword [esi + 0x1e8]
push eax
add ecx, 8
call fcn.00408c80
mov dword [esp + 0x250], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x534ac5
push dword [esp + 0x2c]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov ecx, esi
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
call fcn.005362a0
mov al, 1
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.005472b9
add esp, 0x244
ret 0xc