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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b329b
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x100d6050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0xb0], esi
push 0
push edi
mov dword [ebp - 0xb0], esi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov ecx, eax
lea eax, [edi - 0x21]
cmp eax, 0x84
ja case.0x1004df7f.41
movzx eax, byte [eax + 0x1004e200]
jmp dword [eax*4 + 0x1004e1f8]
or ecx, 0x100
push 0x80
lea eax, [ebp - 0x90]
shl ecx, 0x10
push eax
push ecx
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
test eax, eax
je 0x1004e167
cmp edi, 0x14
je 0x1004e167
lea ecx, [ebp - 0x90]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0x98], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004dfe1
sub ecx, edx
lea eax, [ebp - 0x90]
push ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.1001a210
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa8]
cmp dword [ebp - 0x94], 0x10
lea eax, [ebp - 0xa8]
mov edx, dword [ebp - 0xa8]
lea edi, [ebp - 0xa8]
cmovae eax, edx
cmovae ecx, edx
add ecx, dword [ebp - 0x98]
cmp dword [ebp - 0x94], 0x10
mov dword [ebp - 0xac], eax
cmovae edi, edx
mov dword [ebp - 0xb0], ecx
cmp edi, ecx
je 0x1004e073
sub dword [ebp - 0xac], edi
mov esi, dword [ebp - 0xac]
movsx eax, byte [edi]
push eax
call fcn.1009649e
mov byte [esi + edi], al
add esp, 4
inc edi
cmp edi, dword [ebp - 0xb0]
jne 0x1004e055
mov esi, dword [ebp - 0xb4]
lea eax, [ebp - 0xa8]
mov edx, 0x100c5f5c
push eax
lea ecx, [ebp - 0xcc]
call fcn.1002fc80
add esp, 4
push 0x100c5f48
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.10019940
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0xb8]
cmp edx, 0x10
jb 0x1004e10c
mov ecx, dword [ebp - 0xcc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004e102
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004e1f3
push edx
push ecx
call fcn.10087020
add esp, 8
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0xf
mov byte [ebp - 0xcc], 0
cmp edx, 0x10
jb 0x1004e1d6
mov ecx, dword [ebp - 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004e15b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004e1f3
push edx
push ecx
call fcn.10087020
add esp, 8
jmp 0x1004e1d6
dec edi
cmp edi, 0x13
ja case.0x1004e174.3
movzx eax, byte [edi + 0x1004e2a4]
jmp dword [eax*4 + 0x1004e288]
push 4
push str._M4_
jmp 0x1004e1b8
push 4
push str._M5_
jmp 0x1004e1b8
push 4
push str._M1_
jmp 0x1004e1b8
push 4
push str._M3_
jmp 0x1004e1b8
push 4
push str._M2_
jmp 0x1004e1b8
push 6
push str._CAPS_
jmp 0x1004e1b8
push 1
push 0x100c5f44
mov dword [esi], 0
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
call fcn.1001a210
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10086ba0
mov esp, ebp
pop ebp
ret
call fcn.1008fba2
xchg bh, bl
add al, 16
mov edi, ds
add al, 16
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dword [ecx], eax
add dword [ecx], eax
add byte [eax], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add byte [eax], al
add byte [ecx], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add byte [ecx], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [eax], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add byte [ecx], al
add byte [edi], cl
pop ds
add byte [ebp - 0x60effb1f], cl
loope 0x1004e293
adc byte [esi + 0x7b1004e1], dl
loope 0x1004e29b
adc byte [ebx - 0x1f], bh
add al, 0x10
test cl, ah
add al, 16
test al, 0xe1
adc byte [ecx - 0x1e57effc], al
adc byte [eax - 0x4eeffb1f], ch
loope 0x1004e2a7
add al, 0x10
mov cl, 0xe1
add al, 16
add byte [ecx], al
push es
adc byte [eax], al
add dword [esi], eax
add al, byte [ebx]
add al, 6
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
add eax, -858993460
int3