Function at 0x14004cbd0
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 [0x1401ef010]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rax, qword [rcx + 0xe458]
xor r14d, r14d
mov byte [rcx + 0xeab8], 0
mov rdi, rcx
mov dword [rcx + 0x898], r14d
test rax, rax
je 0x14004cd8c
cmp qword [rax + 0x20], r14
je 0x14004cd78
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.140133cd0
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 0x14004cd8c
nop dword [rax]
nop word [rax + rax]
lea rdx, str.mv_video_hook_driver2
lea rcx, [rbp + 0x24]
call fcn.140167390
test eax, eax
je 0x14004ccf0
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 0x14004ccc0
jmp 0x14004cd8c
mov rdx, qword [rdi + 0xe4d8]
test rdx, rdx
je 0x14004cd31
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
test eax, eax
jne 0x14004cd1d
lea r8, str.vncDesktop::InitBitmap_:_failed_to_DeleteDC_hrootdc_n
xor edx, edx
lea rcx, vtable.VNCLog.0
call fcn.140017a50
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 0x14004cd95
mov dword [rdi + 0x898], 1
jmp 0x14004cd8c
mov dword [rcx + 0xe9ec], 1
mov dword [rcx + 0xe9f0], 1
cmp qword [rdi + 0xe4d8], r14
jne 0x14004cddd
lea r8, str.vncDesktop::InitBitmap_:_No_driver_used__n
xor edx, edx
lea rcx, vtable.VNCLog.0
call fcn.140017a50
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rdi + 0xe4d8], rax
test rax, rax
jne 0x14004cddd
lea r8, str.vncDesktop::InitBitmap_:_Failed_m_rootdc__n
xor edx, edx
lea rcx, vtable.VNCLog.0
call fcn.140017a50
mov eax, 6
jmp 0x14004d27b
mov rcx, rdi
call fcn.14007af70
mov ecx, dword [rdi + 0x7f4]
test ecx, ecx
setne al
mov byte [rdi + 0xeab9], al
test ecx, ecx
je 0x14004ce17
cmp dword [rdi + 0xeab4], 1
jle 0x14004ce17
mov byte [rdi + 0xeab8], 1
mov dword [rdi + 4], Ordinal_102
mov dword [rdi], Ordinal_102
mov rax, qword [rdi + 0xe458]
test rax, rax
je 0x14004ce8b
cmp qword [rax + 0x20], r14
je 0x14004ce77
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.140051a60
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 0x14004cee7
mov dword [rdi + 0xe9ec], 1
mov dword [rdi + 0xe9f0], 1
xor r8d, r8d
xor edx, edx
mov rcx, rdi
cmp byte [rdi + 0xeab8], r14b
je 0x14004cec4
mov eax, dword [rdi + 0x7c8]
mov r9d, dword [rdi + 0x7c4]
mov dword [rsp + 0x20], eax
call fcn.140051a60
mov eax, dword [rdi + 0x7c4]
mov dword [rsp + 0x48], eax
mov eax, dword [rdi + 0x7c8]
jmp 0x14004cede
mov eax, dword [rdi + 0xc]
mov r9d, dword [rdi + 8]
mov dword [rsp + 0x20], eax
call fcn.140051a60
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.140017a50
mov rax, qword [0x1401fdf60]
cmp dword [rax + 0xa40], r14d
je 0x14004cffe
mov rsi, qword [rdi + 0xe450]
mov rax, qword [rsi + 0x130]
mov rbx, qword [rax]
cmp rbx, rax
je 0x14004cf92
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 0x14004cf70
test rcx, rcx
jne 0x14004d03f
mov rbx, qword [rbx]
cmp rbx, qword [rsi + 0x130]
jne 0x14004cf50
lea r8, [0x14019526c]
mov rax, qword [0x1401fdf60]
lea rcx, [0x1401f2a10]
mov edx, 0xff
cmp dword [rax + 0xa48], r14d
setne bl
call fcn.140139ff0
movups xmm0, xmmword [rsp + 0x40]
lea rax, [rsp + 0x50]
mov byte [0x1401f295f], bl
mov qword [rsp + 0x28], rax
lea r8, [0x140023030]
xor r9d, r9d
mov dword [rsp + 0x20], r14d
xor edx, edx
xor ecx, ecx
movups xmmword [0x1401f29f8], xmm0
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x14004cffe
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 0x14004d05b
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.140017a50
mov eax, 6
jmp 0x14004d273
mov rax, qword [rsi]
mov rcx, rsi
movzx edx, word [rbx + 0x10]
call qword [rax + 0x90]
lea r8, [rax + 0x268]
jmp 0x14004cf99
mov rcx, qword [rdi + 0xe4d8]
mov edx, 0x26
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
test al, 1
jne 0x14004d094
mov r9d, reloc.WS2_32.dll_recv
lea r8, [0x1401c9afc]
lea rdx, str.vncDesktop_:_root_device_doesnt_support_BitBlt_nWinVNC_cannot_be_used_with_this_graphic_device_driver
call fcn.1400208f0
mov eax, 7
jmp 0x14004d273
mov rcx, qword [rdi + 0xe4d0]
mov edx, 0x26
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
test al, al
js 0x14004d0cd
mov r9d, reloc.WS2_32.dll_recv
lea r8, [0x1401c9afc]
lea rdx, str.vncDesktop_:_memory_device_doesnt_support_GetDIBits_nWinVNC_cannot_be_used_with_this_graphics_device_driver
call fcn.1400208f0
mov eax, 8
jmp 0x14004d273
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 0x14004d116
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.140017a50
mov eax, 9
jmp 0x14004d273
lea r8, str.vncDesktop::InitBitmap_:_created_memory_bitmap_n
mov edx, 9
lea rcx, vtable.VNCLog.0
call fcn.140017a50
xor edx, edx
lea rcx, [rdi + 0xe520]
mov r8d, 0x430
call fcn.140133cd0
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 0x14004d19e
lea r8, str.vncDesktop::InitBitmap_:_unable_to_get_display_format_n
xor edx, edx
lea rcx, vtable.VNCLog.0
call fcn.140017a50
mov eax, 0xa
jmp 0x14004d273
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 0x14004d1ed
lea r8, str.vncDesktop::InitBitmap_:_unable_to_get_display_colour_info_n
xor edx, edx
call fcn.140017a50
mov eax, 0xa
jmp 0x14004d273
lea r8, str.vncDesktop::InitBitmap_:_got_bitmap_format_n
mov edx, 9
call fcn.140017a50
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.1401312e0
mov rbx, qword [rsp + 0x2f0]
add rsp, 0x2c0
pop r14
pop rdi
pop rbp
ret