Function at 0x1a001df0
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 - 0x154], eax
lea eax, [ebp - 0x14c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test esi, esi
je 0x1a002084
mov ecx, dword [esi + 4]
mov eax, ecx
mov edi, dword [esi]
mov ebx, edi
shr ebx, 0x10
shr eax, 0x10
mov dword [ebp - 0x150], ecx
cmp bl, al
jne 0x1a001e52
movzx ecx, cx
mov dword [ebp - 0x150], ecx
push 0x80
lea eax, [ebp - 0x84]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test edi, edi
je 0x1a002084
movzx esi, di
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
test bl, 2
je 0x1a001e91
push 0x1a01d760
lea eax, [ebp - 0x14c]
push 0x64
push eax
call edi
add esp, 0xc
test bl, 4
je 0x1a001ea9
push str.Alt
lea eax, [ebp - 0x14c]
push 0x64
push eax
call edi
add esp, 0xc
test bl, 1
je 0x1a001ec1
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 0x1a001eff
cmp esi, 0x2e
je 0x1a001eff
cmp esi, 0x24
je 0x1a001eff
cmp esi, 0x23
je 0x1a001eff
cmp esi, 0x21
je 0x1a001eff
cmp esi, 0x22
je 0x1a001eff
cmp esi, 0x25
je 0x1a001eff
cmp esi, 0x27
je 0x1a001eff
cmp esi, 0x26
je 0x1a001eff
cmp esi, 0x28
jne 0x1a001f04
or eax, 0x1000000
test eax, eax
je 0x1a002084
push 0x40
lea ecx, [ebp - 0x84]
push ecx
push eax
call sym.HncIMM.dll_HncGetKeyNameText
test eax, eax
je 0x1a002084
cmp word [ebp - 0x84], 0
je 0x1a002084
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 - 0x154]
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 - 0x150]
add esp, 0x24
test eax, eax
je 0x1a00206c
mov ebx, eax
movzx esi, ax
shr ebx, 0x10
xor eax, eax
mov word [ebp - 0x14c], ax
test bl, 2
je 0x1a001fa6
push 0x1a01d760
lea eax, [ebp - 0x14c]
push 0x64
push eax
call edi
add esp, 0xc
test bl, 4
je 0x1a001fbe
push str.Alt
lea eax, [ebp - 0x14c]
push 0x64
push eax
call edi
add esp, 0xc
test bl, 1
je 0x1a001fd6
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 0x1a002014
cmp esi, 0x2e
je 0x1a002014
cmp esi, 0x24
je 0x1a002014
cmp esi, 0x23
je 0x1a002014
cmp esi, 0x21
je 0x1a002014
cmp esi, 0x22
je 0x1a002014
cmp esi, 0x25
je 0x1a002014
cmp esi, 0x27
je 0x1a002014
cmp esi, 0x26
je 0x1a002014
cmp esi, 0x28
jne 0x1a002019
or eax, 0x1000000
test eax, eax
je 0x1a00206c
push 0x40
lea ecx, [ebp - 0x84]
push ecx
push eax
call sym.HncIMM.dll_HncGetKeyNameText
test eax, eax
je 0x1a00206c
cmp word [ebp - 0x84], 0
je 0x1a00206c
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 - 0x154]
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