Function at 0x44a290
Capabilities:
Capture screenshot
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
mov eax, dword [0x5a6008]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0xe3c8]
mov byte [edi + 0xe968], 0
mov dword [edi + 0x860], 0
test eax, eax
je 0x44a43d
cmp dword [eax + 0x10], 0
je 0x44a429
push 0x9c
lea eax, [esp + 0x24]
push 0
push eax
call fcn.00513330
add esp, 0xc
mov dword [esp + 0x44], 0x9c
lea eax, [esp + 0x20]
push eax
push 0xffffffffffffffff
push 0
call dword [sym.imp.USER32.dll_EnumDisplaySettingsA]
push 0x1a4
lea eax, [esp + 0xc8]
mov dword [esp + 0x4c], 0x1c0000
push 0
push eax
call fcn.00513330
mov ebx, dword [sym.imp.USER32.dll_EnumDisplayDevicesA]
lea eax, [esp + 0xcc]
add esp, 0xc
mov dword [esp + 0xc0], 0x1a8
xor esi, esi
mov byte [esp + 0x20], 0
push esi
push eax
push esi
push esi
call ebx
test eax, eax
je 0x44a43d
nop
mov eax, str.mv_video_hook_driver2
lea ecx, [esp + 0xe4]
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x44a380
test dl, dl
je 0x44a37c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x44a380
add ecx, 2
add eax, 2
test dl, dl
jne 0x44a360
xor eax, eax
jmp 0x44a385
sbb eax, eax
or eax, 1
test eax, eax
je 0x44a3a2
push 0
lea eax, [esp + 0xc4]
inc esi
push eax
push esi
push 0
call ebx
test eax, eax
jne 0x44a350
jmp 0x44a43d
mov eax, dword [edi + 0xe418]
test eax, eax
je 0x44a3e2
push eax
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
test eax, eax
jne 0x44a3cc
push str.vncDesktop::InitBitmap_:_failed_to_DeleteDC_hrootdc_n
push eax
push 0x5a6c48
call fcn.0041d720
add esp, 0xc
push dword [edi + 0xe418]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [edi + 0xe418], 0
push 0
push 0
lea eax, [esp + 0xcc]
push eax
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
mov dword [edi + 0xe418], eax
lea eax, [esp + 0x20]
push eax
push 0xffffffffffffffff
lea eax, [esp + 0xcc]
push eax
call dword [sym.imp.USER32.dll_EnumDisplaySettingsA]
cmp dword [edi + 0xe418], 0
je 0x44a446
mov dword [edi + 0x860], 1
jmp 0x44a43d
mov dword [edi + 0xe8f0], 1
mov dword [edi + 0xe8f4], 1
cmp dword [edi + 0xe418], 0
jne 0x44a499
push str.vncDesktop::InitBitmap_:_No_driver_used__n
push 0
push 0x5a6c48
call fcn.0041d720
add esp, 0xc
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [edi + 0xe418], eax
test eax, eax
jne 0x44a499
push str.vncDesktop::InitBitmap_:_Failed_m_rootdc__n
push eax
push 0x5a6c48
call fcn.0041d720
add esp, 0xc
mov eax, 6
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.00511339
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.00473330
mov ecx, dword [edi + 0x7ec]
test ecx, ecx
setne al
mov byte [edi + 0xe969], al
test ecx, ecx
je 0x44a4d2
cmp dword [edi + 0xe964], 1
jle 0x44a4d2
mov byte [edi + 0xe968], 1
mov dword [edi + 4], 0x63
mov dword [edi], 0x63
mov eax, dword [edi + 0xe3c8]
test eax, eax
je 0x44a539
cmp dword [eax + 0x10], 0
je 0x44a525
push dword [edi + 0x7c8]
mov ecx, edi
push dword [edi + 0x7c4]
push dword [edi + 0x7d4]
push dword [edi + 0x7d0]
call fcn.0044ea60
mov ecx, dword [edi + 0x7d0]
mov edx, dword [edi + 0x7c4]
add edx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov edx, dword [edi + 0x7c8]
add edx, ecx
mov dword [esp + 0x18], edx
jmp 0x44a594
mov dword [edi + 0xe8f0], 1
mov dword [edi + 0xe8f4], 1
cmp byte [edi + 0xe968], 0
mov ecx, edi
je 0x44a56f
push dword [edi + 0x7c8]
push dword [edi + 0x7c4]
push 0
push 0
call fcn.0044ea60
mov ecx, dword [edi + 0x7c4]
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + 0x7c8]
mov dword [esp + 0x18], ecx
jmp 0x44a58c
push dword [edi + 0xc]
push dword [edi + 8]
push 0
push 0
call fcn.0044ea60
mov eax, dword [edi + 8]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0
push dword [edi + 0xe444]
push dword [edi + 0xe440]
push str.vncDesktop::InitBitmap_:_bitmap_dimensions_are__d_x__d_n
push 9
push 0x5a6c48
call fcn.0041d720
mov eax, dword [0x5b6e6c]
add esp, 0x14
cmp dword [eax + 0xa40], 0
je 0x44a679
mov ebx, dword [edi + 0xe3c4]
mov eax, dword [ebx + 0xbc]
mov esi, dword [eax]
cmp esi, eax
je 0x44a609
mov edx, dword [ebx]
mov ecx, ebx
movzx eax, word [esi + 8]
push eax
call dword [edx + 0x48]
lea ecx, [eax + 0x25c]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44a5f0
sub ecx, edx
jne 0x44a6c4
mov esi, dword [esi]
cmp esi, dword [ebx + 0xbc]
jne 0x44a5d8
mov ecx, 0x560f28
mov eax, dword [0x5b6e6c]
push ecx
push 0xff
push 0x5a8b48
cmp dword [eax + 0xa48], 0
setne bl
call fcn.0051736e
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [0x5a8b30], eax
mov dword [0x5a8b34], eax
mov eax, dword [esp + 0x14]
mov dword [0x5a8b38], eax
mov eax, dword [esp + 0x18]
mov dword [0x5a8b3c], eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0x4276f0
push 0
push 0
mov byte [0x5a8afb], bl
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x44a679
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [edi + 0xe418]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [edi + 0xe414], eax
test eax, eax
jne 0x44a6db
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.vncDesktop::InitBitmap_:_failed_to_create_compatibleDC__d__n
push 0
push 0x5a6c48
call fcn.0041d720
add esp, 0x10
mov eax, 6
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.00511339
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx]
mov ecx, ebx
movzx eax, word [esi + 8]
push eax
call dword [edx + 0x48]
lea ecx, [eax + 0x25c]
jmp 0x44a60e
mov ebx, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x26
push dword [edi + 0xe418]
call ebx
test al, 1
jne 0x44a71d
push 0x10
push 0x593d78
mov edx, str.vncDesktop_:_root_device_doesnt_support_BitBlt_nWinVNC_cannot_be_used_with_this_graphic_device_driver
call fcn.004257b0
add esp, 8
mov eax, 7
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.00511339
mov esp, ebp
pop ebp
ret
push 0x26
push dword [edi + 0xe414]
call ebx
test al, al
js 0x44a759
push 0x10
push 0x593d78
mov edx, str.vncDesktop_:_memory_device_doesnt_support_GetDIBits_nWinVNC_cannot_be_used_with_this_graphics_device_driver
call fcn.004257b0
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.00511339
mov esp, ebp
pop ebp
ret
push 1
push 1
push dword [edi + 0xe418]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [edi + 0xe41c], eax
test eax, eax
jne 0x44a7a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.vncDesktop::InitBitmap_:_failed_to_create_memory_bitmap__d__n
push 0
push 0x5a6c48
call fcn.0041d720
add esp, 0x10
mov eax, 9
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.00511339
mov esp, ebp
pop ebp
ret
push str.vncDesktop::InitBitmap_:_created_memory_bitmap_n
push 9
push 0x5a6c48
call fcn.0041d720
add esp, 0xc
lea eax, [edi + 0xe448]
push 0x430
push 0
push eax
call fcn.00513330
add esp, 0xc
mov dword [edi + 0xe44c], 0x28
lea esi, [edi + 0xe44c]
push 0
push esi
push 0
push 1
push 0
push dword [edi + 0xe41c]
push dword [edi + 0xe414]
call dword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
jne 0x44a82e
push str.vncDesktop::InitBitmap_:_unable_to_get_display_format_n
push eax
push 0x5a6c48
call fcn.0041d720
add esp, 0xc
mov eax, 0xa
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.00511339
mov esp, ebp
pop ebp
ret
push 0
push esi
push 0
push 1
push 0
push dword [edi + 0xe41c]
push dword [edi + 0xe414]
call dword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
jne 0x44a87a
push str.vncDesktop::InitBitmap_:_unable_to_get_display_colour_info_n
push eax
push 0x5a6c48
call fcn.0041d720
add esp, 0xc
mov eax, 0xa
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.00511339
mov esp, ebp
pop ebp
ret
push str.vncDesktop::InitBitmap_:_got_bitmap_format_n
push 9
push 0x5a6c48
call fcn.0041d720
mov ecx, dword [edi + 0xe440]
add esp, 0xc
movzx eax, word [edi + 0xe45a]
mov esi, dword [edi + 0xe444]
imul eax, ecx
push 0x26
push dword [edi + 0xe414]
mov dword [edi + 0xe450], ecx
imul eax, esi
cdq
and edx, 7
add eax, edx
sar eax, 3
cdq
xor eax, edx
sub eax, edx
mov dword [edi + 0xe460], eax
mov eax, esi
cdq
xor eax, edx
sub eax, edx
neg eax
mov dword [edi + 0xe454], eax
call ebx
shr eax, 8
push 1
not eax
push 0
and eax, 1
push 0
mov dword [edi + 0xe448], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esp + 0x26c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00511339
mov esp, ebp
pop ebp
ret