Function at 0x4271e0
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.00425050
mov al, byte [esp + 0x3f8]
test al, al
jne 0x42721f
pop esi
mov eax, 1
pop ebp
add esp, 0xbc0
ret 4
push ebp
mov edx, 1
lea ecx, [esp + 0x3fc]
call fcn.004c4450
test eax, eax
jne 0x427245
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.00425050
mov al, byte [esp + 0x10]
test al, al
je 0x42728c
lea eax, [esp + 0x3f8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427268
sub eax, edx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + eax + 0x3fc]
push 0x575728
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.00425050
mov al, byte [esp + 0x18]
test al, al
je 0x4272bd
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
jns 0x427322
mov ecx, ebp
call fcn.004dc0f0
test eax, eax
je 0x427300
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.0043bba0
jmp 0x42731d
mov ecx, ebp
call fcn.004dc1a0
test eax, eax
je 0x427322
push ebp
mov edx, 2
lea ecx, [esp + 0x404]
call fcn.004dcc20
mov edi, 1
mov al, byte [esp + 0x18]
test al, al
je 0x427499
mov edi, edi
test edi, edi
jne 0x427552
lea ecx, [esp + 0x18]
push 0x2c
push ecx
call fcn.00563730
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x427350
mov byte [ebx], 0
mov esi, dword [0x59a15c]
test esi, esi
je 0x427465
mov edi, edi
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x42736e
cmp esi, ebp
je 0x427377
jmp 0x4273af
cmp eax, 1
jne 0x4273af
cmp esi, ebp
je 0x4273af
mov al, byte [esp + 0x18]
test al, al
je 0x4273af
lea edx, [esi + 0x1bb4]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00572b46
add esp, 8
test eax, eax
je 0x4273be
lea ecx, [esi + 0xff8]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00572b46
add esp, 8
test eax, eax
je 0x4273be
mov esi, dword [esi + 0x22dc]
test esi, esi
jne 0x427360
jmp 0x427465
mov ecx, esi
call fcn.004dc0f0
test eax, eax
je 0x4273e9
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 0x427449
mov ecx, esi
call fcn.004dc1a0
test eax, eax
je 0x427408
push esi
mov edx, 2
lea ecx, [esp + 0x404]
call fcn.004dcc20
jmp 0x427460
mov eax, dword [esp + 0xbd4]
test eax, eax
je 0x427465
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 0x42743a
push str.__.server__m__s__j__s
jmp 0x42743f
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.0043bba0
mov edi, 1
test ebx, ebx
je 0x427495
inc ebx
mov eax, ebx
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427470
sub eax, edx
inc eax
push eax
lea edx, [esp + 0x1c]
push ebx
push edx
call fcn.005641d0
mov al, byte [esp + 0x24]
add esp, 0xc
test al, al
jne 0x427330
mov esi, dword [esp + 0x14]
test edi, edi
jne 0x427552
mov eax, dword [esp + 0xbd4]
test eax, eax
je 0x427564
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4274c5
mov dword [esp + 0x10], 1
jmp 0x427296
mov ecx, dword [esi]
lea eax, [esp + 0x18]
push eax
mov edx, 4
call fcn.00425050
lea ecx, [esp + 0x18]
push 0x2c
push ecx
call fcn.00563730
add esp, 8
test eax, eax
je 0x4274ec
mov byte [eax], 0
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
js 0x427517
mov ecx, ebp
call fcn.004dc1a0
test eax, eax
jne 0x427517
lea edx, [esp + 0x400]
push edx
lea eax, [esp + 0x1c]
push eax
push str.__.server__s__j__s
jmp 0x427529
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.0043bba0
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