Function at 0x4c1330
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 0
jmp 0x4c134b
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
add ecx, 0x2d8
call fcn.005105d0
cmp dword [ebp - 0x10], eax
jge 0x4c13a7
mov byte [ebp - 1], 0
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 8]
add ecx, 0x2d8
call fcn.004b8f00
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 1]
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 - 0x1c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x20], eax
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x4c13a5
mov al, 1
jmp 0x4c15c9
jmp 0x4c1342
mov edx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0x100
je 0x4c13d5
cmp dword [ebp - 0x14], 0x104
je 0x4c1537
cmp dword [ebp - 0x14], 0x106
je 0x4c14ac
jmp 0x4c15c7
cmp dword [ebp + 0xc], 9
jne 0x4c14a7
mov eax, dword [ebp - 8]
cmp dword [eax + 0xe8], 0
je 0x4c147c
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xe8]
mov eax, dword [ebp - 8]
mov edx, dword [edx]
mov ecx, dword [eax + 0xe8]
mov eax, dword [edx + 0xdc]
call eax
movzx ecx, al
test ecx, ecx
je 0x4c147c
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xe8]
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0xe8]
mov eax, dword [edx + 0xe8]
call eax
movzx ecx, al
test ecx, ecx
je 0x4c147c
push str.RichEdit
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xe8]
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0xe8]
mov eax, dword [edx + 0x10]
call eax
push eax
call fcn.005ed0c5
add esp, 8
test eax, eax
je 0x4c147c
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0xe8]
call fcn.004d8580
movzx edx, al
test edx, edx
je 0x4c147c
xor al, al
jmp 0x4c15c9
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jl 0x4c148f
mov byte [ebp - 2], 1
jmp 0x4c1493
mov byte [ebp - 2], 0
movzx ecx, byte [ebp - 2]
push ecx
mov ecx, dword [ebp - 8]
call fcn.004c34b0
mov al, 1
jmp 0x4c15c9
jmp 0x4c15c7
mov edx, dword [ebp - 8]
cmp dword [edx + 0xe4], 0
jne 0x4c14bf
xor al, al
jmp 0x4c15c9
xor eax, eax
mov word [ebp - 0x18], ax
xor ecx, ecx
mov word [ebp - 0x16], cx
mov edx, dword [ebp + 0xc]
push edx
call fcn.005eda00
add esp, 4
mov word [ebp - 0x18], ax
push reloc.WS2_32.dll_select
lea eax, [ebp - 0x18]
push eax
push 0x4c4590
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xe4]
mov eax, dword [ebp - 8]
mov edx, dword [edx]
mov ecx, dword [eax + 0xe4]
mov eax, dword [edx + 0x110]
call eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4c1532
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx + 0x104]
call eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx + 0x20]
call eax
mov al, 1
jmp 0x4c15c9
jmp 0x4c15c7
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0xe8], 0
je 0x4c15c7
mov dword [ebp - 0x40], 0
xor edx, edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x40], 6
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xe8]
mov dword [ebp - 0x3c], ecx
mov dx, word [ebp + 0xc]
mov word [ebp - 0x2c], dx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xfc]
mov edx, dword [eax + 0x100]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
call fcn.004bd480
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xe8]
mov eax, dword [ebp - 8]
mov edx, dword [edx]
mov ecx, dword [eax + 0xe8]
mov eax, dword [edx + 0x11c]
call eax
xor al, al
mov esp, ebp
pop ebp
ret 0x10