Function at 0x44f1c0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x454
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x318]
push ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x48]
test eax, eax
jne 0x44f376
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
jne 0x44f229
push str.._vncserver.cpp_:_Failed_rootdc__n
xor ecx, ecx
mov eax, 0x4bc990
call fcn.00401110
xor esi, esi
add esp, 4
xor eax, eax
mov word [esp + 0x10], si
mov word [esp + 0x12], ax
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x14], al
jmp 0x44f3b5
mov ebx, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 8
push edi
call ebx
mov esi, eax
call fcn.00401080
mov ecx, dword [0x4bc984]
push ecx
push 0x60
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 0xa
mov si, ax
push edi
mov word [esp + 0x18], si
call ebx
mov ebx, eax
call fcn.00401080
mov edx, dword [0x4bc988]
push edx
push 0x60
push ebx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov word [esp + 0x12], ax
movzx eax, ax
movzx ecx, si
push eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, eax
test ebx, ebx
jne 0x44f2b0
xor edx, edx
push edi
xor esi, esi
push edx
mov word [esp + 0x18], si
mov word [esp + 0x1a], dx
mov byte [esp + 0x1c], dl
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x2c]
jmp 0x44f3b5
push 0x430
lea eax, [esp + 0x34]
push 0
push eax
call fcn.004858b0
add esp, 0xc
xor ecx, ecx
push edi
mov dword [esp + 0x38], 0x28
mov word [esp + 0x46], cx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esp + 0x28], eax
test eax, eax
jne 0x44f2f6
xor esi, esi
xor edx, edx
mov word [esp + 0x10], si
mov word [esp + 0x12], dx
mov byte [esp + 0x14], dl
jmp 0x44f35c
push 0
lea ecx, [esp + 0x38]
push ecx
push 0
push 1
push 0
push ebx
push eax
call dword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
je 0x44f32c
mov ecx, dword [esp + 0x28]
push 0
lea eax, [esp + 0x38]
push eax
push 0
push 1
push 0
push ebx
push ecx
call dword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
jne 0x44f340
xor esi, esi
xor edx, edx
mov word [esp + 0x10], si
mov word [esp + 0x12], dx
mov byte [esp + 0x14], dl
jmp 0x44f351
mov al, byte [esp + 0x42]
mov byte [esp + 0x14], al
cmp al, 0x18
jne 0x44f351
mov byte [esp + 0x14], 0x20
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x2c]
jmp 0x44f3b5
mov edx, dword [eax + 0xe088]
mov ecx, dword [eax + 0xe084]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0xe08c]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0xe090]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0xe094]
mov eax, dword [eax + 0xe098]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov si, cx
mov eax, dword [ebp + 8]
movzx edx, si
mov dword [eax], edx
mov edx, dword [ebp + 0xc]
movzx eax, byte [esp + 0x14]
shr ecx, 0x10
mov dword [edx], ecx
mov ecx, dword [ebp + 0x10]
push ebx
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc