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

Disassembly:
push 0xffffffffffffffff
push 0x612843
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x69e3d4]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69e3d4]
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.0056efb5
cmp eax, ebp
je 0x4cf7bc
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
jmp 0x4cf7be
xor eax, eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x168]
call eax
mov esi, eax
cmp esi, ebp
je 0x4cf819
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 0x4cf819
xor ecx, ecx
mov edx, 6
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005655d6
add esp, 4
test eax, eax
mov dword [esp + 0x1c], eax
je 0x4cf815
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.005851f6
push 0xffffffffffffffff
lea ecx, [ebx + 0xb0]
push 0
call fcn.005851f6
xor edi, edi
cmp dword [ebx + 0x54], edi
mov dword [esp + 0x24], edi
jle 0x4cfd40
call fcn.0056d592
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4cfd72
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.0056d592
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4cfd72
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.004cfe30
test eax, eax
je 0x4cfcaf
mov ecx, dword [ebx + 0x1c4]
mov esi, dword [ecx + edi*4]
push esi
call fcn.0057245e
test eax, eax
je 0x4cf8d0
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00404fe0
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jg 0x4cf8df
or esi, 0xffffffff
jmp 0x4cf8ff
push 0xa
push eax
call fcn.005a7472
add esp, 8
test eax, eax
jne 0x4cf8f3
or esi, 0xffffffff
jmp 0x4cf8ff
sub eax, dword [esp + 0x14]
mov esi, eax
je 0x4cf996
push esi
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x1c]
call fcn.004103b0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xa0], 2
call fcn.004074e0
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 0x4cf948
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.00410380
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], 3
call fcn.004074e0
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 0x4cf9a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4cf9a4
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x24]
call fcn.004074e0
test ebp, ebp
je 0x4cfcaf
cmp dword [esp + 0x18], 0
mov dword [esp + 0x28], 0
jle 0x4cfcaf
nop
movzx eax, word [ebp + 4]
mov edx, dword [ebx + 0x1c4]
cmp eax, dword [edx + edi*4]
jne 0x4cfc93
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 0x4cf9fc
push esi
lea ecx, [esp + 0x18]
call fcn.00401370
mov edx, dword [esp + 0x14]
test esi, esi
mov byte [edi + edx], 9
jl 0x4cfd7c
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x4cfd7c
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x14]
mov byte [esi + ecx], 0
test byte [ebp], 0x10
je 0x4cfabc
lea edx, [esp + 0x3c]
push edx
mov edi, 0x7176
call fcn.004e09d0
push 0x645998
push eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0xac], 4
call fcn.00401c10
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.00407400
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 0x4cfa94
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 0x4cfabc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test byte [ebp], 8
je 0x4cfb58
lea ecx, [esp + 0x30]
push ecx
mov edi, 0x7177
call fcn.004e09d0
push 0x645998
push eax
lea edx, [esp + 0x58]
push edx
mov byte [esp + 0xac], 6
call fcn.00401c10
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.00407400
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 0x4cfb30
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 0x4cfb58
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test byte [ebp], 4
je 0x4cfbf4
lea ecx, [esp + 0x40]
push ecx
mov edi, 0x7178
call fcn.004e09d0
push 0x645998
push eax
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0xac], 8
call fcn.00401c10
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.00407400
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 0x4cfbcc
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 0x4cfbf4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test byte [ebp], 1
je 0x4cfc3c
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 0x4cfc20
sub eax, edx
push eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x1c]
call fcn.00407400
jmp 0x4cfc8f
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 0x4cfc68
push esi
lea ecx, [esp + 0x18]
call fcn.00401370
mov edx, dword [esp + 0x14]
test esi, esi
mov byte [edi + edx], bl
jl 0x4cfd7c
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x4cfd7c
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 0x4cf9c0
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebx + 0xa4]
lea ecx, [ebx + 0x9c]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.00585490
mov eax, dword [ebx + 0xb8]
lea ecx, [ebx + 0xb0]
lea edx, [esp + 0x20]
push edx
push eax
call fcn.00585490
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 0x4cfd05
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 0x4cfd30
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 0x4cf846
test ebp, ebp
je 0x4cfd4d
push ebp
call fcn.005655db
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.005a58d9
add esp, 0x8c
ret
push 0x80004005
call fcn.004012f0
push 0x80070057
call fcn.004012f0
int3