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

Disassembly:
push 0xffffffffffffffff
push 0x60aff3
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x6963f4]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov ebx, ecx
xor ebp, ebp
mov dword [esp + 0x48], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call fcn.005669f5
cmp eax, ebp
je 0x4cb6cc
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
jmp 0x4cb6ce
xor eax, eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x168]
call eax
mov esi, eax
cmp esi, ebp
je 0x4cb729
mov edi, dword [sym.imp.user32.dll_CopyAcceleratorTableA]
push ebp
push ebp
push esi
call edi
test eax, eax
mov dword [esp + 0x18], eax
je 0x4cb729
xor ecx, ecx
mov edx, 6
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0055dbf6
add esp, 4
test eax, eax
mov dword [esp + 0x1c], eax
je 0x4cb725
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push esi
call edi
mov dword [esp + 0x18], eax
mov ebp, dword [esp + 0x1c]
push 0xffffffffffffffff
lea ecx, [ebx + 0x9c]
push 0
call fcn.0057d1a3
push 0xffffffffffffffff
lea ecx, [ebx + 0xb0]
push 0
call fcn.0057d1a3
xor edi, edi
cmp dword [ebx + 0x54], edi
mov dword [esp + 0x24], edi
jle 0x4cbc50
call fcn.00564d6e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4cbc82
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x9c], 0
call fcn.00564d6e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4cbc82
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov ecx, edi
mov edx, ebx
mov byte [esp + 0x9c], 1
call fcn.004cbd40
test eax, eax
je 0x4cbbbf
mov ecx, dword [ebx + 0x1c4]
mov esi, dword [ecx + edi*4]
push esi
call fcn.0056aa5c
test eax, eax
je 0x4cb7e0
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00404f40
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jg 0x4cb7ef
or esi, 0xffffffff
jmp 0x4cb80f
push 0xa
push eax
call fcn.0059fba2
add esp, 8
test eax, eax
jne 0x4cb803
or esi, 0xffffffff
jmp 0x4cb80f
sub eax, dword [esp + 0x14]
mov esi, eax
je 0x4cb8a6
push esi
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x1c]
call fcn.0040ff90
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xa0], 2
call fcn.00407290
mov byte [esp + 0x9c], 1
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4cb858
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 1
push esi
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040ff60
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], 3
call fcn.00407290
mov byte [esp + 0x9c], 1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4cb8b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4cb8b4
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x24]
call fcn.00407290
test ebp, ebp
je 0x4cbbbf
cmp dword [esp + 0x18], 0
mov dword [esp + 0x28], 0
jle 0x4cbbbf
nop
movzx eax, word [ebp + 4]
mov edx, dword [ebx + 0x1c4]
cmp eax, dword [edx + edi*4]
jne 0x4cbba3
mov edx, dword [esp + 0x14]
mov edi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
lea esi, [edi + 1]
sub eax, esi
or eax, ecx
jge 0x4cb90c
push esi
lea ecx, [esp + 0x18]
call fcn.00401320
mov edx, dword [esp + 0x14]
test esi, esi
mov byte [edi + edx], 9
jl 0x4cbc8c
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x4cbc8c
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x14]
mov byte [esi + ecx], 0
test byte [ebp], 0x10
je 0x4cb9cc
lea edx, [esp + 0x3c]
push edx
mov edi, 0x7176
call fcn.004dd5f0
push 0x63d928
push eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0xac], 4
call fcn.00401be0
add esp, 0x10
mov byte [esp + 0x9c], 5
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.004071b0
mov byte [esp + 0x9c], 4
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4cb9a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x9c], 1
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4cb9cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test byte [ebp], 8
je 0x4cba68
lea ecx, [esp + 0x30]
push ecx
mov edi, 0x7177
call fcn.004dd5f0
push 0x63d928
push eax
lea edx, [esp + 0x58]
push edx
mov byte [esp + 0xac], 6
call fcn.00401be0
add esp, 0x10
mov byte [esp + 0x9c], 7
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.004071b0
mov byte [esp + 0x9c], 6
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4cba40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x9c], 1
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4cba68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test byte [ebp], 4
je 0x4cbb04
lea ecx, [esp + 0x40]
push ecx
mov edi, 0x7178
call fcn.004dd5f0
push 0x63d928
push eax
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0xac], 8
call fcn.00401be0
add esp, 0x10
mov byte [esp + 0x9c], 9
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.004071b0
mov byte [esp + 0x9c], 8
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4cbadc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x9c], 1
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4cbb04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test byte [ebp], 1
je 0x4cbb4c
movzx ecx, word [ebp + 2]
push 0
push ecx
call dword [sym.imp.user32.dll_MapVirtualKeyA]
push 0x40
lea edx, [esp + 0x54]
shl eax, 0x10
push edx
push eax
call dword [sym.imp.user32.dll_GetKeyNameTextA]
lea eax, [esp + 0x50]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4cbb30
sub eax, edx
push eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x1c]
call fcn.004071b0
jmp 0x4cbb9f
mov edx, dword [esp + 0x14]
mov edi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov bl, byte [ebp + 2]
mov ecx, 1
sub ecx, dword [edx - 4]
lea esi, [edi + 1]
sub eax, esi
or eax, ecx
jge 0x4cbb78
push esi
lea ecx, [esp + 0x18]
call fcn.00401320
mov edx, dword [esp + 0x14]
test esi, esi
mov byte [edi + edx], bl
jl 0x4cbc8c
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x4cbc8c
mov ebx, dword [esp + 0x48]
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x14]
mov byte [esi + ecx], 0
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add eax, 1
add ebp, 6
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
jl 0x4cb8d0
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebx + 0xa4]
lea ecx, [ebx + 0x9c]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.0057d43d
mov eax, dword [ebx + 0xb8]
lea ecx, [ebx + 0xb0]
lea edx, [esp + 0x20]
push edx
push eax
call fcn.0057d43d
mov byte [esp + 0x9c], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4cbc15
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x9c], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4cbc40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 1
cmp edi, dword [ebx + 0x54]
mov dword [esp + 0x24], edi
jl 0x4cb756
test ebp, ebp
je 0x4cbc5d
push ebp
call fcn.0055dbfb
add esp, 4
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.0059e0c2
add esp, 0x8c
ret
push 0x80004005
call fcn.004012a0
push 0x80070057
call fcn.004012a0
int3