Function at 0x140074870
Capabilities:
Create process on windows
Create thread
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xf0
mov rax, qword [0x1401ef010]
xor rax, rsp
mov qword [rbp + 0x17], rax
movzx edi, r9b
movzx r14d, r8b
mov dword [rsp + 0x40], edx
mov r9d, edx
lea r8, str._keysym_0x_x
mov edx, 8
lea rcx, vtable.VNCLog.0
call fcn.140017a50
mov r8d, dword [rsp + 0x40]
lea eax, [r8 - 0xfe50]
cmp eax, 0x10
ja 0x1400748f6
mov dword [0x1401f32c4], r8d
lea r8, str.__DEAD_KEY
mov edx, 8
lea rcx, vtable.VNCLog.0
call fcn.140017a50
jmp 0x1400757d9
lea eax, [r8 - 0x20]
cmp eax, 0x5e
jbe 0x140074c6d
lea eax, [r8 - 0xa0]
cmp eax, 0x5f
jbe 0x140074c6d
mov rdx, qword [0x1401fdf88]
mov rax, qword [rdx + 8]
mov rcx, rdx
cmp byte [rax + 0x19], 0
jne 0x14007493f
cmp dword [rax + 0x1c], r8d
jae 0x140074933
mov rax, qword [rax + 0x10]
jmp 0x140074939
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140074927
cmp byte [rcx + 0x19], 0
jne 0x140074bd6
cmp r8d, dword [rcx + 0x1c]
jb 0x140074bd6
cmp rcx, rdx
je 0x140074bd6
lea rdx, [rsp + 0x40]
lea rcx, [0x1401fdf88]
call fcn.140075c30
movzx r15d, byte [rax]
lea rdx, [rsp + 0x40]
lea rcx, [0x1401fdf98]
call fcn.140075af0
xor ebx, ebx
mov ecx, ebx
cmp byte [rax], bl
setne cl
mov esi, ecx
or esi, 2
test r14b, r14b
cmovne esi, ecx
je 0x140074bb8
cmp r15b, 0x2e
jne 0x140074a5b
lea ecx, [rbx + 0x11]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140074bb8
lea ecx, [rbx + 0x12]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140074bb8
lea r8, str.CAD_n
lea edx, [rbx + 9]
lea rcx, vtable.VNCLog.0
call fcn.140017a50
mov rax, qword [0x1401fdf60]
lea edx, [rbx + 9]
lea rcx, vtable.VNCLog.0
cmp dword [rax + 0xe20], ebx
je 0x140074a38
lea r8, str.Vista_and_runnning_as_system____CAD_n
call fcn.140017a50
lea rax, [rbp - 0x69]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, [0x140017d20]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400757d9
lea r8, str.Vista_and_runnning_as_user____Taskmgr_n
call fcn.140017a50
mov edx, 1
lea rcx, str.taskmgr.exe
call qword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x1400757d9
cmp r15b, 0x15
jne 0x140074bb8
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
mov rcx, rax
call qword [sym.imp.IMM32.dll_ImmGetDefaultIMEWnd]
xor r9d, r9d
mov edx, 0x283
lea r8d, [r9 + 5]
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageA]
mov rsi, rax
mov edx, 5
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindow]
mov rdi, rax
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400757d9
mov rcx, rdi
call qword [sym.imp.IMM32.dll_ImmGetDefaultIMEWnd]
mov rbx, rax
cmp rsi, 1
jne 0x140074b1b
xor r9d, r9d
mov edx, 0x283
lea r8d, [rsi + 1]
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageA]
xor r9d, r9d
mov edx, 0x283
mov r8, rsi
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
xor r9d, r9d
mov edx, 0x283
lea r8d, [rsi + 2]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
xor r9d, r9d
mov edx, 0x283
lea r8d, [rsi + 3]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
xor r9d, r9d
jmp 0x140074b7d
test rsi, rsi
jne 0x140074b91
mov edx, 0x283
lea r9d, [rsi + 1]
lea r8d, [rsi + 2]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
mov edx, 0x283
mov r9d, 1
mov r8d, r9d
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
mov edx, 0x283
lea r9d, [rsi + 1]
lea r8d, [rsi + 3]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
mov edx, 0x283
lea r9d, [rsi + 1]
lea r8d, [rsi + 4]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
lea r9d, [rsi + 1]
mov r8d, 6
mov edx, 0x283
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
mov edx, 2
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindow]
mov rdi, rax
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x140074ab1
jmp 0x1400757d9
mov ecx, r15d
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
mov r8d, esi
movzx ecx, r15b
call fcn.14002f680
jmp 0x1400757d9
cmp byte [rbp + 0x7f], 0
je 0x1400757d9
cmp r8d, 0xffe5
je 0x1400757d9
lea rdx, [0x1401c7208]
lea rcx, [rbp - 9]
call fcn.140075d70
lea r9, [rbp - 9]
lea r8, str.trying_unicode_input_key___s__n
mov edx, 9
lea rcx, vtable.VNCLog.0
call fcn.140017a50
mov dword [rbp - 0x31], 1
xor ebx, ebx
lea rcx, [rbp - 9]
mov word [rbp - 0x29], bx
call fcn.140143ba0
mov word [rbp - 0x27], ax
mov qword [rbp - 0x19], rbx
lea r8d, [rbx + 0x28]
lea rdx, [rbp - 0x31]
lea ecx, [rbx + 1]
test r14b, r14b
je 0x140074c5a
mov qword [rbp - 0x25], 4
call qword [sym.imp.USER32.dll_SendInput]
jmp 0x1400757d9
mov qword [rbp - 0x25], 6
call qword [sym.imp.USER32.dll_SendInput]
jmp 0x1400757d9
xor ebx, ebx
mov r15d, 0xe2
lea r12d, [r15 - 6]
mov r9d, dword [0x1401f32c4]
test r9d, r9d
je 0x14007505f
test r14b, r14b
je 0x14007505f
mov dword [rsp + 0x20], r8d
lea r8, str._Compose_dead_0x_x_0x_x
lea edx, [rbx + 8]
lea rcx, vtable.VNCLog.0
call fcn.140017a50
mov eax, dword [0x1401f32c4]
add eax, 0xffff01b0
cmp eax, 0xb
ja case.0x140074cd2.65108
lea rdx, [0x140000000]
mov eax, dword [rdx + rax*4 + 0x75800]
add rax, rdx
jmp rax
mov r9d, dword [rsp + 0x40]
lea eax, [r9 - 0x41]
cmp eax, 0x34
ja case.0x140074cf8.75
movzx eax, byte [rdx + rax + 0x7585c]
mov ecx, dword [rdx + rax*4 + 0x75830]
add rcx, rdx
jmp rcx
mov r9d, 0xc0
mov dword [rsp + 0x40], r9d
jmp case.0x140074cf8.75
mov r9d, 0xc8
mov dword [rsp + 0x40], r9d
jmp case.0x140074cf8.75
mov r9d, 0xcc
mov dword [rsp + 0x40], r9d
jmp case.0x140074cf8.75
mov r9d, 0xd2
mov dword [rsp + 0x40], r9d
jmp case.0x140074cf8.75
mov r9d, 0xd9
mov dword [rsp + 0x40], r9d
jmp case.0x140074cf8.75
mov r9d, 0xe0
mov dword [rsp + 0x40], r9d
jmp case.0x140074cf8.75
mov r9d, 0xe8
mov dword [rsp + 0x40], r9d
jmp case.0x140074cf8.75
mov r9d, 0xec
mov dword [rsp + 0x40], r9d
jmp case.0x140074cf8.75
mov r9d, 0xf2
mov dword [rsp + 0x40], r9d
jmp case.0x140074cf8.75
mov r9d, 0xf9
mov dword [rsp + 0x40], r9d
jmp case.0x140074cf8.75
mov r9d, dword [rsp + 0x40]
lea eax, [r9 - 0x41]
cmp eax, 0x38
ja case.0x140074da0.77
movzx eax, byte [rdx + rax + 0x758c8]
mov ecx, dword [rdx + rax*4 + 0x75894]
add rcx, rdx
jmp rcx
mov r9d, 0xc1
mov dword [rsp + 0x40], r9d
jmp case.0x140074da0.77
mov r9d, 0xc9
mov dword [rsp + 0x40], r9d
jmp case.0x140074da0.77
mov r9d, 0xcd
mov dword [rsp + 0x40], r9d
jmp case.0x140074da0.77
mov r9d, 0xd3
mov dword [rsp + 0x40], r9d
jmp case.0x140074da0.77
mov r9d, 0xda
mov dword [rsp + 0x40], r9d
jmp case.0x140074da0.77
mov r9d, 0xe1
mov dword [rsp + 0x40], r9d
jmp case.0x140074da0.77
mov r9d, 0xe9
mov dword [rsp + 0x40], r9d
jmp case.0x140074da0.77
mov r9d, 0xed
mov dword [rsp + 0x40], r9d
jmp case.0x140074da0.77
mov r9d, 0xf3
mov dword [rsp + 0x40], r9d
jmp case.0x140074da0.77
mov r9d, 0xfa
mov dword [rsp + 0x40], r9d
jmp case.0x140074da0.77
mov r9d, 0xfd
mov dword [rsp + 0x40], r9d
jmp case.0x140074da0.77
mov r9d, 0xdd
mov dword [rsp + 0x40], r9d
jmp case.0x140074da0.77
mov r9d, dword [rsp + 0x40]
lea eax, [r9 - 0x41]
cmp eax, 0x34
ja case.0x140074e68.75
movzx eax, byte [rdx + rax + 0x75930]
mov ecx, dword [rdx + rax*4 + 0x75904]
add rcx, rdx
jmp rcx
mov r9d, 0xc2
mov dword [rsp + 0x40], r9d
jmp case.0x140074e68.75
mov r9d, 0xca
mov dword [rsp + 0x40], r9d
jmp case.0x140074e68.75
mov r9d, 0xce
mov dword [rsp + 0x40], r9d
jmp case.0x140074e68.75
mov r9d, 0xd4
mov dword [rsp + 0x40], r9d
jmp case.0x140074e68.75
mov r9d, 0xdb
mov dword [rsp + 0x40], r9d
jmp case.0x140074e68.75
mov r9d, r15d
mov dword [rsp + 0x40], r15d
jmp case.0x140074e68.75
mov r9d, 0xea
mov dword [rsp + 0x40], r9d
jmp case.0x140074e68.75
mov r9d, 0xee
mov dword [rsp + 0x40], r9d
jmp case.0x140074e68.75
mov r9d, 0xf4
mov dword [rsp + 0x40], r9d
jmp case.0x140074e68.75
mov r9d, 0xfb
mov dword [rsp + 0x40], r9d
jmp case.0x140074e68.75
mov r9d, dword [rsp + 0x40]
mov eax, r9d
sub eax, 0x41
je 0x140074f3e
sub eax, 0xe
je 0x140074f31
sub eax, 0x12
je 0x140074f24
sub eax, 0xd
je 0x140074f17
cmp eax, 1
jne 0x140074f50
mov r9d, 0xf5
mov dword [rsp + 0x40], r9d
jmp 0x140074f50
mov r9d, 0xf1
mov dword [rsp + 0x40], r9d
jmp 0x140074f50
mov r9d, 0xe3
mov dword [rsp + 0x40], r9d
jmp 0x140074f50
mov r9d, 0xd5
mov dword [rsp + 0x40], r9d
jmp 0x140074f50
mov r9d, 0xd1
mov dword [rsp + 0x40], r9d
jmp 0x140074f50
mov r9d, dword [rsp + 0x40]
lea eax, [r9 - 0x41]
cmp eax, 0x38
ja case.0x140074f6f.76
movzx eax, byte [rdx + rax + 0x75998]
mov ecx, dword [rdx + rax*4 + 0x75968]
add rcx, rdx
jmp rcx
mov r9d, 0xc4
mov dword [rsp + 0x40], r9d
jmp 0x14007503c
mov r9d, 0xcb
mov dword [rsp + 0x40], r9d
jmp 0x14007503c
mov r9d, 0xcf
mov dword [rsp + 0x40], r9d
jmp 0x14007503c
mov r9d, 0xd6
mov dword [rsp + 0x40], r9d
jmp 0x14007503c
mov r9d, r12d
mov dword [rsp + 0x40], r12d
jmp 0x14007503c
mov r9d, 0xe4
mov dword [rsp + 0x40], r9d
jmp 0x14007503c
mov r9d, 0xeb
mov dword [rsp + 0x40], r9d
jmp 0x14007503c
mov r9d, 0xef
mov dword [rsp + 0x40], r9d
jmp 0x14007503c
mov r9d, 0xf6
mov dword [rsp + 0x40], r9d
jmp 0x14007503c
mov r9d, 0xfc
mov dword [rsp + 0x40], r9d
jmp 0x14007503c
mov r9d, 0xff
mov dword [rsp + 0x40], r9d
jmp 0x14007503c
mov r9d, dword [rsp + 0x40]
cmp r9d, 0x43
je 0x14007502a
cmp r9d, 0x63
jne 0x14007503c
mov r9d, 0xe7
mov dword [rsp + 0x40], r9d
jmp 0x14007503c
mov r9d, 0xc7
mov dword [rsp + 0x40], r9d
jmp 0x14007503c
mov r9d, dword [rsp + 0x40]
mov dword [0x1401f32c4], ebx
lea r8, str._Composed_0x_x
mov edx, 8
lea rcx, vtable.VNCLog.0
call fcn.140017a50
mov r8d, dword [rsp + 0x40]
movzx ecx, r8b
call qword [sym.imp.USER32.dll_VkKeyScanA]
movsx esi, ax
test dil, dil
je 0x140075246
mov eax, dword [rsp + 0x40]
cmp eax, 0x4a6
jne 0x14007508a
mov esi, 0x130
mov r9d, esi
jmp 0x14007509a
cmp eax, 0x5c
jne 0x140075233
movzx esi, r15w
mov r9d, r15d
lea r8, str._SHORT_s__i
mov edx, 8
lea rcx, vtable.VNCLog.0
call fcn.140017a50
mov ecx, setsockopt
call qword [sym.imp.USER32.dll_GetKeyState]
and eax, 1
mov dword [rbp - 0x69], eax
movsx rcx, si
shr rcx, 8
movzx edx, cl
movzx ecx, dl
xor cl, 1
movzx r15d, cl
test eax, eax
cmove r15d, edx
mov qword [rbp - 0x79], setsockopt
mov word [rbp - 0x71], bx
mov qword [rbp - 0x51], reloc.WS2_32.dll_select
mov word [rbp - 0x49], 0
mov qword [rbp - 0x41], reloc.WS2_32.dll_recv
xor r12b, r12b
mov word [rbp - 0x39], 0
mov qword [rbp - 0x61], 0xa0
mov word [rbp - 0x59], 0
xor r13b, r13b
mov qword [rsp + 0x48], 0xa1
mov word [rsp + 0x50], 0
test r14b, r14b
je 0x14007564e
test r15b, 2
je 0x140075183
mov ecx, setsockopt
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x140075183
xor edx, edx
lea ecx, [rdx + 0x11]
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
xor r8d, r8d
mov cl, select
call fcn.14002f680
mov r9d, setsockopt
lea r8, str.fake__d_down_n
lea edx, [r9 - 8]
lea rcx, vtable.VNCLog.0
call fcn.140017a50
mov byte [rbp - 0x71], 1
test r15b, 4
je 0x1400751d3
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x1400751d3
xor edx, edx
lea ecx, [rdx + 0x12]
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
xor r8d, r8d
mov cl, reloc.WS2_32.dll_select
call fcn.14002f680
mov r9d, reloc.WS2_32.dll_select
lea r8, str.fake__d_down_n
lea edx, [r9 - 9]
lea rcx, vtable.VNCLog.0
call fcn.140017a50
mov byte [rbp - 0x49], 1
test r15b, 1
je 0x1400755a1
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x14007564e
xor edx, edx
lea ecx, [rdx + 0x10]
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
xor r8d, r8d
mov cl, reloc.WS2_32.dll_recv
call fcn.14002f680
mov r9d, reloc.WS2_32.dll_recv
lea r8, str.fake__d_down_n
lea edx, [r9 - 7]
lea rcx, vtable.VNCLog.0
call fcn.140017a50
mov r12b, 1
mov byte [rbp - 0x39], r12b
jmp 0x14007564e
cmp eax, 0xa5
jne 0x140075246
movzx esi, r12w
mov r9d, r12d
jmp 0x14007509a
mov r9d, esi
lea r8, str._SHORT_s__i
mov edx, 8
lea rcx, vtable.VNCLog.0
call fcn.140017a50
cmp si, 0xffff
jne 0x1400750b2
test r14b, r14b
je 0x1400757d9
lea r8, str.down
mov edx, 8
lea rcx, vtable.VNCLog.0
call fcn.140017a50
lea r8, str._Found_key
mov edx, 8
lea rcx, vtable.VNCLog.0
call fcn.140017a50
mov r14d, dword [rsp + 0x40]
cmp r14d, 0xff
jg 0x140075581
mov eax, 0x51eb851f
imul r14d
mov r15d, edx
sar r15d, 5
mov eax, r15d
shr eax, 0x1f
add r15d, eax
imul eax, r15d, 0x64
sub r14d, eax
mov eax, 0x66666667
imul r14d
mov r12d, edx
sar r12d, 2
mov eax, r12d
shr eax, 0x1f
add r12d, eax
imul eax, r12d, 0xfffffff6
add r14d, eax
mov qword [rbp - 0x61], reloc.WS2_32.dll_recv
mov word [rbp - 0x59], bx
mov qword [rbp - 0x79], 0xa0
mov word [rbp - 0x71], 0
xor r13b, r13b
mov qword [rsp + 0x48], 0xa1
mov word [rsp + 0x50], 0
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140075374
xor edx, edx
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
mov r8d, 2
mov cl, 0xa0
call fcn.14002f680
mov r9d, 0xa0
lea r8, str.fake__d_up_n
mov edx, 9
lea rcx, vtable.VNCLog.0
call fcn.140017a50
mov r13b, 1
mov byte [rbp - 0x70], r13b
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1400753c4
xor edx, edx
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
mov r8d, 2
mov cl, 0xa1
call fcn.14002f680
mov r9d, 0xa1
lea r8, str.fake__d_up_n
mov edx, 9
lea rcx, vtable.VNCLog.0
call fcn.140017a50
mov byte [rbp - 0x80], 1
movzx esi, r14b
movzx edi, r12b
movzx ebx, r15b
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], edi
mov r9d, ebx
lea r8, str._Simulating_ALT_d_d_d_n
mov edx, 8
lea rcx, vtable.VNCLog.0
call fcn.140017a50
xor edx, edx
lea ecx, [rdx + 0x12]
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
xor r8d, r8d
mov cl, reloc.WS2_32.dll_select
call fcn.14002f680
xor edx, edx
lea ecx, [rdx + 0x60]
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
xor r8d, r8d
mov cl, 0x60
call fcn.14002f680
xor edx, edx
lea ecx, [rdx + 0x60]
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
mov r8d, 2
mov cl, 0x60
call fcn.14002f680
add r15b, 0x60
xor edx, edx
lea ecx, [rbx + 0x60]
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
xor r8d, r8d
movzx ecx, r15b
call fcn.14002f680
xor edx, edx
lea ecx, [rbx + 0x60]
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
mov r8d, 2
movzx ecx, r15b
call fcn.14002f680
add r12b, 0x60
xor edx, edx
lea ecx, [rdi + 0x60]
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
xor r8d, r8d
movzx ecx, r12b
call fcn.14002f680
xor edx, edx
lea ecx, [rdi + 0x60]
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
mov r8d, 2
movzx ecx, r12b
call fcn.14002f680
add r14b, 0x60
xor edx, edx
lea ecx, [rsi + 0x60]
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
xor r8d, r8d
movzx ecx, r14b
call fcn.14002f680
xor edx, edx
lea ecx, [rsi + 0x60]
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
mov r8d, 2
movzx ecx, r14b
call fcn.14002f680
xor edx, edx
lea ecx, [rdx + 0x12]
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
mov r8d, 2
mov cl, reloc.WS2_32.dll_select
call fcn.14002f680
nop
cmp byte [rbp - 0x80], 0
je 0x14007553f
xor edx, edx
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
xor r8d, r8d
mov cl, 0xa1
call fcn.14002f680
mov r9d, 0xa1
lea r8, str.fake__d_down_n
mov edx, 9
lea rcx, vtable.VNCLog.0
call fcn.140017a50
nop
test r13b, r13b
je 0x14007557c
xor edx, edx
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
xor r8d, r8d
mov cl, 0xa0
call fcn.14002f680
mov r9d, 0xa0
lea r8, str.fake__d_down_n
mov edx, 9
lea rcx, vtable.VNCLog.0
call fcn.140017a50
nop
jmp 0x1400757d9
mov r9d, r14d
lea r8, str.ignoring_unrecognised_Latin_1_keysym_0x_x
mov edx, 8
lea rcx, vtable.VNCLog.0
call fcn.140017a50
jmp 0x1400757d9
cmp sil, 0x20
je 0x14007564e
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1400755fe
xor edx, edx
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
mov r8d, 2
mov cl, 0xa0
call fcn.14002f680
mov r9d, 0xa0
lea r8, str.fake__d_up_n
mov edx, 9
lea rcx, vtable.VNCLog.0
call fcn.140017a50
mov r13b, 1
mov byte [rbp - 0x58], r13b
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14007564e
xor edx, edx
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
mov r8d, 2
mov cl, 0xa1
call fcn.14002f680
mov r9d, 0xa1
lea r8, str.fake__d_up_n
mov edx, 9
lea rcx, vtable.VNCLog.0
call fcn.140017a50
mov byte [rbp - 0x80], 1
movzx edi, sil
mov ecx, dword [rbp - 0x69]
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], edi
mov r9d, dword [rsp + 0x40]
mov dword [rsp + 0x20], r9d
lea r8, str.latin_1_key:_keysym__d_0x_x__vkCode_0x_x_down__d_capslockOn__d_n
mov edx, 9
lea rcx, vtable.VNCLog.0
call fcn.140017a50
mov ebx, r14d
xor ebx, 1
add ebx, ebx
xor edx, edx
mov ecx, edi
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
mov r8d, ebx
movzx ecx, sil
call fcn.14002f680
nop
cmp byte [rbp - 0x80], 0
je 0x1400756e3
xor edx, edx
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
xor r8d, r8d
mov cl, 0xa1
call fcn.14002f680
mov r9d, 0xa1
lea r8, str.fake__d_down_n
mov edx, 9
lea rcx, vtable.VNCLog.0
call fcn.140017a50
nop
test r13b, r13b
je 0x140075720
xor edx, edx
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
xor r8d, r8d
mov cl, 0xa0
call fcn.14002f680
mov r9d, 0xa0
lea r8, str.fake__d_down_n
mov edx, 9
lea rcx, vtable.VNCLog.0
call fcn.140017a50
nop
test r12b, r12b
je 0x14007575d
xor edx, edx
lea ecx, [rdx + 0x10]
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
mov r8d, 2
mov cl, reloc.WS2_32.dll_recv
call fcn.14002f680
mov r9d, reloc.WS2_32.dll_recv
lea r8, str.fake__d_up_n
lea edx, [r9 - 7]
lea rcx, vtable.VNCLog.0
call fcn.140017a50
nop
cmp byte [rbp - 0x49], 0
je 0x14007579b
xor edx, edx
lea ecx, [rdx + 0x12]
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
mov r8d, 2
mov cl, reloc.WS2_32.dll_select
call fcn.14002f680
mov r9d, reloc.WS2_32.dll_select
lea r8, str.fake__d_up_n
lea edx, [r9 - 9]
lea rcx, vtable.VNCLog.0
call fcn.140017a50
nop
cmp byte [rbp - 0x71], 0
je 0x1400757d9
xor edx, edx
lea ecx, [rdx + 0x11]
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
mov r8d, 2
mov cl, select
call fcn.14002f680
mov r9d, setsockopt
lea r8, str.fake__d_up_n
lea edx, [r9 - 8]
lea rcx, vtable.VNCLog.0
call fcn.140017a50
nop
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1401312e0
mov rbx, qword [rsp + 0x130]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret