Function at 0x42fe40
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x313c
call fcn.005d9990
push ebp
mov ebp, dword [esp + 0x3144]
mov ecx, dword [ebp]
lea eax, [esp + 0x1070]
push eax
push 1
push ecx
call fcn.0042d960
mov al, byte [esp + 0x107c]
add esp, 0xc
test al, al
jne 0x42fe80
mov eax, 1
pop ebp
add esp, 0x313c
ret
push ebx
push esi
mov esi, dword [esp + 0x3150]
push edi
push esi
lea edx, [esp + 0x1080]
push 1
push edx
call fcn.004eae30
add esp, 0xc
test eax, eax
jne 0x42feb1
pop edi
pop esi
pop ebx
mov eax, 3
pop ebp
add esp, 0x313c
ret
mov ecx, dword [ebp]
lea eax, [esp + 0x14]
push eax
push 3
push ecx
call fcn.0042d960
mov al, byte [esp + 0x20]
add esp, 0xc
test al, al
je 0x42fef9
lea eax, [esp + 0x107c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42fed6
sub eax, edx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + eax + 0x1080]
push 0x5f6000
push eax
call fcn.005d9929
add esp, 0xc
mov edx, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
push 6
push edx
xor ebx, ebx
call fcn.0042d960
mov al, byte [esp + 0x20]
add esp, 0xc
cmp al, 0x31
jne 0x42ff1b
mov ebx, 8
mov dword [esp + 0x10], 0
mov ecx, dword [ebp]
lea eax, [esp + 0x14]
push eax
push 4
push ecx
xor edi, edi
call fcn.0042d960
mov al, byte [esp + 0x20]
add esp, 0xc
test al, al
je 0x42ff50
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
jns 0x42ffdd
push esi
call fcn.00508d40
add esp, 4
test eax, eax
je 0x42ffb4
test bl, 8
je 0x42ff79
lea edx, [esp + 0x107c]
push edx
push str._join__n__s
lea eax, [esp + 0x20ec]
push eax
jmp 0x42ff8e
lea ecx, [esp + 0x107c]
push ecx
push str._join__s
lea edx, [esp + 0x20ec]
push edx
call fcn.005d9929
mov ecx, dword [esi]
add esp, 0xc
push esi
push 0
push 0
push 0
push 0
lea eax, [esp + 0x20f8]
push eax
push ecx
call fcn.00448030
add esp, 0x1c
jmp 0x42ffd8
push esi
call fcn.00508e00
add esp, 4
test eax, eax
je 0x42ffdd
mov edx, ebx
push esi
or edx, 2
push edx
lea eax, [esp + 0x1084]
push eax
call fcn.00509b10
add esp, 0xc
mov edi, 1
mov al, byte [esp + 0x14]
test al, al
je 0x4301c7
lea esp, [esp]
test edi, edi
jne 0x4302c2
lea ecx, [esp + 0x14]
push 0x2c
push ecx
call fcn.005d9b20
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x430011
mov byte [ebp], 0
mov esi, dword [0x67b0c8]
test esi, esi
je 0x43018a
nop
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x430033
cmp esi, dword [esp + 0x3154]
je 0x430041
jmp 0x430079
cmp eax, 1
jne 0x430079
cmp esi, dword [esp + 0x3154]
je 0x430079
mov al, byte [esp + 0x14]
test al, al
je 0x430079
lea edx, [esi + 0x5dd4]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.005f1860
add esp, 8
test eax, eax
je 0x430088
lea ecx, [esi + 0x3468]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.005f1860
add esp, 8
test eax, eax
je 0x430088
mov esi, dword [esi + 0x819c]
test esi, esi
jne 0x430020
jmp 0x43018a
push esi
call fcn.00508d40
add esp, 4
test eax, eax
je 0x4300e7
test bl, 8
je 0x4300b1
lea eax, [esp + 0x107c]
push eax
push str._join__n__s
lea ecx, [esp + 0x20ec]
push ecx
jmp 0x4300c6
lea edx, [esp + 0x107c]
push edx
push str._join__s
lea eax, [esp + 0x20ec]
push eax
call fcn.005d9929
mov edx, dword [esi]
add esp, 0xc
push esi
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x20f8]
push ecx
push edx
jmp 0x43017d
push esi
call fcn.00508e00
add esp, 4
test eax, eax
je 0x43010d
mov eax, ebx
push esi
or eax, 2
push eax
lea ecx, [esp + 0x1084]
push ecx
call fcn.00509b10
add esp, 0xc
jmp 0x430185
mov eax, dword [esp + 0x3158]
test eax, eax
je 0x43018a
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test bl, 8
lea edx, [esp + 0x107c]
lea ecx, [esp + 0x20e4]
push edx
je 0x43014b
test ah, ah
lea eax, [esp + 0x18]
push eax
jns 0x430144
push str.__.server__m__s__jn__s
jmp 0x430160
push str.__.server__s__jn__s
jmp 0x430160
test ah, ah
lea eax, [esp + 0x18]
push eax
jns 0x43015b
push str.__.server__m__s__j__s
jmp 0x430160
push str.__.server__s__j__s
push ecx
call fcn.005d9929
mov eax, dword [esi]
add esp, 0x10
push esi
push 0
push 0
push 0
push 0
lea edx, [esp + 0x20f8]
push edx
push eax
call fcn.00448030
add esp, 0x1c
mov edi, 1
test ebp, ebp
je 0x4301b9
inc ebp
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x430194
sub eax, edx
inc eax
push eax
lea ecx, [esp + 0x18]
push ebp
push ecx
call fcn.005daa60
mov al, byte [esp + 0x20]
add esp, 0xc
test al, al
jne 0x42fff0
mov ebp, dword [esp + 0x3150]
mov esi, dword [esp + 0x3154]
test edi, edi
jne 0x4302c2
mov eax, dword [esp + 0x3158]
test eax, eax
je 0x4302d2
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4301f3
mov dword [esp + 0x10], 1
jmp 0x42ff23
mov eax, dword [ebp]
lea edx, [esp + 0x14]
push edx
push 4
push eax
call fcn.0042d960
lea ecx, [esp + 0x20]
push 0x2c
push ecx
call fcn.005d9b20
add esp, 0x14
test eax, eax
je 0x430219
mov byte [eax], 0
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test bl, 8
je 0x43025f
test ah, ah
js 0x43024b
push esi
call fcn.00508e00
add esp, 4
test eax, eax
jne 0x43024b
lea edx, [esp + 0x107c]
push edx
lea eax, [esp + 0x18]
push eax
push str.__.server__s__jn__s
jmp 0x430296
lea edx, [esp + 0x107c]
push edx
lea eax, [esp + 0x18]
push eax
push str.__.server__m__s__jn__s
jmp 0x430296
test ah, ah
js 0x430284
push esi
call fcn.00508e00
add esp, 4
test eax, eax
jne 0x430284
lea edx, [esp + 0x107c]
push edx
lea eax, [esp + 0x18]
push eax
push str.__.server__s__j__s
jmp 0x430296
lea edx, [esp + 0x107c]
push edx
lea eax, [esp + 0x18]
push eax
push str.__.server__m__s__j__s
lea ecx, [esp + 0x20f0]
push ecx
call fcn.005d9929
mov eax, dword [esi]
add esp, 0x10
push esi
push 0
push 0
push 0
push 0
lea edx, [esp + 0x20f8]
push edx
push eax
call fcn.00448030
add esp, 0x1c
pop edi
pop esi
pop ebx
mov eax, 2
pop ebp
add esp, 0x313c
ret
pop edi
pop esi
pop ebx
mov eax, 1
pop ebp
add esp, 0x313c
ret