Function at 0x10013193
Capabilities:
Log keystrokes via polling
Query or enumerate registry value

Disassembly:
mov eax, 0x100216c4
call fcn.1001fbd0
sub esp, 0x130
push ebx
push esi
xor ebx, ebx
push edi
cmp dword [0x1002c460], ebx
mov dword [ebp - 0x10], esp
jne 0x100131da
push 0x1002c460
push 1
push ebx
push str.SoftwareDownloadManagerSpecialKeys
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100131da
mov dword [0x1002c460], ebx
jmp 0x10013406
push 4
lea eax, [ebp - 0x14]
pop edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
lea eax, [ebp - 0x18]
and byte [ebp - 0x19], 0
push eax
push ebx
push ebx
push str.UseKeyToForce
mov dword [ebp - 4], ebx
push dword [0x1002c460]
mov dword [ebp - 0x14], edi
call esi
test eax, eax
jne 0x10013410
cmp dword [ebp - 0x18], ebx
je 0x10013410
lea eax, [ebp - 0x14]
mov dword [ebp - 0x28], ebx
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push str.AltF
push dword [0x1002c460]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x14], edi
call esi
test eax, eax
jne 0x10013248
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push str.CtrlF
push dword [0x1002c460]
call esi
test eax, eax
jne 0x1001326c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push str.ShiftF
push dword [0x1002c460]
call esi
test eax, eax
jne 0x10013290
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push str.InsF
push dword [0x1002c460]
call esi
test eax, eax
jne 0x100132b4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push str.CheckMouse
push dword [0x1002c460]
call esi
test eax, eax
jne 0x100132d8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x28], ebx
jne 0x100132f0
cmp dword [ebp - 0x2c], ebx
jne 0x100132f0
cmp dword [ebp - 0x24], ebx
jne 0x100132f0
cmp dword [ebp - 0x20], ebx
je 0x10013410
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
mov byte [ebp - 0x19], 1
mov dword [ebp - 0x3c], ebx
call esi
mov edi, 0x8000
push 0x12
and eax, edi
mov dword [ebp - 0x38], eax
call esi
mov bx, ax
push 0x10
and ebx, edi
call esi
and eax, edi
push 0x2d
mov dword [ebp - 0x34], eax
call esi
mov si, ax
and esi, edi
xor edi, edi
cmp dword [ebp - 0x28], edi
je 0x1001333a
cmp ebx, edi
je 0x10013406
push 1
pop eax
jmp 0x1001333d
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x24], edi
je 0x1001334c
cmp dword [ebp - 0x34], edi
je 0x10013406
inc eax
cmp dword [ebp - 0x2c], edi
je 0x1001335b
cmp dword [ebp - 0x38], edi
je 0x10013406
inc eax
cmp dword [ebp - 0x20], edi
je 0x10013369
cmp esi, edi
je 0x10013406
inc eax
cmp eax, 1
jne 0x100133db
push 0x100
lea eax, [ebp - 0x13c]
push edi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x100133bc
push 0x20
xor ecx, ecx
pop eax
cmp eax, 0x88
jge 0x100133b8
test byte [ebp + eax - 0x13c], 0x80
je 0x100133b5
cmp dword [ebp - 0x20], edi
je 0x100133b4
cmp eax, 0x2d
je 0x100133b5
inc ecx
inc eax
jmp 0x10013399
cmp ecx, edi
jne 0x10013406
xor eax, eax
cmp ebx, edi
je 0x100133c5
push 1
pop eax
cmp dword [ebp - 0x34], edi
je 0x100133cb
inc eax
cmp dword [ebp - 0x38], edi
je 0x100133d1
inc eax
cmp esi, edi
je 0x100133d6
inc eax
cmp eax, 1
jne 0x10013406
cmp dword [0x1002c46c], edi
je 0x10013410
cmp dword [ebp - 0x30], edi
je 0x10013410
mov eax, dword [0x1002c43c]
cmp eax, edi
je 0x10013410
push dword [ebp - 0x30]
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call eax
cmp eax, edi
jne 0x10013410
xor al, al
jmp 0x10013413
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret