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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012c1c6
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x1015e074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc4], 0
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc8], ecx
mov edx, dword [ebp - 0xc8]
sub edx, 0x21
mov dword [ebp - 0xc8], edx
cmp dword [ebp - 0xc8], 0x84
ja case.0x100d62d8.8
mov eax, dword [ebp - 0xc8]
movzx ecx, byte [eax + 0x100d65ac]
jmp dword [ecx*4 + 0x100d65a4]
mov edx, dword [ebp - 0xd0]
or edx, 0x100
mov dword [ebp - 0xd0], edx
push 0x80
lea eax, [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0xd0]
shl ecx, 0x10
push ecx
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0
je 0x100d6326
cmp dword [ebp + 0xc], 0x14
jne 0x100d645b
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0xcc]
sub eax, 1
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0x13
ja case.0x100d6358.2
mov ecx, dword [ebp - 0xcc]
movzx edx, byte [ecx + 0x100d6650]
jmp dword [edx*4 + 0x100d6634]
push str._M4_
mov ecx, dword [ebp + 8]
call fcn.100039e0
mov eax, dword [ebp - 0xc4]
or eax, 1
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 8]
jmp 0x100d658b
push str._M5_
mov ecx, dword [ebp + 8]
call fcn.100039e0
mov ecx, dword [ebp - 0xc4]
or ecx, 1
mov dword [ebp - 0xc4], ecx
mov eax, dword [ebp + 8]
jmp 0x100d658b
push str._M1_
mov ecx, dword [ebp + 8]
call fcn.100039e0
mov edx, dword [ebp - 0xc4]
or edx, 1
mov dword [ebp - 0xc4], edx
mov eax, dword [ebp + 8]
jmp 0x100d658b
push str._M3_
mov ecx, dword [ebp + 8]
call fcn.100039e0
mov eax, dword [ebp - 0xc4]
or eax, 1
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 8]
jmp 0x100d658b
push str._M2_
mov ecx, dword [ebp + 8]
call fcn.100039e0
mov ecx, dword [ebp - 0xc4]
or ecx, 1
mov dword [ebp - 0xc4], ecx
mov eax, dword [ebp + 8]
jmp 0x100d658b
push str._CAPS_
mov ecx, dword [ebp + 8]
call fcn.100039e0
mov edx, dword [ebp - 0xc4]
or edx, 1
mov dword [ebp - 0xc4], edx
mov eax, dword [ebp + 8]
jmp 0x100d658b
push 0x10145dc4
mov ecx, dword [ebp + 8]
call fcn.100039e0
mov eax, dword [ebp - 0xc4]
or eax, 1
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 8]
jmp 0x100d658b
lea ecx, [ebp - 0x90]
push ecx
lea ecx, [ebp - 0xa8]
call fcn.100039e0
mov dword [ebp - 4], 0
lea edx, [ebp - 0xf8]
push edx
lea ecx, [ebp - 0xa8]
call fcn.10019d20
mov eax, dword [eax]
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0xe4], ecx
lea edx, [ebp - 0xfc]
push edx
lea ecx, [ebp - 0xa8]
call fcn.1002f0f0
mov eax, dword [eax]
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xe8], ecx
lea edx, [ebp - 0x100]
push edx
lea ecx, [ebp - 0xa8]
call fcn.10019d20
mov eax, dword [eax]
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xec], ecx
push 0x100942dd
mov edx, dword [ebp - 0xe4]
push edx
mov eax, dword [ebp - 0xe8]
push eax
mov ecx, dword [ebp - 0xec]
push ecx
lea edx, [ebp - 0x104]
push edx
call fcn.1002f240
add esp, 0x14
lea eax, [ebp - 0xa8]
push eax
push 0x10145dcc
lea ecx, [ebp - 0xc0]
push ecx
call fcn.1002cfb0
add esp, 0xc
mov dword [ebp - 0xf0], eax
mov edx, dword [ebp - 0xf0]
mov dword [ebp - 0xf4], edx
mov byte [ebp - 4], 1
push 0x10145dc8
mov eax, dword [ebp - 0xf4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.100118e0
add esp, 0xc
mov edx, dword [ebp - 0xc4]
or edx, 1
mov dword [ebp - 0xc4], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.10003900
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.10003900
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10089497
mov esp, ebp
pop ebp
ret