Function at 0x41e060
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x57a930
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x5ecfcc]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ecfcc]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x7c]
mov eax, dword [esi]
mov ebp, ecx
mov ecx, dword [eax - 0xc]
xor ebx, ebx
cmp ecx, ebx
mov dword [esp + 0x20], ebp
jle 0x41e0fd
push 9
push eax
call fcn.0055b924
add esp, 8
cmp eax, ebx
je 0x41e0fd
sub eax, dword [esi]
cmp eax, ebx
jle 0x41e0fd
push eax
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00406df0
push eax
mov ecx, esi
mov dword [esp + 0x78], ebx
call fcn.00403590
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x74], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e0fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x80]
lea ecx, [esp + 0x18]
push ecx
push edx
lea ecx, [ebp + 0x64]
call fcn.00545c5b
mov edi, eax
neg edi
sbb edi, edi
and edi, dword [esp + 0x18]
je 0x41e270
mov edx, 0x58b360
test ebx, ebx
jne 0x41e130
mov edx, 0x58b35c
mov eax, edx
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41e135
sub eax, ebx
push eax
push edx
mov ecx, esi
call fcn.00403470
test byte [edi], 0x10
je 0x41e15a
push 4
push str.Alt
mov ecx, esi
call fcn.00403470
test byte [edi], 8
je 0x41e16d
push 5
push str.Ctrl
mov ecx, esi
call fcn.00403470
test byte [edi], 4
je 0x41e180
push 6
push str.Shift
mov ecx, esi
call fcn.00403470
test byte [edi], 1
je 0x41e200
movzx eax, word [edi + 2]
push 0
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push 0x40
lea ecx, [esp + 0x2c]
shl eax, 0x10
push ecx
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00404370
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
call fcn.0041deb0
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x7c], 1
call fcn.00403470
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x74], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e249
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41e249
mov eax, dword [esi]
mov ebx, dword [eax - 0xc]
mov cl, byte [edi + 2]
mov edx, 1
sub edx, dword [eax - 4]
mov eax, dword [eax - 8]
lea ebp, [ebx + 1]
sub eax, ebp
or edx, eax
mov byte [esp + 0x14], cl
jge 0x41e228
push ebp
mov ecx, esi
call fcn.00402a00
mov ecx, dword [esi]
mov dl, byte [esp + 0x14]
mov byte [ebx + ecx], dl
test ebp, ebp
jl 0x41e293
mov eax, dword [esi]
cmp ebp, dword [eax - 8]
jg 0x41e293
mov dword [eax - 0xc], ebp
mov eax, dword [esi]
mov byte [eax + ebp], 0
mov ebp, dword [esp + 0x20]
movzx eax, word [edi + 4]
mov ebx, 1
test ax, ax
je 0x41e270
movzx eax, ax
lea ecx, [eax*4]
sub ecx, eax
neg ecx
lea edi, [edi + ecx*2]
test edi, edi
jne 0x41e122
mov eax, ebx
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0055953b
add esp, 0x64
ret 8
push 0x80070057
call fcn.00401090
int3