Function at 0x1a001b60
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
mov eax, dword [0x1a02400c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0xc8
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x14c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 4]
mov edi, dword [esi]
push 0x80
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x84]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
test edi, edi
je 0x1a001dd7
mov ebx, edi
movzx esi, di
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
shr ebx, 0x10
test bl, 2
je 0x1a001be4
push 0x1a01d760
lea eax, [ebp - 0x14c]
push 0x64
push eax
call edi
add esp, 0xc
test bl, 4
je 0x1a001bfc
push str.Alt
lea eax, [ebp - 0x14c]
push 0x64
push eax
call edi
add esp, 0xc
test bl, 1
je 0x1a001c14
push str.Shift
lea eax, [ebp - 0x14c]
push 0x64
push eax
call edi
add esp, 0xc
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
shl eax, 0x10
cmp esi, 0x2d
je 0x1a001c52
cmp esi, 0x2e
je 0x1a001c52
cmp esi, 0x24
je 0x1a001c52
cmp esi, 0x23
je 0x1a001c52
cmp esi, 0x21
je 0x1a001c52
cmp esi, 0x22
je 0x1a001c52
cmp esi, 0x25
je 0x1a001c52
cmp esi, 0x27
je 0x1a001c52
cmp esi, 0x26
je 0x1a001c52
cmp esi, 0x28
jne 0x1a001c57
or eax, 0x1000000
test eax, eax
je 0x1a001dd7
push 0x40
lea ecx, [ebp - 0x84]
push ecx
push eax
call sym.HncIMM.dll_HncGetKeyNameText
test eax, eax
je 0x1a001dd7
cmp word [ebp - 0x84], 0
je 0x1a001dd7
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x14c]
push 0x64
push eax
call edi
lea eax, [ebp - 0x14c]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x150]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
push 0x80
lea eax, [ebp - 0x84]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x154]
add esp, 0x24
test eax, eax
je 0x1a001dbf
mov ebx, eax
movzx esi, ax
shr ebx, 0x10
xor eax, eax
mov word [ebp - 0x14c], ax
test bl, 2
je 0x1a001cf9
push 0x1a01d760
lea eax, [ebp - 0x14c]
push 0x64
push eax
call edi
add esp, 0xc
test bl, 4
je 0x1a001d11
push str.Alt
lea eax, [ebp - 0x14c]
push 0x64
push eax
call edi
add esp, 0xc
test bl, 1
je 0x1a001d29
push str.Shift
lea eax, [ebp - 0x14c]
push 0x64
push eax
call edi
add esp, 0xc
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
shl eax, 0x10
cmp esi, 0x2d
je 0x1a001d67
cmp esi, 0x2e
je 0x1a001d67
cmp esi, 0x24
je 0x1a001d67
cmp esi, 0x23
je 0x1a001d67
cmp esi, 0x21
je 0x1a001d67
cmp esi, 0x22
je 0x1a001d67
cmp esi, 0x25
je 0x1a001d67
cmp esi, 0x27
je 0x1a001d67
cmp esi, 0x26
je 0x1a001d67
cmp esi, 0x28
jne 0x1a001d6c
or eax, 0x1000000
test eax, eax
je 0x1a001dbf
push 0x40
lea ecx, [ebp - 0x84]
push ecx
push eax
call sym.HncIMM.dll_HncGetKeyNameText
test eax, eax
je 0x1a001dbf
cmp word [ebp - 0x84], 0
je 0x1a001dbf
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x14c]
push 0x64
push eax
call edi
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x150]
push 0x1a01d788
push esi
push ebx
call edi
lea eax, [ebp - 0x14c]
push eax
push esi
push ebx
call edi
add esp, 0x24
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1a01aaa5
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1a01aaa5
mov esp, ebp
pop ebp
ret 0xc