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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword fs:[0]
movsx ecx, word [ebx + 0xc]
push 0xffffffffffffffff
push 0x1016779d
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x58
push esi
push edi
cmp ecx, 0xa3
ja case.0x10101138.3
movzx eax, byte [ecx + 0x10101d30]
jmp dword [eax*4 + 0x10101c88]
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 4
mov dword [eax + 0x14], 0xf
mov dword [eax], 0x656e6f6e
mov byte [eax + 4], 0
jmp 0x10101c71
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 6
mov dword [eax + 0x14], 0xf
mov ecx, dword [str.mouse1]
mov dword [eax], ecx
mov cx, word [0x10276200]
mov word [eax + 4], cx
mov byte [eax + 6], 0
jmp 0x10101c71
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 6
mov dword [eax + 0x14], 0xf
mov ecx, dword [str.mouse2]
mov dword [eax], ecx
mov cx, word [0x10276208]
mov word [eax + 4], cx
mov byte [eax + 6], 0
jmp 0x10101c71
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 6
mov dword [eax + 0x14], 0xf
mov ecx, dword [str.mouse3]
mov dword [eax], ecx
mov cx, word [0x102761f0]
mov word [eax + 4], cx
mov byte [eax + 6], 0
jmp 0x10101c71
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 6
mov dword [eax + 0x14], 0xf
mov ecx, dword [str.mouse4]
mov dword [eax], ecx
mov cx, word [0x102761f8]
mov word [eax + 4], cx
mov byte [eax + 6], 0
jmp 0x10101c71
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 6
mov dword [eax + 0x14], 0xf
mov ecx, dword [str.mouse5]
mov dword [eax], ecx
mov cx, word [0x10276210]
mov word [eax + 4], cx
mov byte [eax + 6], 0
jmp 0x10101c71
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 7
mov dword [eax + 0x14], 0xf
mov ecx, dword [str.control]
mov dword [eax], ecx
mov cx, word [0x10276218]
mov word [eax + 4], cx
mov cl, byte [0x1027621a]
mov byte [eax + 6], cl
mov byte [eax + 7], 0
jmp 0x10101c71
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 6
mov dword [eax + 0x14], 0xf
mov ecx, dword [str.delete]
mov dword [eax], ecx
mov cx, word [0x1026b504]
mov word [eax + 4], cx
mov byte [eax + 6], 0
jmp 0x10101c71
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 4
mov dword [eax + 0x14], 0xf
mov dword [eax], 0x306d756e
mov byte [eax + 4], 0
jmp 0x10101c71
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 4
mov dword [eax + 0x14], 0xf
mov dword [eax], 0x316d756e
mov byte [eax + 4], 0
jmp 0x10101c71
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 4
mov dword [eax + 0x14], 0xf
mov dword [eax], 0x326d756e
mov byte [eax + 4], 0
jmp 0x10101c71
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 4
mov dword [eax + 0x14], 0xf
mov dword [eax], 0x336d756e
mov byte [eax + 4], 0
jmp 0x10101c71
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 4
mov dword [eax + 0x14], 0xf
mov dword [eax], 0x346d756e
mov byte [eax + 4], 0
jmp 0x10101c71
mov ecx, dword [ebx + 8]
push str.num5
call fcn.10093680
mov eax, dword [ebx + 8]
jmp 0x10101c71
mov ecx, dword [ebx + 8]
push str.num6
call fcn.10093680
mov eax, dword [ebx + 8]
jmp 0x10101c71
mov ecx, dword [ebx + 8]
push str.num7
call fcn.10093680
mov eax, dword [ebx + 8]
jmp 0x10101c71
mov ecx, dword [ebx + 8]
push str.num8
call fcn.10093680
mov eax, dword [ebx + 8]
jmp 0x10101c71
mov ecx, dword [ebx + 8]
push str.num9
call fcn.10093680
mov eax, dword [ebx + 8]
jmp 0x10101c71
mov ecx, dword [ebx + 8]
push str.pgup
call fcn.10093680
mov eax, dword [ebx + 8]
jmp 0x10101c71
mov ecx, dword [ebx + 8]
push str.pgdown
call fcn.10093680
mov eax, dword [ebx + 8]
jmp 0x10101c71
mov ecx, dword [ebx + 8]
push str.home
call fcn.10093680
mov eax, dword [ebx + 8]
jmp 0x10101c71
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 3
mov dword [eax + 0x14], 0xf
mov cx, word [0x1026c45c]
mov word [eax], cx
mov cl, byte [0x1026c45e]
mov byte [eax + 2], cl
mov byte [eax + 3], 0
jmp 0x10101c71
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 5
mov dword [eax + 0x14], 0xf
mov ecx, dword [str.clear]
mov dword [eax], ecx
mov cl, byte [0x10276250]
mov byte [eax + 4], cl
mov byte [eax + 5], 0
jmp 0x10101c71
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
mov ecx, 0x7075
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 2
mov dword [eax + 0x14], 0xf
mov word [eax], cx
mov byte [eax + 2], 0
jmp 0x10101c71
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 4
mov dword [eax + 0x14], 0xf
mov dword [eax], 0x6e776f64
mov byte [eax + 4], 0
jmp 0x10101c71
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 4
mov dword [eax + 0x14], 0xf
mov dword [eax], 0x7466656c
mov byte [eax + 4], 0
jmp 0x10101c71
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 5
mov dword [eax + 0x14], 0xf
mov ecx, dword [str.right]
mov dword [eax], ecx
mov cl, byte [0x10276268]
mov byte [eax + 4], cl
mov byte [eax + 5], 0
jmp 0x10101c71
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 6
mov dword [eax + 0x14], 0xf
mov ecx, dword [str.escape]
mov dword [eax], ecx
mov cx, word [0x10276278]
mov word [eax + 4], cx
mov byte [eax + 6], 0
jmp 0x10101c71
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 3
mov dword [eax + 0x14], 0xf
mov cx, word [0x1027627c]
mov word [eax], cx
mov cl, byte [0x1027627e]
mov byte [eax + 2], cl
mov byte [eax + 3], 0
jmp 0x10101c71
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 3
mov dword [eax + 0x14], 0xf
mov cx, word [0x1027626c]
mov word [eax], cx
mov cl, byte [0x1027626e]
mov byte [eax + 2], cl
mov byte [eax + 3], 0
jmp 0x10101c71
mov ecx, dword [ebx + 8]
push 0x10276270
call fcn.10093680
mov eax, dword [ebx + 8]
jmp 0x10101c71
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 3
mov dword [eax + 0x14], 0xf
mov cx, word [0x10276288]
mov word [eax], cx
mov cl, byte [0x1027628a]
mov byte [eax + 2], cl
mov byte [eax + 3], 0
jmp 0x10101c71
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 3
mov dword [eax + 0x14], 0xf
mov cx, word [0x1027628c]
mov word [eax], cx
mov cl, byte [0x1027628e]
mov byte [eax + 2], cl
mov byte [eax + 3], 0
jmp 0x10101c71
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 3
mov dword [eax + 0x14], 0xf
mov cx, word [0x10276280]
mov word [eax], cx
mov cl, byte [0x10276282]
mov byte [eax + 2], cl
mov byte [eax + 3], 0
jmp 0x10101c71
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 3
mov dword [eax + 0x14], 0xf
mov cx, word [0x10276284]
mov word [eax], cx
mov cl, byte [0x10276286]
mov byte [eax + 2], cl
mov byte [eax + 3], 0
jmp 0x10101c71
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 3
mov dword [eax + 0x14], 0xf
mov cx, word [0x10276298]
mov word [eax], cx
mov cl, byte [0x1027629a]
mov byte [eax + 2], cl
mov byte [eax + 3], 0
jmp 0x10101c71
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 3
mov dword [eax + 0x14], 0xf
mov cx, word [0x1027629c]
mov word [eax], cx
mov cl, byte [0x1027629e]
mov byte [eax + 2], cl
mov byte [eax + 3], 0
jmp 0x10101c71
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 3
mov dword [eax + 0x14], 0xf
mov cx, word [0x10276290]
mov word [eax], cx
mov cl, byte [0x10276292]
mov byte [eax + 2], cl
mov byte [eax + 3], 0
jmp 0x10101c71
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 3
mov dword [eax + 0x14], 0xf
mov cx, word [0x10276294]
mov word [eax], cx
mov cl, byte [0x10276296]
mov byte [eax + 2], cl
mov byte [eax + 3], 0
jmp 0x10101c71
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 3
mov dword [eax + 0x14], 0xf
mov cx, word [0x102762a8]
mov word [eax], cx
mov cl, byte [0x102762aa]
mov byte [eax + 2], cl
mov byte [eax + 3], 0
jmp 0x10101c71
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 5
mov dword [eax + 0x14], 0xf
mov ecx, dword [str.pause]
mov dword [eax], ecx
mov cl, byte [0x102762b0]
mov byte [eax + 4], cl
mov byte [eax + 5], 0
jmp 0x10101c71
mov eax, dword [str.unknown]
xorps xmm0, xmm0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x4c], eax
mov ax, word [0x10275014]
mov word [ebp - 0x48], ax
mov al, byte [0x10275016]
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x46], al
mov byte [ebp - 0x45], 0
xor eax, eax
mov dword [ebp - 4], 0
push 0x10
mov word [ebp - 0x34], ax
mov dword [ebp - 0x2a], eax
mov word [ebp - 0x26], ax
lea eax, [ebp - 0x34]
push eax
push 0
push ecx
movq qword [ebp - 0x32], xmm0
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
shl eax, 0x10
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
test eax, eax
je 0x10101a36
lea ecx, [ebp - 0x34]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10101a20
sub ecx, edx
lea eax, [ebp - 0x34]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.100938b0
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x3c]
lea edi, [ebp - 0x4c]
cmp edx, 0xf
mov dword [ebp - 0x18], ecx
lea esi, [ebp - 0x4c]
cmova eax, dword [ebp - 0x4c]
cmova edi, dword [ebp - 0x4c]
add eax, ecx
cmp edx, 0xf
mov dword [ebp - 0x20], eax
cmova esi, dword [ebp - 0x4c]
cmp esi, eax
je 0x10101a84
sub edi, esi
movsx eax, byte [esi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [edi + esi], al
add esp, 4
inc esi
cmp esi, dword [ebp - 0x20]
jne 0x10101a65
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x18], ecx
cmp edx, 0xf
lea eax, [ebp - 0x4c]
lea esi, [ebp - 0x4c]
cmova eax, dword [ebp - 0x4c]
lea edi, [ebp - 0x4c]
add eax, ecx
cmp edx, 0xf
mov dword [ebp - 0x14], eax
cmova esi, dword [ebp - 0x4c]
cmova edi, dword [ebp - 0x4c]
lea esi, [ecx + esi]
mov ecx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
mov dword [ebp - 0x20], esi
cmp edi, esi
je 0x10101b0e
movsx eax, byte [edi]
push eax
call ecx
add esp, 4
test eax, eax
jne 0x10101acc
mov ecx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
inc edi
cmp edi, esi
jne 0x10101ab4
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x18], ecx
mov ecx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
cmp edi, esi
je 0x10101b0e
lea esi, [edi + 1]
cmp esi, dword [ebp - 0x20]
je 0x10101b0e
movsx eax, byte [esi]
push eax
call ecx
add esp, 4
test eax, eax
jne 0x10101af9
mov al, byte [esi]
mov byte [edi], al
inc edi
mov ecx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
inc esi
cmp esi, dword [ebp - 0x20]
jne 0x10101ae7
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x18], ecx
cmp edx, 0xf
lea eax, [ebp - 0x4c]
mov esi, edi
cmova eax, dword [ebp - 0x4c]
sub dword [ebp - 0x14], edi
sub esi, eax
mov edi, dword [ebp - 0x18]
mov eax, edi
mov edx, dword [ebp - 0x14]
sub eax, esi
cmp eax, edx
cmovb edx, eax
cmp dword [ebp - 0x38], 0xf
mov dword [ebp - 0x14], edx
lea edx, [ebp - 0x4c]
cmova edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x14]
add edx, esi
sub edi, eax
add eax, edx
mov ecx, edi
sub ecx, esi
inc ecx
push ecx
push eax
push edx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov dword [ebp - 0x3c], edi
cmp byte [0x10342d59], 0
je 0x10101c49
cmp dword [ebp - 0x38], 0xf
lea ecx, [ebp - 0x4c]
cmova ecx, dword [ebp - 0x4c]
cmp edi, 7
jne 0x10101c49
mov edx, str.unknown
sub edi, 4
jb 0x10101b94
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10101b99
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10101b83
cmp edi, 0xfffffffc
je 0x10101bcd
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10101bc6
cmp edi, 0xfffffffd
je 0x10101bcd
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10101bc6
cmp edi, 0xfffffffe
je 0x10101bcd
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10101bc6
cmp edi, 0xffffffff
je 0x10101bcd
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x10101bcd
sbb eax, eax
or eax, 1
jmp 0x10101bcf
xor eax, eax
test eax, eax
jne 0x10101c49
movsx eax, word [ebx + 0xc]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], eax
sub esp, 8
mov eax, esp
mov dword [ebp - 0x1c], 0x10000000
mov byte [ebp - 4], 0
push 5
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x64]
push str.:x
mov dword [eax], 1
call fcn.100c8080
mov ecx, dword [ebp - 0x38]
add esp, 0x10
cmp ecx, 0xf
jbe 0x10101c3e
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10101c34
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10101c34
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10160098
add esp, 8
movups xmm1, xmmword [ebp - 0x64]
movq xmm2, qword [ebp - 0x54]
jmp 0x10101c52
movq xmm2, qword [ebp - 0x3c]
movups xmm1, xmmword [ebp - 0x4c]
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmmword [eax], xmm1
movq qword [eax + 0x10], xmm2
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8