Function at 0x44aaf0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
mov eax, dword [0x5d7008]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0xe3c4]
mov byte [edi + 0xe964], 0
mov dword [edi + 0x860], 0
test eax, eax
je 0x44acad
cmp dword [eax + 0x10], 0
je 0x44ac99
push 0x9c
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0053f2b0
add esp, 0xc
mov dword [esp + 0x34], 0x9c
lea eax, [esp + 0x10]
push eax
push 0xffffffffffffffff
push 0
call dword [sym.imp.USER32.dll_EnumDisplaySettingsA]
push str.USER32
mov dword [esp + 0x3c], 0x1c0000
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x1a4
lea eax, [esp + 0xb8]
push 0
push eax
call fcn.0053f2b0
mov ebx, dword [sym.imp.USER32.dll_EnumDisplayDevicesA]
lea eax, [esp + 0xbc]
add esp, 0xc
mov dword [esp + 0xb0], 0x1a8
xor esi, esi
mov byte [esp + 0x10], 0
push esi
push eax
push esi
push esi
call ebx
test eax, eax
je 0x44acad
nop word [eax + eax]
mov eax, str.mv_video_hook_driver2
lea ecx, [esp + 0xd4]
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x44abf0
test dl, dl
je 0x44abec
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x44abf0
add ecx, 2
add eax, 2
test dl, dl
jne 0x44abd0
xor eax, eax
jmp 0x44abf5
sbb eax, eax
or eax, 1
test eax, eax
je 0x44ac12
push 0
lea eax, [esp + 0xb4]
inc esi
push eax
push esi
push 0
call ebx
test eax, eax
jne 0x44abc0
jmp 0x44acad
mov eax, dword [edi + 0xe414]
test eax, eax
je 0x44ac52
push eax
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
test eax, eax
jne 0x44ac3c
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncdesktop.cpp_:_failed_to_DeleteDC_hrootdc_n
push eax
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
push dword [edi + 0xe414]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [edi + 0xe414], 0
push 0
push 0
lea eax, [esp + 0xbc]
push eax
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
mov dword [edi + 0xe414], eax
lea eax, [esp + 0x10]
push eax
push 0xffffffffffffffff
lea eax, [esp + 0xbc]
push eax
call dword [sym.imp.USER32.dll_EnumDisplaySettingsA]
cmp dword [edi + 0xe414], 0
je 0x44acb6
mov dword [edi + 0x860], 1
jmp 0x44acad
mov dword [edi + 0xe8ec], 1
mov dword [edi + 0xe8f0], 1
cmp dword [edi + 0xe414], 0
jne 0x44ad09
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncdesktop.cpp_:_No_driver_used__n
push 0
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [edi + 0xe414], eax
test eax, eax
jne 0x44ad09
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncdesktop.cpp_:_Failed_m_rootdc__n
push eax
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
mov eax, 6
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.0053d630
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.00474b60
mov ecx, dword [edi + 0x7ec]
test ecx, ecx
setne al
mov byte [edi + 0xe965], al
test ecx, ecx
je 0x44ad42
cmp dword [edi + 0xe960], 1
jle 0x44ad42
mov byte [edi + 0xe964], 1
mov dword [edi + 4], 0x63
mov dword [edi], 0x63
mov eax, dword [edi + 0xe3c4]
test eax, eax
je 0x44ad80
cmp dword [eax + 0x10], 0
je 0x44ad6c
mov eax, dword [edi + 0x7d0]
mov ecx, dword [edi + 0x7d4]
mov edx, dword [edi + 0x7c4]
mov esi, dword [edi + 0x7c8]
jmp 0x44ada0
mov dword [edi + 0xe8ec], 1
mov dword [edi + 0xe8f0], 1
xor ecx, ecx
xor eax, eax
cmp byte [edi + 0xe964], cl
je 0x44ad9a
mov edx, dword [edi + 0x7c4]
mov esi, dword [edi + 0x7c8]
jmp 0x44ada0
mov edx, dword [edi + 8]
mov esi, dword [edi + 0xc]
push esi
push edx
push ecx
push eax
mov ecx, edi
call fcn.0044f380
push dword [edi + 0xe440]
push dword [edi + 0xe43c]
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncdesktop.cpp_:_bitmap_dimensions_are__d_x__d_n
push 9
push 0x5d7d48
call fcn.0041c960
add esp, 0x14
push dword [edi + 0xe414]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [edi + 0xe410], eax
test eax, eax
jne 0x44ae16
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncdesktop.cpp_:_failed_to_create_compatibleDC__d__n
push 0
push 0x5d7d48
call fcn.0041c960
add esp, 0x10
mov eax, 6
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.0053d630
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x26
push dword [edi + 0xe414]
call ebx
test al, 1
jne 0x44ae58
push 0x10
push 0x5bf9fc
mov edx, str.vncDesktop_:_root_device_doesnt_support_BitBlt_nWinVNC_cannot_be_used_with_this_graphic_device_driver
call fcn.004254b0
add esp, 8
mov eax, 7
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.0053d630
mov esp, ebp
pop ebp
ret
push 0x26
push dword [edi + 0xe410]
call ebx
test al, al
js 0x44ae94
push 0x10
push 0x5bf9fc
mov edx, str.vncDesktop_:_memory_device_doesnt_support_GetDIBits_nWinVNC_cannot_be_used_with_this_graphics_device_driver
call fcn.004254b0
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.0053d630
mov esp, ebp
pop ebp
ret
push 1
push 1
push dword [edi + 0xe414]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [edi + 0xe418], eax
test eax, eax
jne 0x44aee3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncdesktop.cpp_:_failed_to_create_memory_bitmap__d__n
push 0
push 0x5d7d48
call fcn.0041c960
add esp, 0x10
mov eax, 9
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.0053d630
mov esp, ebp
pop ebp
ret
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncdesktop.cpp_:_created_memory_bitmap_n
push 9
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
lea eax, [edi + 0xe444]
push 0x430
push 0
push eax
call fcn.0053f2b0
add esp, 0xc
mov dword [edi + 0xe448], 0x28
lea esi, [edi + 0xe448]
push 0
push esi
push 0
push 1
push 0
push dword [edi + 0xe418]
push dword [edi + 0xe410]
call dword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
jne 0x44af69
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncdesktop.cpp_:_unable_to_get_display_format_n
push eax
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
mov eax, 0xa
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.0053d630
mov esp, ebp
pop ebp
ret
push 0
push esi
push 0
push 1
push 0
push dword [edi + 0xe418]
push dword [edi + 0xe410]
call dword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
jne 0x44afb5
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncdesktop.cpp_:_unable_to_get_display_colour_info_n
push eax
push 0x5d7d48
call fcn.0041c960
add esp, 0xc
mov eax, 0xa
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.0053d630
mov esp, ebp
pop ebp
ret
push str.C:Users_rudiDesktopgit_ultravncwinvncwinvnc_vncdesktop.cpp_:_got_bitmap_format_n
push 9
push 0x5d7d48
call fcn.0041c960
mov ecx, dword [edi + 0xe43c]
add esp, 0xc
movzx eax, word [edi + 0xe456]
mov esi, dword [edi + 0xe440]
imul eax, ecx
push 0x26
push dword [edi + 0xe410]
mov dword [edi + 0xe44c], ecx
imul eax, esi
cdq
and edx, 7
add eax, edx
sar eax, 3
cdq
xor eax, edx
sub eax, edx
mov dword [edi + 0xe45c], eax
mov eax, esi
cdq
xor eax, edx
sub eax, edx
neg eax
mov dword [edi + 0xe450], eax
call ebx
shr eax, 8
push 1
not eax
push 0
and eax, 1
push 0
mov dword [edi + 0xe444], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esp + 0x25c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0053d630
mov esp, ebp
pop ebp
ret