Function at 0x42cbf1
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push esi
mov esi, ecx
xor edx, edx
cmp esi, edx
jne 0x42cc07
xor al, al
jmp 0x42cf4b
push ebx
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
cmp eax, 0xffffff6a
je 0x42cebd
cmp eax, 0xffffff4f
je 0x42cebd
cmp eax, 0xffffff94
jne 0x42cc9d
call fcn.0042a94d
lea ebx, [esi + 0x10]
mov eax, dword [ebx]
push 0xffffffffffffffff
and eax, 0x7f
push eax
mov ecx, esi
call fcn.004297a9
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x42cc4f
inc ebx
mov ecx, dword [edi + 0x10]
mov eax, dword [esi + 0x28]
mov al, byte [eax + ecx]
mov cl, byte [ebx]
mov dl, cl
and dl, 0x7f
cmp dl, al
jne 0x42cc6d
movzx eax, cl
xor eax, 0x80
jmp 0x42cc70
movzx eax, al
mov byte [ebx], al
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov ecx, esi
call fcn.0042a9d8
mov eax, dword [esi + 0x10]
mov ecx, eax
shr ecx, 7
not ecx
and ecx, 1
push ecx
and eax, 0x7f
push eax
mov ecx, esi
call fcn.004297a9
jmp 0x42cf47
cmp eax, 0xfffffff4
jne 0x42cdc9
mov ecx, 0x10000
cmp byte [0x54b02d], dl
je 0x42ccc8
test dword [edi + 0xc], ecx
je 0x42ccd4
test byte [edi + 0x24], 1
je 0x42ccd4
mov eax, dword [0x537e88]
mov dword [edi + 0x34], eax
jmp 0x42ccd4
mov eax, dword [esi + 4]
cmp dword [eax + 0x24], edx
je 0x42ce64
mov eax, dword [edi + 0xc]
dec eax
je 0x42cdba
sub eax, ecx
je 0x42cdaa
sub eax, 0x20000
je 0x42ccf5
dec eax
je 0x42cd40
jmp 0x42cf47
mov ecx, dword [esi + 0xc]
push 0x10
call fcn.00467e95
mov eax, dword [esi + 4]
cmp dword [eax + 0x34], 0
je 0x42cd29
mov edx, dword [esi + 0x28]
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [edi + 0x38]
movzx ecx, byte [ecx + edx]
push dword [esi + 0xc]
mov edx, dword [edi + 0x24]
call dword [eax + 0x34]
test al, al
je 0x42cd29
mov eax, dword [ebp + 8]
mov dword [edi + 0x30], eax
cmp byte [0x54aeca], 0
je 0x42cf47
cmp dword [edi + 0x38], 0
jne 0x42cf47
mov ecx, dword [esi + 0x28]
mov eax, dword [edi + 0x38]
mov cl, byte [eax + ecx]
xor edx, edx
inc edx
shl edx, cl
mov ecx, dword [esi + 4]
test dword [ecx + 0x24], edx
jne 0x42cd5a
push 0
jmp 0x42cdbc
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x24]
mov dword [ebp - 0x14], 2
push 0x1038
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub dword [ebp - 0x14], eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x42cd56
mov edx, dword [esi + 0x28]
mov ecx, dword [edi + 0x38]
movzx ecx, byte [ecx + edx]
push dword [esi + 0xc]
lea edx, [ebp - 0x14]
push ecx
mov ecx, edi
call eax
test al, al
je 0x42cd56
push 4
jmp 0x42cdbc
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x24]
neg eax
sbb eax, eax
and eax, 0x20
push eax
jmp 0x42cdbc
push 0x20
mov ecx, dword [esi + 0xc]
call fcn.00467e95
jmp 0x42cf47
cmp eax, 0xffffff65
jne 0x42ce6b
cmp word [edi + 0xc], 0x41
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
jne 0x42ce0b
push 0x11
call ebx
test ax, ax
jge 0x42ce0b
push 2
pop eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x48]
push eax
push 0xffffffffffffffff
push 0x102b
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x42cf47
cmp word [edi + 0xc], 0x43
jne 0x42ce27
push 0x11
call ebx
test ax, ax
jge 0x42ce27
mov ecx, esi
call fcn.0042b848
jmp 0x42cf47
cmp word [edi + 0xc], 0x71
jne 0x42ce64
mov eax, dword [esi + 4]
test byte [eax + 0x30], 1
je 0x42ce64
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 2
push 0xffffffffffffffff
push 0x100c
push dword [edi]
call esi
mov ebx, eax
test ebx, ebx
jl 0x42ce64
push dword [edi]
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push ebx
push 0x1076
push dword [edi]
call esi
xor al, al
jmp 0x42cf49
cmp eax, 0xffffff4d
jne 0x42ce64
mov eax, dword [esi + 4]
cmp dword [eax + 0x2c], edx
je 0x42ce64
mov eax, dword [edi + 0x10]
or dword [ebp - 4], 0xffffffff
test al, 2
je 0x42ceb5
mov ebx, dword [edi + 0xc]
and eax, 0x20
mov dword [ebp + 8], eax
cmp ebx, dword [esi + 0x14]
jb 0x42ce9d
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x42ceb5
mov dword [ebp + 8], ebx
push dword [esi + 0xc]
mov eax, dword [esi + 4]
mov edx, dword [edi + 0x14]
mov ecx, ebx
call dword [eax + 0x2c]
test al, al
jne 0x42ceb2
inc ebx
jmp 0x42ce8e
mov dword [ebp - 4], ebx
push dword [ebp - 4]
jmp 0x42cdbc
mov ecx, dword [edi + 0x24]
add edi, 0xc
test byte [edi], 1
mov dword [ebp + 8], ecx
je 0x42cee8
mov eax, 0x104
cmp ecx, eax
jge 0x42ced6
mov eax, ecx
mov dword [edi + 0x18], eax
xor eax, eax
mov word [0x547730], ax
mov dword [edi + 0x14], 0x547730
mov ebx, dword [edi + 8]
mov dword [edi + 0x24], edx
mov eax, dword [esi + 0x28]
cmp eax, edx
je 0x42cefb
movzx eax, byte [eax + ebx]
jmp 0x42cefd
xor eax, eax
mov dword [edi + 8], eax
mov eax, dword [esi + 4]
mov edx, dword [eax + 0xc]
imul edx, dword [edi + 4]
push dword [esi + 0xc]
add edx, dword [esi + 0x18]
mov ecx, edi
call dword [eax + 0x1c]
test byte [edi], 1
mov dword [edi + 8], ebx
je 0x42cf41
mov eax, dword [edi + 0x14]
mov esi, 0x547730
cmp eax, esi
je 0x42cf41
test eax, eax
jne 0x42cf32
mov eax, 0x4f80a4
push dword [edi + 0x18]
mov edx, eax
mov ecx, esi
call fcn.004225b2
mov dword [edi + 0x14], esi
mov eax, dword [ebp + 8]
mov dword [edi + 0x18], eax
mov al, 1
pop edi
pop ebx
pop esi
leave
ret 4