Function at 0x14004e4b0
Capabilities:
Capture screenshot
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x14021b0e0]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rax, qword [rcx + 0xe458]
xor r14d, r14d
mov byte [rcx + 0xeab1], 0
mov rdi, rcx
mov dword [rcx + 0x898], r14d
test rax, rax
je 0x14004e66c
cmp qword [rax + 0x20], r14
je 0x14004e658
xorps xmm0, xmm0
lea r8, [rsp + 0x60]
xor eax, eax
mov edx, 0xffffffff
movups xmmword [rbp - 0x80], xmm0
xor ecx, ecx
mov dword [rbp - 0x7c], 0x9c
movups xmmword [rsp + 0x60], xmm0
mov qword [rbp - 0x10], rax
movups xmmword [rsp + 0x70], xmm0
mov dword [rbp - 8], eax
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
call qword [sym.imp.USER32.dll_EnumDisplaySettingsA]
xor edx, edx
mov dword [rbp - 0x78], 0x1c0000
mov r8d, 0x1a4
lea rcx, [rbp + 4]
call fcn.14014a5c0
xor r9d, r9d
mov dword [rbp], 0x1a8
lea r8, [rbp]
mov byte [rsp + 0x60], r14b
xor edx, edx
xor ecx, ecx
mov ebx, r14d
call qword [sym.imp.USER32.dll_EnumDisplayDevicesA]
test eax, eax
je 0x14004e66c
nop dword [rax]
nop word [rax + rax]
lea rdx, str.mv_video_hook_driver2
lea rcx, [rbp + 0x24]
call fcn.14018a550
test eax, eax
je 0x14004e5d0
inc ebx
lea r8, [rbp]
mov edx, ebx
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayDevicesA]
test eax, eax
jne 0x14004e5a0
jmp 0x14004e66c
mov rdx, qword [rdi + 0xe4d8]
test rdx, rdx
je 0x14004e611
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
test eax, eax
jne 0x14004e5fd
lea r8, str.vncDesktop::InitBitmap_:_failed_to_DeleteDC_hrootdc_n
xor edx, edx
lea rcx, vtable.VNCLog.0
call fcn.140018d00
mov rcx, qword [rdi + 0xe4d8]
call qword [sym.imp.GDI32.dll_DeleteDC]
mov qword [rdi + 0xe4d8], r14
xor r9d, r9d
lea rdx, [rbp + 4]
xor r8d, r8d
lea rcx, str.DISPLAY
call qword [sym.imp.GDI32.dll_CreateDCA]
lea r8, [rsp + 0x60]
mov edx, 0xffffffff
lea rcx, [rbp + 4]
mov qword [rdi + 0xe4d8], rax
call qword [sym.imp.USER32.dll_EnumDisplaySettingsA]
cmp qword [rdi + 0xe4d8], r14
je 0x14004e675
mov dword [rdi + 0x898], 1
jmp 0x14004e66c
mov dword [rcx + 0xe9ec], 1
mov dword [rcx + 0xe9f0], 1
cmp qword [rdi + 0xe4d8], r14
jne 0x14004e6bd
lea r8, str.vncDesktop::InitBitmap_:_No_driver_used__n
xor edx, edx
lea rcx, vtable.VNCLog.0
call fcn.140018d00
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rdi + 0xe4d8], rax
test rax, rax
jne 0x14004e6bd
lea r8, str.vncDesktop::InitBitmap_:_Failed_m_rootdc__n
xor edx, edx
lea rcx, vtable.VNCLog.0
call fcn.140018d00
mov eax, 6
jmp 0x14004ec71
mov rcx, rdi
call fcn.14007cd90
mov ecx, dword [rdi + 0x7f4]
test ecx, ecx
setne al
mov byte [rdi + 0xeab2], al
test ecx, ecx
je 0x14004e6f7
cmp dword [rdi + 0xe478], 1
jle 0x14004e6f7
mov byte [rdi + 0xeab1], 1
mov dword [rdi + 4], Ordinal_102
mov dword [rdi], Ordinal_102
mov rax, qword [rdi + 0xe458]
test rax, rax
je 0x14004e76b
cmp qword [rax + 0x20], r14
je 0x14004e757
mov eax, dword [rdi + 0x7c8]
mov rcx, rdi
mov r9d, dword [rdi + 0x7c4]
mov r8d, dword [rdi + 0x7d4]
mov edx, dword [rdi + 0x7d0]
mov dword [rsp + 0x20], eax
call fcn.140053500
mov edx, dword [rdi + 0x7d0]
mov ecx, dword [rdi + 0x7c4]
add ecx, edx
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x48], ecx
mov ecx, dword [rdi + 0x7c8]
add ecx, edx
mov dword [rsp + 0x44], edx
mov dword [rsp + 0x4c], ecx
jmp 0x14004e7c7
mov dword [rdi + 0xe9ec], 1
mov dword [rdi + 0xe9f0], 1
xor r8d, r8d
xor edx, edx
mov rcx, rdi
cmp byte [rdi + 0xeab1], r14b
je 0x14004e7a4
mov eax, dword [rdi + 0x7c8]
mov r9d, dword [rdi + 0x7c4]
mov dword [rsp + 0x20], eax
call fcn.140053500
mov eax, dword [rdi + 0x7c4]
mov dword [rsp + 0x48], eax
mov eax, dword [rdi + 0x7c8]
jmp 0x14004e7be
mov eax, dword [rdi + 0xc]
mov r9d, dword [rdi + 8]
mov dword [rsp + 0x20], eax
call fcn.140053500
mov eax, dword [rdi + 8]
mov dword [rsp + 0x48], eax
mov eax, dword [rdi + 0xc]
mov dword [rsp + 0x4c], eax
mov qword [rsp + 0x40], r14
mov eax, dword [rdi + 0xe51c]
lea r8, str.vncDesktop::InitBitmap_:_bitmap_dimensions_are__d_x__d_n
mov r9d, dword [rdi + 0xe518]
lea rcx, vtable.VNCLog.0
mov edx, 9
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x2e8], rsi
call fcn.140018d00
mov rax, qword [0x14022a710]
cmp dword [rax + 0xa40], r14d
je 0x14004e8de
mov rsi, qword [rdi + 0xe450]
mov rax, qword [rsi + 0x130]
mov rbx, qword [rax]
cmp rbx, rax
je 0x14004e872
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rsi]
mov rcx, rsi
movzx edx, word [rbx + 0x10]
call qword [rax + 0x90]
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp byte [rax + rcx + 0x268], r14b
jne 0x14004e850
test rcx, rcx
jne 0x14004e91f
mov rbx, qword [rbx]
cmp rbx, qword [rsi + 0x130]
jne 0x14004e830
lea r8, [0x1401e9c5c]
mov rax, qword [0x14022a710]
lea rcx, [0x14021f1b0]
mov edx, 0xff
cmp dword [rax + 0xa48], r14d
setne bl
call fcn.140150800
movups xmm0, xmmword [rsp + 0x40]
lea rax, [rsp + 0x50]
mov byte [0x14021f0ff], bl
mov qword [rsp + 0x28], rax
lea r8, [0x140023770]
xor r9d, r9d
mov dword [rsp + 0x20], r14d
xor edx, edx
xor ecx, ecx
movups xmmword [0x14021f198], xmm0
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x14004e8de
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 0xe4d8]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rdi + 0xe4d0], rax
test rax, rax
jne 0x14004e93b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.vncDesktop::InitBitmap_:_failed_to_create_compatibleDC__d__n
xor edx, edx
mov r9d, eax
lea rcx, vtable.VNCLog.0
call fcn.140018d00
mov eax, 6
jmp 0x14004ec69
mov rax, qword [rsi]
mov rcx, rsi
movzx edx, word [rbx + 0x10]
call qword [rax + 0x90]
lea r8, [rax + 0x268]
jmp 0x14004e879
mov rcx, qword [rdi + 0xe4d8]
mov edx, 0x26
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
test al, 1
jne 0x14004e9ff
mov rax, qword [0x14022a710]
cmp dword [rax + 0xe20], r14d
je 0x14004e9d9
xor edx, edx
xor ecx, ecx
mov r8d, 0x400001cf
call qword [sym.imp.USER32.dll_OpenInputDesktop]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
call qword [sym.imp.USER32.dll_GetThreadDesktop]
mov rdi, rax
test rbx, rbx
je 0x14004e9f5
test rax, rax
je 0x14004e9f5
cmp rax, rbx
je 0x14004e9f5
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetThreadDesktop]
mov r9d, reloc.WS2_32.dll_recv
lea r8, str.WinVNC
lea rdx, str.vncDesktop_:_root_device_doesnt_support_BitBlt_nUltraVNC_Server_cannot_be_used_with_this_graphics_device_driver
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetThreadDesktop]
mov rcx, rbx
call qword [sym.imp.USER32.dll_CloseDesktop]
mov eax, 7
jmp 0x14004ec69
mov r9d, reloc.WS2_32.dll_recv
lea r8, str.WinVNC
lea rdx, str.vncDesktop_:_root_device_doesnt_support_BitBlt_nUltraVNC_Server_cannot_be_used_with_this_graphics_device_driver
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 7
jmp 0x14004ec69
mov rcx, qword [rdi + 0xe4d0]
mov edx, 0x26
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
test al, al
js 0x14004eac3
mov rax, qword [0x14022a710]
cmp dword [rax + 0xe20], r14d
je 0x14004ea9d
xor edx, edx
xor ecx, ecx
mov r8d, 0x400001cf
call qword [sym.imp.USER32.dll_OpenInputDesktop]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
call qword [sym.imp.USER32.dll_GetThreadDesktop]
mov rdi, rax
test rbx, rbx
je 0x14004eab9
test rax, rax
je 0x14004eab9
cmp rax, rbx
je 0x14004eab9
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetThreadDesktop]
mov r9d, reloc.WS2_32.dll_recv
lea r8, str.WinVNC
lea rdx, str.vncDesktop_:_memory_device_doesnt_support_GetDIBits_nUltraVNC_Server_cannot_be_used_with_this_graphics_device_driver
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetThreadDesktop]
mov rcx, rbx
call qword [sym.imp.USER32.dll_CloseDesktop]
mov eax, 8
jmp 0x14004ec69
mov r9d, reloc.WS2_32.dll_recv
lea r8, str.WinVNC
lea rdx, str.vncDesktop_:_memory_device_doesnt_support_GetDIBits_nUltraVNC_Server_cannot_be_used_with_this_graphics_device_driver
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 8
jmp 0x14004ec69
mov rcx, qword [rdi + 0xe4d8]
mov edx, 1
mov r8d, edx
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rdi + 0xe4e0], rax
test rax, rax
jne 0x14004eb0c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.vncDesktop::InitBitmap_:_failed_to_create_memory_bitmap__d__n
xor edx, edx
mov r9d, eax
lea rcx, vtable.VNCLog.0
call fcn.140018d00
mov eax, 9
jmp 0x14004ec69
lea r8, str.vncDesktop::InitBitmap_:_created_memory_bitmap_n
mov edx, 9
lea rcx, vtable.VNCLog.0
call fcn.140018d00
xor edx, edx
lea rcx, [rdi + 0xe520]
mov r8d, 0x430
call fcn.14014a5c0
mov rdx, qword [rdi + 0xe4e0]
lea rbx, [rdi + 0xe524]
mov rcx, qword [rdi + 0xe4d0]
mov r9d, 1
mov dword [rsp + 0x30], r14d
xor r8d, r8d
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r14
mov dword [rbx], 0x28
call qword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
jne 0x14004eb94
lea r8, str.vncDesktop::InitBitmap_:_unable_to_get_display_format_n
xor edx, edx
lea rcx, vtable.VNCLog.0
call fcn.140018d00
mov eax, 0xa
jmp 0x14004ec69
mov rdx, qword [rdi + 0xe4e0]
mov r9d, 1
mov rcx, qword [rdi + 0xe4d0]
xor r8d, r8d
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r14
call qword [sym.imp.GDI32.dll_GetDIBits]
lea rcx, vtable.VNCLog.0
test eax, eax
jne 0x14004ebe3
lea r8, str.vncDesktop::InitBitmap_:_unable_to_get_display_colour_info_n
xor edx, edx
call fcn.140018d00
mov eax, 0xa
jmp 0x14004ec69
lea r8, str.vncDesktop::InitBitmap_:_got_bitmap_format_n
mov edx, 9
call fcn.140018d00
mov ecx, dword [rdi + 0xe518]
mov r8d, dword [rdi + 0xe51c]
movzx eax, word [rdi + 0xe532]
imul eax, ecx
mov dword [rdi + 0xe528], ecx
mov rcx, qword [rdi + 0xe4d0]
imul eax, r8d
cdq
and edx, 7
add eax, edx
sar eax, 3
cdq
xor eax, edx
sub eax, edx
mov dword [rdi + 0xe538], eax
mov eax, r8d
cdq
xor eax, edx
sub eax, edx
mov edx, 0x26
neg eax
mov dword [rdi + 0xe52c], eax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
shr eax, 8
xor edx, edx
not eax
xor ecx, ecx
and eax, 1
mov dword [rdi + 0xe520], eax
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
mov rsi, qword [rsp + 0x2e8]
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140147af0
mov rbx, qword [rsp + 0x2f0]
add rsp, 0x2c0
pop r14
pop rdi
pop rbp
ret