Function at 0x441090
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ddba5
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x5203c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x58], ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x5c], edi
cmp dword [edi + 0x18], 0xd
jne 0x44113c
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x10
call esi
test ax, ax
js 0x44113c
cmp byte [ebx + 0x33e], 0
je 0x441405
cmp byte [ebx + 0x33f], 0
je 0x441107
push 0x11
call esi
test ax, ax
js 0x441114
cmp byte [ebx + 0x33f], 0
jne 0x441405
push 0x11
call esi
test ax, ax
js 0x441405
mov ecx, dword [ebx + 0x28c]
test ecx, ecx
je 0x44141c
lea eax, [ebx + 4]
neg ebx
push 0
push 0
sbb ebx, ebx
push 0x29
and ebx, eax
push ebx
call fcn.0040f2f0
jmp 0x44141c
cmp byte [ebx + 0x344], 0
je 0x441405
cmp dword [edi + 0x18], 0x56
jne 0x441405
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x441405
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], eax
call fcn.00442d80
cmp dword [ebp - 0x30], 0
je 0x4413a8
xor edx, edx
mov dword [ebp - 0x28], 0
mov edi, 7
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [ebp - 0x14], edi
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
lea esi, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
mov ebx, dword [ebp - 0x28]
cmovae esi, dword [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
lea eax, [ecx + eax*2]
cmp esi, eax
je 0x44131e
movzx ecx, word [esi]
lea eax, [ecx - 0x30]
cmp ax, 9
ja 0x441316
mov dword [ebp - 0x50], ecx
cmp edx, edi
jae 0x441218
lea eax, [edx + 1]
cmp edi, 8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, ebx
mov word [eax + edx*2], cx
xor ecx, ecx
mov word [eax + edx*2 + 2], cx
add esi, 2
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x28]
jmp 0x4411c0
mov ecx, edx
mov eax, 0x7ffffffe
sub eax, ecx
mov dword [ebp - 0x44], ecx
cmp eax, 1
jb 0x44143a
lea eax, [ecx + 1]
mov edx, edi
mov edi, eax
mov dword [ebp - 0x48], eax
or edi, 7
mov dword [ebp - 0x4c], edx
cmp edi, 0x7ffffffe
jbe 0x44124c
mov edi, 0x7ffffffe
jmp 0x44126a
mov ecx, edx
mov eax, 0x7ffffffe
shr ecx, 1
sub eax, ecx
cmp edx, eax
jbe 0x441262
mov edi, 0x7ffffffe
jmp 0x44126a
lea eax, [edx + ecx]
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x28]
call fcn.00408cb0
cmp dword [ebp - 0x4c], 8
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x14], edi
lea edx, [ecx + ecx]
lea ecx, [edx + eax]
mov dword [ebp - 0x44], ecx
push edx
jb 0x4412f1
push ebx
push eax
call fcn.004ad230
mov eax, dword [ebp - 0x44]
add esp, 0xc
mov ecx, dword [ebp - 0x50]
mov word [eax], cx
xor ecx, ecx
mov word [eax + 2], cx
mov eax, dword [ebp - 0x4c]
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x4412d6
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44143f
push ecx
push ebx
call fcn.004a8c37
mov ebx, dword [ebp - 0x54]
add esp, 8
mov edx, dword [ebp - 0x48]
add esi, 2
mov dword [ebp - 0x28], ebx
jmp 0x4411c0
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.004ad230
mov eax, dword [ebp - 0x44]
add esp, 0xc
mov ecx, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x48]
mov word [eax], cx
xor ecx, ecx
mov word [eax + 2], cx
mov dword [ebp - 0x28], ebx
add esi, 2
jmp 0x4411c0
test edx, edx
jne 0x44135c
cmp edi, 8
jb 0x4413cd
lea edi, [edi*2 + 2]
mov eax, ebx
cmp edi, 0x1000
jb 0x441350
mov ebx, dword [ebx - 4]
add edi, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44143f
push edi
push ebx
call fcn.004a8c37
add esp, 8
jmp 0x4413cd
lea ecx, [ebp - 0x28]
call fcn.00442f20
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4413a2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x441398
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44143f
push edx
push ecx
call fcn.004a8c37
add esp, 8
mov edi, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebx]
mov ecx, ebx
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push 0x100
call dword [eax + 0x188]
cmp dword [ebp - 0x30], 0
je 0x4413cd
lea ecx, [ebp - 0x40]
call fcn.00442f20
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x44141c
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4413f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44143f
push edx
push ecx
call fcn.004a8c37
add esp, 8
jmp 0x44141c
mov eax, dword [ebx]
mov ecx, ebx
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push 0x100
call dword [eax + 0x188]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a8e4e
mov esp, ebp
pop ebp
ret 4
call fcn.00408b50
call fcn.004b040f
int3