Function at 0x428320
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e4
push edi
mov dword [ebp - 0x1e4], ecx
push 0
mov ecx, 0x4b94a0
call fcn.0047aa0f
test eax, eax
jne 0x428365
push 1
mov ecx, 0x4b94a0
call fcn.0047aa0f
test eax, eax
jne 0x428365
push 3
mov ecx, 0x4b94a0
call fcn.0047aa0f
test eax, eax
jne 0x428365
jmp 0x428777
mov ecx, 0x4b94a0
call fcn.00402290
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x428707
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
lea ecx, [ebp - 0x54]
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
call fcn.00410f4e
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], 5
cmp dword [ebp - 4], 3
jne 0x4283e7
push 1
lea eax, [ebp - 0x20]
push eax
push 0x17
mov ecx, dword [0x4bef48]
mov edx, dword [ecx]
mov ecx, dword [0x4bef48]
call dword [edx + 8]
jmp 0x428777
cmp dword [ebp - 4], 5
jne 0x42846a
push 0
lea eax, [ebp - 0x20]
push eax
push 0x31
mov ecx, dword [0x4bef48]
mov edx, dword [ecx]
mov ecx, dword [0x4bef48]
call dword [edx + 0x58]
cmp eax, 3
je 0x428447
push 0
lea eax, [ebp - 0x20]
push eax
push 0x31
mov ecx, dword [0x4bef48]
mov edx, dword [ecx]
mov ecx, dword [0x4bef48]
call dword [edx + 0x58]
cmp eax, 9
je 0x428447
push 0
lea eax, [ebp - 0x20]
push eax
push 0x31
mov ecx, dword [0x4bef48]
mov edx, dword [ecx]
mov ecx, dword [0x4bef48]
call dword [edx + 0x58]
cmp eax, 4
jne 0x42844c
jmp 0x428777
push 0
lea eax, [ebp - 0x20]
push eax
push 0x18
mov ecx, dword [0x4bef48]
mov edx, dword [ecx]
mov ecx, dword [0x4bef48]
call dword [edx + 8]
jmp 0x428777
cmp dword [ebp - 4], 4
jne 0x428475
jmp 0x428777
mov ecx, 0x4b94a0
call fcn.00402290
cmp eax, 8
jne 0x428489
jmp 0x428777
mov ecx, dword [0x4b7b30]
add ecx, 0x984
call fcn.0040629e
test eax, eax
je 0x4284a3
jmp 0x428777
cmp dword [ebp - 4], 6
jne 0x42850b
push 0
lea eax, [ebp - 0x20]
push eax
push 0x45
mov ecx, dword [0x4bef48]
mov edx, dword [ecx]
mov ecx, dword [0x4bef48]
call dword [edx + 0x58]
test eax, eax
jne 0x4284f5
push 1
lea eax, [ebp - 0x20]
push eax
push 0x44
mov ecx, dword [0x4bef48]
mov edx, dword [ecx]
mov ecx, dword [0x4bef48]
call dword [edx + 8]
call fcn.00422086
push 0
mov ecx, 0x4b94a0
call fcn.0047a92e
jmp 0x428777
call fcn.00422086
push 0
mov ecx, 0x4b94a0
call fcn.0047a92e
jmp 0x428777
cmp dword [ebp - 4], 7
jne 0x428573
push 0
lea eax, [ebp - 0x20]
push eax
push 0x45
mov ecx, dword [0x4bef48]
mov edx, dword [ecx]
mov ecx, dword [0x4bef48]
call dword [edx + 0x58]
test eax, eax
je 0x42855d
push 0
lea eax, [ebp - 0x20]
push eax
push 0x44
mov ecx, dword [0x4bef48]
mov edx, dword [ecx]
mov ecx, dword [0x4bef48]
call dword [edx + 8]
call fcn.00422086
push 0
mov ecx, 0x4b94a0
call fcn.0047a92e
jmp 0x428777
call fcn.00422086
push 0
mov ecx, 0x4b94a0
call fcn.0047a92e
jmp 0x428777
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
and eax, 0x8000
test eax, eax
je 0x4285df
mov byte [ebp - 0x98], 0
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x97]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea ecx, [ebp - 0x98]
push ecx
lea edx, [ebp - 0x20]
push edx
push 0x44
mov eax, dword [0x4bef48]
mov edx, dword [eax]
mov ecx, dword [0x4bef48]
call dword [edx + 0x58]
test eax, eax
je 0x4285da
push 0
push 3
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 1
call fcn.0044d540
add esp, 0x14
jmp 0x428777
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
test edx, edx
je 0x428707
mov byte [ebp - 0x158], 0
mov ecx, 0x2f
xor eax, eax
lea edi, [ebp - 0x157]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x158]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 0x48
mov edx, dword [0x4bef48]
mov eax, dword [edx]
mov ecx, dword [0x4bef48]
call dword [eax + 0x58]
test eax, eax
je 0x428705
push 0x49dfec
lea ecx, [ebp - 0x1dc]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea edx, [ebp - 0x158]
push edx
lea eax, [ebp - 0x1dc]
push eax
call sub.MSVCRT.dll_strcat
add esp, 8
push 0x49dff0
lea ecx, [ebp - 0x1dc]
push ecx
call sub.MSVCRT.dll_strcat
add esp, 8
mov dword [ebp - 0x1e0], 0
mov byte [ebp - 0x15c], 0
mov dword [ebp - 0x1e0], 0
jmp 0x4286a1
mov edx, dword [ebp - 0x1e0]
add edx, 1
mov dword [ebp - 0x1e0], edx
lea eax, [ebp - 0x1dc]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
cmp dword [ebp - 0x1e0], eax
jae 0x4286d3
mov ecx, dword [ebp - 0x1e0]
mov dl, byte [ebp - 0x15c]
add dl, byte [ebp + ecx - 0x1dc]
mov byte [ebp - 0x15c], dl
jmp 0x428692
mov eax, dword [ebp - 0x15c]
and eax, 0xff
push eax
lea ecx, [ebp - 0x1dc]
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
push eax
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0x1dc]
push eax
call fcn.0041fa22
add esp, 0x10
jmp 0x428777
cmp dword [ebp + 0xc], 0
je 0x42874a
lea ecx, [ebp - 0x54]
push ecx
call fcn.0041283b
add esp, 4
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], 5
mov ecx, dword [ebp + 0xc]
neg ecx
sbb ecx, ecx
lea edx, [ebp - 0x3c]
and ecx, edx
push ecx
mov eax, dword [ebp + 8]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x20]
and eax, ecx
push eax
push 3
mov edx, dword [0x4bef48]
mov eax, dword [edx]
mov ecx, dword [0x4bef48]
call dword [eax + 8]
pop edi
mov esp, ebp
pop ebp
ret 8