Function at 0x422f2c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x980
push edi
mov dword [ebp - 0x980], ecx
mov dword [ebp - 4], 0
mov ecx, 0x4c2830
call fcn.0040c4c0
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
je 0x422f94
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
call fcn.00410229
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
jmp 0x422fa9
cmp dword [ebp + 0xc], 0
je 0x422fa4
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 4], eax
jmp 0x422fa9
jmp 0x423297
cmp dword [ebp + 0xc], 0
je 0x422fe1
lea ecx, [ebp - 0x68]
push ecx
call fcn.004130bb
add esp, 4
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x28], 8
mov dword [ebp - 0x44], 0
jmp 0x422ff3
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x11
jge 0x423028
mov ecx, dword [ebp - 0x44]
imul ecx, ecx, 0x68
mov edx, dword [ebp - 0x980]
lea eax, [edx + ecx + 0xf0]
cmp dword [ebp - 4], eax
jne 0x423026
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx*8 + 0x4b19d0]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
jmp 0x423028
jmp 0x422fea
cmp dword [ebp - 8], 5
jne 0x4230bf
mov byte [ebp - 0xb0], 0
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0xaf]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0
lea ecx, [ebp - 0x24]
push ecx
push 0x30
mov edx, dword [0x4c2ce0]
mov eax, dword [edx]
mov ecx, dword [0x4c2ce0]
call dword [eax + 0x5c]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 3
je 0x423079
cmp dword [ebp - 0x6c], 9
je 0x423079
cmp dword [ebp - 0x6c], 4
jne 0x42307e
jmp 0x423297
lea ecx, [ebp - 0xb0]
push ecx
lea edx, [ebp - 0x24]
push edx
push 0x11
mov eax, dword [0x4c2ce0]
mov edx, dword [eax]
mov ecx, dword [0x4c2ce0]
call dword [edx + 0x5c]
test eax, eax
je 0x4230ba
push 0
push 0
push 2
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x24]
push ecx
push 1
call fcn.00452d10
add esp, 0x18
jmp 0x423297
cmp dword [ebp - 8], 7
jne 0x4230ee
push 0
mov ecx, 0x4c2830
call fcn.0048ce17
push 1
lea edx, [ebp - 0x24]
push edx
push 0x40
mov eax, dword [0x4c2ce0]
mov edx, dword [eax]
mov ecx, dword [0x4c2ce0]
call dword [edx + 8]
jmp 0x423297
cmp dword [ebp - 8], 8
jne 0x42311e
push 0
mov ecx, 0x4c2830
call fcn.0048ce17
push 2
lea eax, [ebp - 0x24]
push eax
push 0x40
mov ecx, dword [0x4c2ce0]
mov edx, dword [ecx]
mov ecx, dword [0x4c2ce0]
call dword [edx + 8]
jmp 0x423297
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
and eax, 0x8000
test eax, eax
je 0x42326a
mov byte [ebp - 0x8f0], 0
mov ecx, 0x20f
xor eax, eax
lea edi, [ebp - 0x8ef]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea ecx, [ebp - 0x8f0]
push ecx
lea edx, [ebp - 0x24]
push edx
push 0x37
mov eax, dword [0x4c2ce0]
mov edx, dword [eax]
mov ecx, dword [0x4c2ce0]
call dword [edx + 0x5c]
test eax, eax
je 0x423268
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [0x4c2ce0]
mov edx, dword [ecx]
mov ecx, dword [0x4c2ce0]
call dword [edx + 0x98]
mov dword [ebp - 0x97c], eax
push 0x4b1d34
lea eax, [ebp - 0x974]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
lea ecx, [ebp - 0x8f0]
push ecx
lea edx, [ebp - 0x974]
push edx
call sub.MSVCRT.dll_strcat
add esp, 8
push 0x4b1d38
lea eax, [ebp - 0x974]
push eax
call sub.MSVCRT.dll_strcat
add esp, 8
mov dword [ebp - 0x978], 0
mov byte [ebp - 0x8f4], 0
mov dword [ebp - 0x978], 0
jmp 0x4231fc
mov ecx, dword [ebp - 0x978]
add ecx, 1
mov dword [ebp - 0x978], ecx
lea edx, [ebp - 0x974]
push edx
call sub.MSVCRT.dll_strlen
add esp, 4
cmp dword [ebp - 0x978], eax
jae 0x42322e
mov eax, dword [ebp - 0x978]
mov cl, byte [ebp - 0x8f4]
add cl, byte [ebp + eax - 0x974]
mov byte [ebp - 0x8f4], cl
jmp 0x4231ed
mov edx, dword [ebp - 0x8f4]
and edx, 0xff
push edx
lea eax, [ebp - 0x974]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
push eax
mov ecx, dword [ebp - 0x97c]
push ecx
lea edx, [ebp - 0x8b0]
push edx
lea eax, [ebp - 0x974]
push eax
call fcn.0042117d
add esp, 0x14
jmp 0x423297
mov ecx, dword [ebp + 0xc]
neg ecx
sbb ecx, ecx
lea edx, [ebp - 0x40]
and ecx, edx
push ecx
mov eax, dword [ebp + 8]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x24]
and eax, ecx
push eax
push 3
mov edx, dword [0x4c2ce0]
mov eax, dword [edx]
mov ecx, dword [0x4c2ce0]
call dword [eax + 8]
pop edi
mov esp, ebp
pop ebp
ret 8