Function at 0x428120
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xbc0
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi]
lea eax, [esp + 0x3f8]
mov ebp, edx
push eax
mov edx, 1
mov dword [esp + 0x10], esi
call fcn.00425f90
mov al, byte [esp + 0x3f8]
test al, al
jne 0x42815f
pop esi
mov eax, 1
pop ebp
add esp, 0xbc0
ret 4
push ebp
mov edx, 1
lea ecx, [esp + 0x3fc]
call fcn.004ca290
test eax, eax
jne 0x428185
pop esi
mov eax, 3
pop ebp
add esp, 0xbc0
ret 4
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi]
mov edx, 3
call fcn.00425f90
mov al, byte [esp + 0x10]
test al, al
je 0x4281cc
lea eax, [esp + 0x3f8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4281a8
sub eax, edx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + eax + 0x3fc]
push 0x5847dc
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push ebx
mov dword [esp + 0xc], 0
push edi
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi]
mov edx, 4
xor edi, edi
call fcn.00425f90
mov al, byte [esp + 0x18]
test al, al
je 0x4281fd
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
jns 0x428262
mov ecx, ebp
call fcn.004e29b0
test eax, eax
je 0x428240
lea edx, [esp + 0x400]
push edx
lea eax, [esp + 0x7ec]
push str._join__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [ebp]
add esp, 0xc
push ebp
push 0
push 0
push 0
push 0
lea edx, [esp + 0x7fc]
call fcn.0043e080
jmp 0x42825d
mov ecx, ebp
call fcn.004e2a60
test eax, eax
je 0x428262
push ebp
mov edx, 2
lea ecx, [esp + 0x404]
call fcn.004e34e0
mov edi, 1
mov al, byte [esp + 0x18]
test al, al
je 0x4283d9
mov edi, edi
test edi, edi
jne 0x428492
lea ecx, [esp + 0x18]
push 0x2c
push ecx
call fcn.00570260
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x428290
mov byte [ebx], 0
mov esi, dword [0x5ab6c4]
test esi, esi
je 0x4283a5
mov edi, edi
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4282ae
cmp esi, ebp
je 0x4282b7
jmp 0x4282ef
cmp eax, 1
jne 0x4282ef
cmp esi, ebp
je 0x4282ef
mov al, byte [esp + 0x18]
test al, al
je 0x4282ef
lea edx, [esi + 0x1c8c]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.005809c6
add esp, 8
test eax, eax
je 0x4282fe
lea ecx, [esi + 0xff8]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.005809c6
add esp, 8
test eax, eax
je 0x4282fe
mov esi, dword [esi + 0x2424]
test esi, esi
jne 0x4282a0
jmp 0x4283a5
mov ecx, esi
call fcn.004e29b0
test eax, eax
je 0x428329
lea eax, [esp + 0x400]
push eax
lea ecx, [esp + 0x7ec]
push str._join__s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x428389
mov ecx, esi
call fcn.004e2a60
test eax, eax
je 0x428348
push esi
mov edx, 2
lea ecx, [esp + 0x404]
call fcn.004e34e0
jmp 0x4283a0
mov eax, dword [esp + 0xbd4]
test eax, eax
je 0x4283a5
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
lea edx, [esp + 0x400]
test ah, ah
push edx
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x7ec]
push eax
jns 0x42837a
push str.__.server__m__s__j__s
jmp 0x42837f
push str.__.server__s__j__s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ecx, dword [esi]
push esi
push 0
push 0
push 0
lea edx, [esp + 0x7f8]
push 0
call fcn.0043e080
mov edi, 1
test ebx, ebx
je 0x4283d5
inc ebx
mov eax, ebx
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4283b0
sub eax, edx
inc eax
push eax
lea edx, [esp + 0x1c]
push ebx
push edx
call fcn.00571040
mov al, byte [esp + 0x24]
add esp, 0xc
test al, al
jne 0x428270
mov esi, dword [esp + 0x14]
test edi, edi
jne 0x428492
mov eax, dword [esp + 0xbd4]
test eax, eax
je 0x4284a4
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x428405
mov dword [esp + 0x10], 1
jmp 0x4281d6
mov ecx, dword [esi]
lea eax, [esp + 0x18]
push eax
mov edx, 4
call fcn.00425f90
lea ecx, [esp + 0x18]
push 0x2c
push ecx
call fcn.00570260
add esp, 8
test eax, eax
je 0x42842c
mov byte [eax], 0
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
js 0x428457
mov ecx, ebp
call fcn.004e2a60
test eax, eax
jne 0x428457
lea edx, [esp + 0x400]
push edx
lea eax, [esp + 0x1c]
push eax
push str.__.server__s__j__s
jmp 0x428469
lea edx, [esp + 0x400]
push edx
lea eax, [esp + 0x1c]
push eax
push str.__.server__m__s__j__s
lea ecx, [esp + 0x7f4]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [ebp]
add esp, 0x10
push ebp
push 0
push 0
push 0
push 0
lea edx, [esp + 0x7fc]
call fcn.0043e080
pop edi
pop ebx
pop esi
mov eax, 2
pop ebp
add esp, 0xbc0
ret 4
pop edi
pop ebx
pop esi
mov eax, 1
pop ebp
add esp, 0xbc0
ret 4