Function at 0x41d399
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 0x100
jne 0x41d6d5
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 9
jne 0x41d55d
mov eax, str.zyStyle
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
call fcn.0040beda
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41d416
push ebx
call fcn.00508550
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc4
call fcn.0050ab30
add esp, 0x1c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41d558
mov dword [ebp - 0x14], esp
push 0x10
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x41d47f
push 0x144
push 0x401eb85
push 6
call fcn.00508556
add esp, 0xc
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0x18]
push 2
mov ebx, 0xc4
call fcn.0050ab30
add esp, 0x1c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
mov eax, 0
setne al
mov dword [ebp - 8], eax
mov eax, 0x57d7f1
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
call fcn.0040beda
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41d4e3
push ebx
call fcn.00508550
add esp, 4
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
push dword [ebp - 0x18]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetNextDlgTabItem]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x41d515
push 0x1a3
push 0x401eb85
push 6
call fcn.00508556
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41d558
mov dword [ebp - 0x14], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.USER32.dll_SetFocus]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x41d54e
push 0x206
push 0x401eb85
push 6
call fcn.00508556
add esp, 0xc
mov eax, 0
jmp 0x41d6df
jmp 0x41d6d5
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 0x1b
jne 0x41d5df
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push 2
push 2
mov ebx, 0xa00
call fcn.0050ad30
add esp, 0x1c
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push 0
push dword [ebp - 0x14]
push 0x111
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_SendMessageW]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x41d5da
push 0x2ba
push 0x401eb85
push 6
call fcn.00508556
add esp, 0xc
jmp 0x41d6d5
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 0xd
jne 0x41d6d5
mov eax, str.zyStyle
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
call fcn.0040beda
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41d61d
push ebx
call fcn.00508550
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc4
call fcn.0050ab30
add esp, 0x1c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41d6d5
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push 1
push 2
mov ebx, 0xa00
call fcn.0050ad30
add esp, 0x1c
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push 0
push dword [ebp - 0x14]
push 0x111
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_SendMessageW]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x41d6be
push 0x3e7
push 0x401eb85
push 6
call fcn.00508556
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41d6d5
mov eax, 0
jmp 0x41d6df
mov eax, 1
jmp 0x41d6df
mov esp, ebp
pop ebp
ret 0xc