Function at 0x41d460
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x38], ecx
mov dword [ebp - 4], 0
jmp 0x41d47b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x2e0
call fcn.00426c90
cmp dword [ebp - 4], eax
jge 0x41d4d7
mov byte [ebp - 9], 0
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0x2e0
call fcn.00427e90
mov dword [ebp - 0x3c], eax
lea edx, [ebp - 9]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edx]
call eax
mov dword [ebp - 8], eax
movzx ecx, byte [ebp - 9]
test ecx, ecx
je 0x41d4d5
mov al, 1
jmp 0x41d6ef
jmp 0x41d472
mov edx, dword [ebp + 8]
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 0x100
je 0x41d505
cmp dword [ebp - 0x40], 0x104
je 0x41d65d
cmp dword [ebp - 0x40], 0x106
je 0x41d5d2
jmp 0x41d6ed
cmp dword [ebp + 0xc], 9
jne 0x41d5cd
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0xe8], 0
je 0x41d5ac
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0xe8]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0xe8]
mov edx, dword [edx]
mov eax, dword [edx + 0xdc]
call eax
movzx ecx, al
test ecx, ecx
je 0x41d5ac
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0xe8]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx + 0xe8]
mov edx, dword [eax]
mov eax, dword [edx + 0xe8]
call eax
movzx ecx, al
test ecx, ecx
je 0x41d5ac
push str.RichEdit
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0xe8]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx + 0xe8]
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
push eax
call fcn.004a7a26
add esp, 8
test eax, eax
je 0x41d5ac
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx + 0xe8]
call fcn.00461e20
movzx edx, al
test edx, edx
je 0x41d5ac
xor al, al
jmp 0x41d6ef
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
setge cl
movzx edx, cl
push edx
mov ecx, dword [ebp - 0x38]
call fcn.00422b00
mov al, 1
jmp 0x41d6ef
jmp 0x41d6ed
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0xe4], 0
jne 0x41d5e5
xor al, al
jmp 0x41d6ef
xor ecx, ecx
mov word [ebp - 0x10], cx
xor edx, edx
mov word [ebp - 0xe], dx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004a6b76
add esp, 4
mov word [ebp - 0x10], ax
push 0x80000012
lea ecx, [ebp - 0x10]
push ecx
push 0x425d90
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0xe4]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx + 0xe4]
mov edx, dword [eax]
mov eax, dword [edx + 0x110]
call eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41d658
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x104]
call eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x20]
call eax
mov al, 1
jmp 0x41d6ef
jmp 0x41d6ed
mov ecx, dword [ebp - 0x38]
cmp dword [ecx + 0xe8], 0
je 0x41d6ed
mov dword [ebp - 0x34], 0
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x34], 6
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0xe8]
mov dword [ebp - 0x30], ecx
mov dx, word [ebp + 0xc]
mov word [ebp - 0x20], dx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0xfc]
mov edx, dword [eax + 0x100]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
call fcn.0041d700
mov word [ebp - 0x1e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0xe8]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0xe8]
mov edx, dword [edx]
mov eax, dword [edx + 0x11c]
call eax
xor al, al
mov esp, ebp
pop ebp
ret 0x10