Function at 0x44dfb0
Capabilities:
Capture screenshot
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
mov eax, dword [0x5b0008]
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 0x44e15d
cmp dword [eax + 0x10], 0
je 0x44e149
push 0x9c
lea eax, [esp + 0x24]
push 0
push eax
call fcn.0051b450
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.0051b450
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 0x44e15d
nop
mov eax, str.mv_video_hook_driver2
lea ecx, [esp + 0xe4]
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x44e0a0
test dl, dl
je 0x44e09c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x44e0a0
add ecx, 2
add eax, 2
test dl, dl
jne 0x44e080
xor eax, eax
jmp 0x44e0a5
sbb eax, eax
or eax, 1
test eax, eax
je 0x44e0c2
push 0
lea eax, [esp + 0xc4]
inc esi
push eax
push esi
push 0
call ebx
test eax, eax
jne 0x44e070
jmp 0x44e15d
mov eax, dword [edi + 0xe418]
test eax, eax
je 0x44e102
push eax
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
test eax, eax
jne 0x44e0ec
push str.vncDesktop::InitBitmap_:_failed_to_DeleteDC_hrootdc_n
push eax
push 0x5b0d48
call fcn.0041cc90
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 0x44e166
mov dword [edi + 0x860], 1
jmp 0x44e15d
mov dword [edi + 0xe8f0], 1
mov dword [edi + 0xe8f4], 1
cmp dword [edi + 0xe418], 0
jne 0x44e1b9
push str.vncDesktop::InitBitmap_:_No_driver_used__n
push 0
push 0x5b0d48
call fcn.0041cc90
add esp, 0xc
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [edi + 0xe418], eax
test eax, eax
jne 0x44e1b9
push str.vncDesktop::InitBitmap_:_Failed_m_rootdc__n
push eax
push 0x5b0d48
call fcn.0041cc90
add esp, 0xc
mov eax, 6
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.00519459
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.004789e0
mov ecx, dword [edi + 0x7ec]
test ecx, ecx
setne al
mov byte [edi + 0xe969], al
test ecx, ecx
je 0x44e1f2
cmp dword [edi + 0xe964], 1
jle 0x44e1f2
mov byte [edi + 0xe968], 1
mov dword [edi + 4], 0x63
mov dword [edi], 0x63
mov eax, dword [edi + 0xe3c8]
test eax, eax
je 0x44e259
cmp dword [eax + 0x10], 0
je 0x44e245
push dword [edi + 0x7c8]
mov ecx, edi
push dword [edi + 0x7c4]
push dword [edi + 0x7d4]
push dword [edi + 0x7d0]
call fcn.00452720
mov ebx, dword [edi + 0x7d0]
mov esi, dword [edi + 0x7c4]
add esi, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
mov esi, dword [edi + 0x7c8]
add esi, ebx
mov dword [esp + 0x18], esi
jmp 0x44e2b4
mov dword [edi + 0xe8f0], 1
mov dword [edi + 0xe8f4], 1
cmp byte [edi + 0xe968], 0
mov ecx, edi
je 0x44e28f
push dword [edi + 0x7c8]
push dword [edi + 0x7c4]
push 0
push 0
call fcn.00452720
mov ebx, dword [edi + 0x7c4]
mov dword [esp + 0x14], ebx
mov ebx, dword [edi + 0x7c8]
mov dword [esp + 0x18], ebx
jmp 0x44e2ac
push dword [edi + 0xc]
push dword [edi + 8]
push 0
push 0
call fcn.00452720
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 0x5b0d48
call fcn.0041cc90
mov eax, dword [0x5be08c]
add esp, 0x14
cmp dword [eax + 0xa40], 0
je 0x44e399
mov ebx, dword [edi + 0xe3c4]
mov eax, dword [ebx + 0xbc]
mov esi, dword [eax]
cmp esi, eax
je 0x44e329
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 0x44e310
sub ecx, edx
jne 0x44e3e4
mov esi, dword [esi]
cmp esi, dword [ebx + 0xbc]
jne 0x44e2f8
mov ecx, 0x569fe8
mov eax, dword [0x5be08c]
push ecx
push 0xff
push 0x5b2d28
cmp dword [eax + 0xa48], 0
setne bl
call fcn.0051f3ce
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [0x5b2d10], eax
mov dword [0x5b2d14], eax
mov eax, dword [esp + 0x14]
mov dword [0x5b2d18], eax
mov eax, dword [esp + 0x18]
mov dword [0x5b2d1c], eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0x4273a0
push 0
push 0
mov byte [0x5b2cdb], bl
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x44e399
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 0x44e3fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.vncDesktop::InitBitmap_:_failed_to_create_compatibleDC__d__n
push 0
push 0x5b0d48
call fcn.0041cc90
add esp, 0x10
mov eax, 6
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.00519459
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 0x44e32e
mov ebx, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x26
push dword [edi + 0xe418]
call ebx
test al, 1
jne 0x44e43d
push 0x10
push 0x59d508
mov edx, str.vncDesktop_:_root_device_doesnt_support_BitBlt_nWinVNC_cannot_be_used_with_this_graphic_device_driver
call fcn.00425040
add esp, 8
mov eax, 7
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.00519459
mov esp, ebp
pop ebp
ret
push 0x26
push dword [edi + 0xe414]
call ebx
test al, al
js 0x44e479
push 0x10
push 0x59d508
mov edx, str.vncDesktop_:_memory_device_doesnt_support_GetDIBits_nWinVNC_cannot_be_used_with_this_graphics_device_driver
call fcn.00425040
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.00519459
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 0x44e4c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.vncDesktop::InitBitmap_:_failed_to_create_memory_bitmap__d__n
push 0
push 0x5b0d48
call fcn.0041cc90
add esp, 0x10
mov eax, 9
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.00519459
mov esp, ebp
pop ebp
ret
push str.vncDesktop::InitBitmap_:_created_memory_bitmap_n
push 9
push 0x5b0d48
call fcn.0041cc90
add esp, 0xc
lea eax, [edi + 0xe448]
push 0x430
push 0
push eax
call fcn.0051b450
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 0x44e54e
push str.vncDesktop::InitBitmap_:_unable_to_get_display_format_n
push eax
push 0x5b0d48
call fcn.0041cc90
add esp, 0xc
mov eax, 0xa
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.00519459
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 0x44e59a
push str.vncDesktop::InitBitmap_:_unable_to_get_display_colour_info_n
push eax
push 0x5b0d48
call fcn.0041cc90
add esp, 0xc
mov eax, 0xa
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.00519459
mov esp, ebp
pop ebp
ret
push str.vncDesktop::InitBitmap_:_got_bitmap_format_n
push 9
push 0x5b0d48
call fcn.0041cc90
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.00519459
mov esp, ebp
pop ebp
ret