Function at 0x14004d250
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 0x14004d40c
cmp qword [rax + 0x20], r14
je 0x14004d3f8
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.140135010
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 0x14004d40c
nop dword [rax]
nop word [rax + rax]
lea rdx, str.mv_video_hook_driver2
lea rcx, [rbp + 0x24]
call fcn.1401686d0
test eax, eax
je 0x14004d370
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 0x14004d340
jmp 0x14004d40c
mov rdx, qword [rdi + 0xe4d8]
test rdx, rdx
je 0x14004d3b1
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
test eax, eax
jne 0x14004d39d
lea r8, str.vncDesktop::InitBitmap_:_failed_to_DeleteDC_hrootdc_n
xor edx, edx
lea rcx, vtable.VNCLog.0
call fcn.140018c00
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 0x14004d415
mov dword [rdi + 0x898], 1
jmp 0x14004d40c
mov dword [rcx + 0xe9ec], 1
mov dword [rcx + 0xe9f0], 1
cmp qword [rdi + 0xe4d8], r14
jne 0x14004d45d
lea r8, str.vncDesktop::InitBitmap_:_No_driver_used__n
xor edx, edx
lea rcx, vtable.VNCLog.0
call fcn.140018c00
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rdi + 0xe4d8], rax
test rax, rax
jne 0x14004d45d
lea r8, str.vncDesktop::InitBitmap_:_Failed_m_rootdc__n
xor edx, edx
lea rcx, vtable.VNCLog.0
call fcn.140018c00
mov eax, 6
jmp 0x14004d8fb
mov rcx, rdi
call fcn.14007b600
mov ecx, dword [rdi + 0x7f4]
test ecx, ecx
setne al
mov byte [rdi + 0xeab9], al
test ecx, ecx
je 0x14004d497
cmp dword [rdi + 0xeab4], 1
jle 0x14004d497
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 0x14004d50b
cmp qword [rax + 0x20], r14
je 0x14004d4f7
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.1400520e0
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 0x14004d567
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 0x14004d544
mov eax, dword [rdi + 0x7c8]
mov r9d, dword [rdi + 0x7c4]
mov dword [rsp + 0x20], eax
call fcn.1400520e0
mov eax, dword [rdi + 0x7c4]
mov dword [rsp + 0x48], eax
mov eax, dword [rdi + 0x7c8]
jmp 0x14004d55e
mov eax, dword [rdi + 0xc]
mov r9d, dword [rdi + 8]
mov dword [rsp + 0x20], eax
call fcn.1400520e0
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.140018c00
mov rax, qword [0x1401fdf80]
cmp dword [rax + 0xa40], r14d
je 0x14004d67e
mov rsi, qword [rdi + 0xe450]
mov rax, qword [rsi + 0x130]
mov rbx, qword [rax]
cmp rbx, rax
je 0x14004d612
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 0x14004d5f0
test rcx, rcx
jne 0x14004d6bf
mov rbx, qword [rbx]
cmp rbx, qword [rsi + 0x130]
jne 0x14004d5d0
lea r8, [0x14019528c]
mov rax, qword [0x1401fdf80]
lea rcx, [0x1401f2a30]
mov edx, 0xff
cmp dword [rax + 0xa48], r14d
setne bl
call fcn.14013b330
movups xmm0, xmmword [rsp + 0x40]
lea rax, [rsp + 0x50]
mov byte [0x1401f297f], bl
mov qword [rsp + 0x28], rax
lea r8, [0x140023640]
xor r9d, r9d
mov dword [rsp + 0x20], r14d
xor edx, edx
xor ecx, ecx
movups xmmword [0x1401f2a18], xmm0
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x14004d67e
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 0x14004d6db
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.140018c00
mov eax, 6
jmp 0x14004d8f3
mov rax, qword [rsi]
mov rcx, rsi
movzx edx, word [rbx + 0x10]
call qword [rax + 0x90]
lea r8, [rax + 0x268]
jmp 0x14004d619
mov rcx, qword [rdi + 0xe4d8]
mov edx, 0x26
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
test al, 1
jne 0x14004d714
mov r9d, reloc.WS2_32.dll_recv
lea r8, [0x1401c9b4c]
lea rdx, str.vncDesktop_:_root_device_doesnt_support_BitBlt_nWinVNC_cannot_be_used_with_this_graphic_device_driver
call fcn.140020f00
mov eax, 7
jmp 0x14004d8f3
mov rcx, qword [rdi + 0xe4d0]
mov edx, 0x26
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
test al, al
js 0x14004d74d
mov r9d, reloc.WS2_32.dll_recv
lea r8, [0x1401c9b4c]
lea rdx, str.vncDesktop_:_memory_device_doesnt_support_GetDIBits_nWinVNC_cannot_be_used_with_this_graphics_device_driver
call fcn.140020f00
mov eax, 8
jmp 0x14004d8f3
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 0x14004d796
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.140018c00
mov eax, 9
jmp 0x14004d8f3
lea r8, str.vncDesktop::InitBitmap_:_created_memory_bitmap_n
mov edx, 9
lea rcx, vtable.VNCLog.0
call fcn.140018c00
xor edx, edx
lea rcx, [rdi + 0xe520]
mov r8d, 0x430
call fcn.140135010
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 0x14004d81e
lea r8, str.vncDesktop::InitBitmap_:_unable_to_get_display_format_n
xor edx, edx
lea rcx, vtable.VNCLog.0
call fcn.140018c00
mov eax, 0xa
jmp 0x14004d8f3
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 0x14004d86d
lea r8, str.vncDesktop::InitBitmap_:_unable_to_get_display_colour_info_n
xor edx, edx
call fcn.140018c00
mov eax, 0xa
jmp 0x14004d8f3
lea r8, str.vncDesktop::InitBitmap_:_got_bitmap_format_n
mov edx, 9
call fcn.140018c00
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.140132620
mov rbx, qword [rsp + 0x2f0]
add rsp, 0x2c0
pop r14
pop rdi
pop rbp
ret