Function at 0x42f600
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x7d8
push ebx
push ebp
mov ebp, ecx
mov ecx, dword [0x5a56d8]
test ecx, ecx
push esi
push edi
je 0x42f61b
call fcn.00456cf0
mov ecx, ebp
call fcn.00542c90
mov esi, eax
test esi, esi
je 0x42f7fd
mov ecx, dword [esi + 0xbbc]
call fcn.004e2760
test eax, eax
je 0x42f7fd
mov eax, dword [esi + 0x708]
cmp eax, 1
jne 0x42f735
mov al, byte [0x5a3dc4]
test al, al
je 0x42f7fd
mov eax, dword [esi + 0x874]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x19f
push eax
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x42f7fd
mov ecx, dword [esi + 0x874]
push 0
push edi
push 0x187
push ecx
call ebx
cmp eax, 0xffffffff
je 0x42f7fd
test eax, eax
je 0x42f7fd
mov eax, dword [esi + 0x874]
lea edx, [esp + 0x18]
push edx
push edi
push 0x189
push eax
call ebx
mov al, byte [esp + 0x18]
test al, al
je 0x42f7fd
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], ecx
mov edx, dword [esi + 0xbbc]
lea ecx, [esp + 0x18]
call fcn.004ff650
test al, al
je 0x42f6f8
jmp 0x42f6e0
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
mov edx, dword [esi + 0xbbc]
call fcn.004ff650
test al, al
jne 0x42f6e0
mov edx, dword [esp + 0x10]
cmp byte [edx], 0
je 0x42facf
xor eax, eax
jmp 0x42f710
mov cl, byte [eax + 0x5a3dc4]
mov byte [esp + eax + 0x400], cl
inc eax
test cl, cl
jne 0x42f710
mov eax, dword [esi + 0xbbc]
push eax
push 0
push 0
push 1
push edx
jmp 0x42fac1
cmp eax, 4
jne 0x42f893
mov ecx, dword [esi + 0x874]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x188
push ecx
call edi
cmp eax, 0xffffffff
je 0x42f7fd
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [esi + 0x874]
push 0x189
push eax
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42f7fd
lea edx, [esp + 0x18]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x42f785
mov al, byte [esp + 0x18]
test al, al
je 0x42f7fd
lea ecx, [esp + 0x19]
push 9
push ecx
call fcn.00570260
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
je 0x42f7fd
mov byte [eax], 0
cmp byte [esp + 0x18], 0x20
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], ecx
jne 0x42f7ca
inc ecx
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0x20
je 0x42f7c0
mov edx, dword [esi + 0xbbc]
mov eax, dword [edx + 0x1f0c]
test eax, eax
je 0x42f811
cmp byte [ecx], 0
je 0x42f7fd
nop
mov edx, dword [esi + 0xbbc]
call fcn.004ff610
test al, al
mov ecx, dword [esp + 0x10]
jne 0x42f811
inc ecx
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0
jne 0x42f7e0
xor ecx, ecx
call fcn.0041d520
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x7d8
ret
cmp byte [ecx], 0
je 0x42f7fd
mov eax, dword [esi + 0xbbc]
push eax
mov edx, 1
call fcn.004ca290
test eax, eax
je 0x42f7fd
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
jns 0x42f84b
mov ecx, dword [esp + 0x10]
push ecx
push str._join__n__s
lea edx, [esp + 0x408]
push edx
jmp 0x42f85d
mov eax, dword [esp + 0x10]
push eax
push str._join__s
lea ecx, [esp + 0x408]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov esi, dword [esi + 0xbbc]
mov ecx, dword [esi]
add esp, 0xc
push esi
push 0
push 0
push 0
push 0
lea edx, [esp + 0x414]
call fcn.0043e080
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x7d8
ret
cmp eax, 6
jne 0x42f8d1
push 0
push 0x1b5d
mov dword [0x59bb90], eax
mov eax, dword [0x5b4314]
mov edx, dword [esi + 0xbbc]
push 0x111
push eax
mov dword [0x5aa558], edx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x7d8
ret
cmp eax, 7
jne 0x42f9d0
mov ecx, dword [esi + 0x874]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x188
push ecx
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x42f7fd
mov edx, dword [esi + 0x874]
push 0
push edi
push 0x199
push edx
call ebx
lea edx, [esp + 0x14]
mov ecx, eax
call fcn.004e74f0
test eax, eax
je 0x42f7fd
mov ecx, dword [eax + 0x3a8]
test ecx, ecx
jne 0x42f942
mov ecx, dword [esi + 0xbbc]
mov dword [esp + 0x14], ecx
call fcn.004e2760
test eax, eax
je 0x42f7fd
mov al, byte [0x5a3ec8]
test al, al
je 0x42f7fd
mov ecx, dword [esi + 0x874]
lea eax, [esp + 0x18]
push eax
push edi
push 0x189
push ecx
call ebx
mov al, byte [esp + 0x18]
test al, al
je 0x42f7fd
lea edx, [esp + 0x18]
push 0x20
push edx
call fcn.00570260
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
je 0x42f989
mov byte [eax], 0
xor eax, eax
jmp 0x42f990
mov cl, byte [eax + 0x5a3ec8]
mov byte [esp + eax + 0x400], cl
inc eax
test cl, cl
jne 0x42f990
mov eax, dword [esp + 0x14]
push eax
push 0
push 0
push 1
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [eax]
lea edx, [esp + 0x414]
call fcn.0043e080
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x7d8
ret
cmp eax, 8
jne 0x42fa24
mov edx, dword [esi + 0x874]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x188
push edx
call edi
cmp eax, 0xffffffff
je 0x42f804
mov edx, dword [esi + 0x874]
lea ecx, [esp + 0x18]
push ecx
push eax
push 0x189
push edx
call edi
mov edx, dword [esi + 0xbbc]
lea ecx, [esp + 0x18]
call fcn.004c94e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7d8
ret
cmp eax, 9
jne 0x42f7fd
mov eax, dword [esi + 0x874]
push 0
push 0
push 0x19f
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
cmp edi, 0xffffffff
je 0x42f7fd
push edi
mov edx, 1
mov ecx, esi
call fcn.0042f190
test eax, eax
jne 0x42facf
mov ecx, esi
call fcn.00542ed0
test eax, eax
je 0x42f7fd
mov cl, byte [esi + 0xb58]
test cl, cl
lea eax, [esi + 0xb58]
je 0x42f7fd
lea edx, [esp + 0x400]
sub edx, eax
jmp 0x42fa90
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x42fa90
inc edi
push edi
lea ecx, [esp + 0x1c]
push 0x583948
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [esi + 0xbbc]
add esp, 0xc
push edx
push 0
push 0
push 1
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x414]
mov ecx, ebp
call fcn.0043e080
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x7d8
ret