Function at 0x140074ef0
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.140018c00
mov r8d, dword [rsp + 0x40]
lea eax, [r8 - 0xfe50]
cmp eax, 0x10
ja 0x140074f76
mov dword [0x1401f32e4], r8d
lea r8, str.__DEAD_KEY
mov edx, 8
lea rcx, vtable.VNCLog.0
call fcn.140018c00
jmp 0x140075e59
lea eax, [r8 - 0x20]
cmp eax, 0x5e
jbe 0x1400752ed
lea eax, [r8 - 0xa0]
cmp eax, 0x5f
jbe 0x1400752ed
mov rdx, qword [0x1401fdfb0]
mov rax, qword [rdx + 8]
mov rcx, rdx
cmp byte [rax + 0x19], 0
jne 0x140074fbf
cmp dword [rax + 0x1c], r8d
jae 0x140074fb3
mov rax, qword [rax + 0x10]
jmp 0x140074fb9
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140074fa7
cmp byte [rcx + 0x19], 0
jne 0x140075256
cmp r8d, dword [rcx + 0x1c]
jb 0x140075256
cmp rcx, rdx
je 0x140075256
lea rdx, [rsp + 0x40]
lea rcx, [0x1401fdfb0]
call fcn.1400762b0
movzx r15d, byte [rax]
lea rdx, [rsp + 0x40]
lea rcx, [0x1401fdfc0]
call fcn.140076170
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 0x140075238
cmp r15b, 0x2e
jne 0x1400750db
lea ecx, [rbx + 0x11]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140075238
lea ecx, [rbx + 0x12]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140075238
lea r8, str.CAD_n
lea edx, [rbx + 9]
lea rcx, vtable.VNCLog.0
call fcn.140018c00
mov rax, qword [0x1401fdf80]
lea edx, [rbx + 9]
lea rcx, vtable.VNCLog.0
cmp dword [rax + 0xe20], ebx
je 0x1400750b8
lea r8, str.Vista_and_runnning_as_system____CAD_n
call fcn.140018c00
lea rax, [rbp - 0x69]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, [0x140018ed0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140075e59
lea r8, str.Vista_and_runnning_as_user____Taskmgr_n
call fcn.140018c00
mov edx, 1
lea rcx, str.taskmgr.exe
call qword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x140075e59
cmp r15b, 0x15
jne 0x140075238
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 0x140075e59
mov rcx, rdi
call qword [sym.imp.IMM32.dll_ImmGetDefaultIMEWnd]
mov rbx, rax
cmp rsi, 1
jne 0x14007519b
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 0x1400751fd
test rsi, rsi
jne 0x140075211
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 0x140075131
jmp 0x140075e59
mov ecx, r15d
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
mov r8d, esi
movzx ecx, r15b
call fcn.14002fc90
jmp 0x140075e59
cmp byte [rbp + 0x7f], 0
je 0x140075e59
cmp r8d, 0xffe5
je 0x140075e59
lea rdx, [0x1401c7258]
lea rcx, [rbp - 9]
call fcn.1400763f0
lea r9, [rbp - 9]
lea r8, str.trying_unicode_input_key___s__n
mov edx, 9
lea rcx, vtable.VNCLog.0
call fcn.140018c00
mov dword [rbp - 0x31], 1
xor ebx, ebx
lea rcx, [rbp - 9]
mov word [rbp - 0x29], bx
call fcn.140144ee0
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 0x1400752da
mov qword [rbp - 0x25], 4
call qword [sym.imp.USER32.dll_SendInput]
jmp 0x140075e59
mov qword [rbp - 0x25], 6
call qword [sym.imp.USER32.dll_SendInput]
jmp 0x140075e59
xor ebx, ebx
mov r15d, 0xe2
lea r12d, [r15 - 6]
mov r9d, dword [0x1401f32e4]
test r9d, r9d
je 0x1400756df
test r14b, r14b
je 0x1400756df
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.140018c00
mov eax, dword [0x1401f32e4]
add eax, 0xffff01b0
cmp eax, 0xb
ja case.0x140075352.65108
lea rdx, [0x140000000]
mov eax, dword [rdx + rax*4 + 0x75e80]
add rax, rdx
jmp rax
mov r9d, dword [rsp + 0x40]
lea eax, [r9 - 0x41]
cmp eax, 0x34
ja case.0x140075378.75
movzx eax, byte [rdx + rax + 0x75edc]
mov ecx, dword [rdx + rax*4 + 0x75eb0]
add rcx, rdx
jmp rcx
mov r9d, 0xc0
mov dword [rsp + 0x40], r9d
jmp case.0x140075378.75
mov r9d, 0xc8
mov dword [rsp + 0x40], r9d
jmp case.0x140075378.75
mov r9d, 0xcc
mov dword [rsp + 0x40], r9d
jmp case.0x140075378.75
mov r9d, 0xd2
mov dword [rsp + 0x40], r9d
jmp case.0x140075378.75
mov r9d, 0xd9
mov dword [rsp + 0x40], r9d
jmp case.0x140075378.75
mov r9d, 0xe0
mov dword [rsp + 0x40], r9d
jmp case.0x140075378.75
mov r9d, 0xe8
mov dword [rsp + 0x40], r9d
jmp case.0x140075378.75
mov r9d, 0xec
mov dword [rsp + 0x40], r9d
jmp case.0x140075378.75
mov r9d, 0xf2
mov dword [rsp + 0x40], r9d
jmp case.0x140075378.75
mov r9d, 0xf9
mov dword [rsp + 0x40], r9d
jmp case.0x140075378.75
mov r9d, dword [rsp + 0x40]
lea eax, [r9 - 0x41]
cmp eax, 0x38
ja case.0x140075420.77
movzx eax, byte [rdx + rax + 0x75f48]
mov ecx, dword [rdx + rax*4 + 0x75f14]
add rcx, rdx
jmp rcx
mov r9d, 0xc1
mov dword [rsp + 0x40], r9d
jmp case.0x140075420.77
mov r9d, 0xc9
mov dword [rsp + 0x40], r9d
jmp case.0x140075420.77
mov r9d, 0xcd
mov dword [rsp + 0x40], r9d
jmp case.0x140075420.77
mov r9d, 0xd3
mov dword [rsp + 0x40], r9d
jmp case.0x140075420.77
mov r9d, 0xda
mov dword [rsp + 0x40], r9d
jmp case.0x140075420.77
mov r9d, 0xe1
mov dword [rsp + 0x40], r9d
jmp case.0x140075420.77
mov r9d, 0xe9
mov dword [rsp + 0x40], r9d
jmp case.0x140075420.77
mov r9d, 0xed
mov dword [rsp + 0x40], r9d
jmp case.0x140075420.77
mov r9d, 0xf3
mov dword [rsp + 0x40], r9d
jmp case.0x140075420.77
mov r9d, 0xfa
mov dword [rsp + 0x40], r9d
jmp case.0x140075420.77
mov r9d, 0xfd
mov dword [rsp + 0x40], r9d
jmp case.0x140075420.77
mov r9d, 0xdd
mov dword [rsp + 0x40], r9d
jmp case.0x140075420.77
mov r9d, dword [rsp + 0x40]
lea eax, [r9 - 0x41]
cmp eax, 0x34
ja case.0x1400754e8.75
movzx eax, byte [rdx + rax + 0x75fb0]
mov ecx, dword [rdx + rax*4 + 0x75f84]
add rcx, rdx
jmp rcx
mov r9d, 0xc2
mov dword [rsp + 0x40], r9d
jmp case.0x1400754e8.75
mov r9d, 0xca
mov dword [rsp + 0x40], r9d
jmp case.0x1400754e8.75
mov r9d, 0xce
mov dword [rsp + 0x40], r9d
jmp case.0x1400754e8.75
mov r9d, 0xd4
mov dword [rsp + 0x40], r9d
jmp case.0x1400754e8.75
mov r9d, 0xdb
mov dword [rsp + 0x40], r9d
jmp case.0x1400754e8.75
mov r9d, r15d
mov dword [rsp + 0x40], r15d
jmp case.0x1400754e8.75
mov r9d, 0xea
mov dword [rsp + 0x40], r9d
jmp case.0x1400754e8.75
mov r9d, 0xee
mov dword [rsp + 0x40], r9d
jmp case.0x1400754e8.75
mov r9d, 0xf4
mov dword [rsp + 0x40], r9d
jmp case.0x1400754e8.75
mov r9d, 0xfb
mov dword [rsp + 0x40], r9d
jmp case.0x1400754e8.75
mov r9d, dword [rsp + 0x40]
mov eax, r9d
sub eax, 0x41
je 0x1400755be
sub eax, 0xe
je 0x1400755b1
sub eax, 0x12
je 0x1400755a4
sub eax, 0xd
je 0x140075597
cmp eax, 1
jne 0x1400755d0
mov r9d, 0xf5
mov dword [rsp + 0x40], r9d
jmp 0x1400755d0
mov r9d, 0xf1
mov dword [rsp + 0x40], r9d
jmp 0x1400755d0
mov r9d, 0xe3
mov dword [rsp + 0x40], r9d
jmp 0x1400755d0
mov r9d, 0xd5
mov dword [rsp + 0x40], r9d
jmp 0x1400755d0
mov r9d, 0xd1
mov dword [rsp + 0x40], r9d
jmp 0x1400755d0
mov r9d, dword [rsp + 0x40]
lea eax, [r9 - 0x41]
cmp eax, 0x38
ja case.0x1400755ef.76
movzx eax, byte [rdx + rax + 0x76018]
mov ecx, dword [rdx + rax*4 + 0x75fe8]
add rcx, rdx
jmp rcx
mov r9d, 0xc4
mov dword [rsp + 0x40], r9d
jmp 0x1400756bc
mov r9d, 0xcb
mov dword [rsp + 0x40], r9d
jmp 0x1400756bc
mov r9d, 0xcf
mov dword [rsp + 0x40], r9d
jmp 0x1400756bc
mov r9d, 0xd6
mov dword [rsp + 0x40], r9d
jmp 0x1400756bc
mov r9d, r12d
mov dword [rsp + 0x40], r12d
jmp 0x1400756bc
mov r9d, 0xe4
mov dword [rsp + 0x40], r9d
jmp 0x1400756bc
mov r9d, 0xeb
mov dword [rsp + 0x40], r9d
jmp 0x1400756bc
mov r9d, 0xef
mov dword [rsp + 0x40], r9d
jmp 0x1400756bc
mov r9d, 0xf6
mov dword [rsp + 0x40], r9d
jmp 0x1400756bc
mov r9d, 0xfc
mov dword [rsp + 0x40], r9d
jmp 0x1400756bc
mov r9d, 0xff
mov dword [rsp + 0x40], r9d
jmp 0x1400756bc
mov r9d, dword [rsp + 0x40]
cmp r9d, 0x43
je 0x1400756aa
cmp r9d, 0x63
jne 0x1400756bc
mov r9d, 0xe7
mov dword [rsp + 0x40], r9d
jmp 0x1400756bc
mov r9d, 0xc7
mov dword [rsp + 0x40], r9d
jmp 0x1400756bc
mov r9d, dword [rsp + 0x40]
mov dword [0x1401f32e4], ebx
lea r8, str._Composed_0x_x
mov edx, 8
lea rcx, vtable.VNCLog.0
call fcn.140018c00
mov r8d, dword [rsp + 0x40]
movzx ecx, r8b
call qword [sym.imp.USER32.dll_VkKeyScanA]
movsx esi, ax
test dil, dil
je 0x1400758c6
mov eax, dword [rsp + 0x40]
cmp eax, 0x4a6
jne 0x14007570a
mov esi, pe_nt_image_headers64
mov r9d, esi
jmp 0x14007571a
cmp eax, 0x5c
jne 0x1400758b3
movzx esi, r15w
mov r9d, r15d
lea r8, str._SHORT_s__i
mov edx, 8
lea rcx, vtable.VNCLog.0
call fcn.140018c00
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 0x140075cce
test r15b, 2
je 0x140075803
mov ecx, setsockopt
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x140075803
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.14002fc90
mov r9d, setsockopt
lea r8, str.fake__d_down_n
lea edx, [r9 - 8]
lea rcx, vtable.VNCLog.0
call fcn.140018c00
mov byte [rbp - 0x71], 1
test r15b, 4
je 0x140075853
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x140075853
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.14002fc90
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.140018c00
mov byte [rbp - 0x49], 1
test r15b, 1
je 0x140075c21
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x140075cce
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.14002fc90
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.140018c00
mov r12b, 1
mov byte [rbp - 0x39], r12b
jmp 0x140075cce
cmp eax, 0xa5
jne 0x1400758c6
movzx esi, r12w
mov r9d, r12d
jmp 0x14007571a
mov r9d, esi
lea r8, str._SHORT_s__i
mov edx, 8
lea rcx, vtable.VNCLog.0
call fcn.140018c00
cmp si, 0xffff
jne 0x140075732
test r14b, r14b
je 0x140075e59
lea r8, str.down
mov edx, 8
lea rcx, vtable.VNCLog.0
call fcn.140018c00
lea r8, str._Found_key
mov edx, 8
lea rcx, vtable.VNCLog.0
call fcn.140018c00
mov r14d, dword [rsp + 0x40]
cmp r14d, 0xff
jg 0x140075c01
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 0x1400759f4
xor edx, edx
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
mov r8d, 2
mov cl, 0xa0
call fcn.14002fc90
mov r9d, 0xa0
lea r8, str.fake__d_up_n
mov edx, 9
lea rcx, vtable.VNCLog.0
call fcn.140018c00
mov r13b, 1
mov byte [rbp - 0x70], r13b
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140075a44
xor edx, edx
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
mov r8d, 2
mov cl, 0xa1
call fcn.14002fc90
mov r9d, 0xa1
lea r8, str.fake__d_up_n
mov edx, 9
lea rcx, vtable.VNCLog.0
call fcn.140018c00
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.140018c00
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.14002fc90
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.14002fc90
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.14002fc90
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.14002fc90
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.14002fc90
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.14002fc90
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.14002fc90
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.14002fc90
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.14002fc90
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.14002fc90
nop
cmp byte [rbp - 0x80], 0
je 0x140075bbf
xor edx, edx
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
xor r8d, r8d
mov cl, 0xa1
call fcn.14002fc90
mov r9d, 0xa1
lea r8, str.fake__d_down_n
mov edx, 9
lea rcx, vtable.VNCLog.0
call fcn.140018c00
nop
test r13b, r13b
je 0x140075bfc
xor edx, edx
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
xor r8d, r8d
mov cl, 0xa0
call fcn.14002fc90
mov r9d, 0xa0
lea r8, str.fake__d_down_n
mov edx, 9
lea rcx, vtable.VNCLog.0
call fcn.140018c00
nop
jmp 0x140075e59
mov r9d, r14d
lea r8, str.ignoring_unrecognised_Latin_1_keysym_0x_x
mov edx, 8
lea rcx, vtable.VNCLog.0
call fcn.140018c00
jmp 0x140075e59
cmp sil, 0x20
je 0x140075cce
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140075c7e
xor edx, edx
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
mov r8d, 2
mov cl, 0xa0
call fcn.14002fc90
mov r9d, 0xa0
lea r8, str.fake__d_up_n
mov edx, 9
lea rcx, vtable.VNCLog.0
call fcn.140018c00
mov r13b, 1
mov byte [rbp - 0x58], r13b
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140075cce
xor edx, edx
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
mov r8d, 2
mov cl, 0xa1
call fcn.14002fc90
mov r9d, 0xa1
lea r8, str.fake__d_up_n
mov edx, 9
lea rcx, vtable.VNCLog.0
call fcn.140018c00
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.140018c00
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.14002fc90
nop
cmp byte [rbp - 0x80], 0
je 0x140075d63
xor edx, edx
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
xor r8d, r8d
mov cl, 0xa1
call fcn.14002fc90
mov r9d, 0xa1
lea r8, str.fake__d_down_n
mov edx, 9
lea rcx, vtable.VNCLog.0
call fcn.140018c00
nop
test r13b, r13b
je 0x140075da0
xor edx, edx
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edx, eax
xor r8d, r8d
mov cl, 0xa0
call fcn.14002fc90
mov r9d, 0xa0
lea r8, str.fake__d_down_n
mov edx, 9
lea rcx, vtable.VNCLog.0
call fcn.140018c00
nop
test r12b, r12b
je 0x140075ddd
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.14002fc90
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.140018c00
nop
cmp byte [rbp - 0x49], 0
je 0x140075e1b
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.14002fc90
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.140018c00
nop
cmp byte [rbp - 0x71], 0
je 0x140075e59
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.14002fc90
mov r9d, setsockopt
lea r8, str.fake__d_up_n
lea edx, [r9 - 8]
lea rcx, vtable.VNCLog.0
call fcn.140018c00
nop
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140132620
mov rbx, qword [rsp + 0x130]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret