Function at 0x4812c0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b3f0
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x5b0008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x470], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x474], eax
lea eax, [esi + 0x2c8]
push eax
mov dword [ebp - 0x47c], eax
mov dword [ebp - 0x478], 0x38
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [esi + 0xa8]
test eax, eax
jne 0x4814b5
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x448], eax
test eax, eax
jne 0x48136f
push str.vncServer::GetScreenInfo_:_Failed_rootdc__n
push eax
push 0x5b0d48
call fcn.0041cc90
xor esi, esi
add esp, 0xc
mov dword [ebp - 0x460], esi
xor cl, cl
jmp 0x4814ec
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 8
push eax
call esi
movzx edi, ax
push 0xa
push dword [ebp - 0x448]
mov ax, di
mov dword [ebp - 0x464], eax
mov word [ebp - 0x460], ax
call esi
movzx eax, ax
push eax
push edi
mov edi, dword [ebp - 0x448]
push edi
mov word [ebp - 0x45e], ax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x448], eax
test eax, eax
jne 0x4813d5
xor esi, esi
mov byte [ebp - 0x444], al
push edi
push esi
mov dword [ebp - 0x460], esi
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x4814e6
push 0x430
lea eax, [ebp - 0x440]
push 0
push eax
call fcn.0051b450
add esp, 0xc
mov dword [ebp - 0x43c], 0x28
xor eax, eax
mov word [ebp - 0x42e], ax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
mov dword [ebp - 0x468], esi
test esi, esi
jne 0x48141f
mov dword [ebp - 0x460], esi
mov byte [ebp - 0x444], al
jmp 0x48149e
push 0
lea eax, [ebp - 0x43c]
push eax
push 0
push 1
push 0
push dword [ebp - 0x448]
push esi
call dword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
je 0x481483
push 0
lea eax, [ebp - 0x43c]
push eax
push 0
push 1
push 0
push dword [ebp - 0x448]
push esi
call dword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
je 0x481483
cmp byte [ebp - 0x42e], 0x18
mov edx, 0x20
movzx ecx, byte [ebp - 0x42e]
mov esi, dword [ebp - 0x464]
cmove ecx, edx
mov dword [ebp - 0x444], ecx
jmp 0x481492
xor esi, esi
mov byte [ebp - 0x444], 0
mov dword [ebp - 0x460], esi
push dword [ebp - 0x468]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x448]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x4814e6
movups xmm0, xmmword [eax + 0xe3cc]
movups xmmword [ebp - 0x460], xmm0
mov si, word [ebp - 0x460]
movq xmm0, qword [eax + 0xe3dc]
mov al, byte [ebp - 0x45c]
movq qword [ebp - 0x450], xmm0
mov dword [ebp - 0x444], eax
mov ecx, dword [ebp - 0x444]
mov edx, dword [ebp - 0x46c]
push dword [ebp - 0x47c]
movzx eax, si
mov dword [edx], eax
mov edx, dword [ebp - 0x470]
mov eax, dword [ebp - 0x460]
shr eax, 0x10
mov dword [edx], eax
movzx eax, cl
mov ecx, dword [ebp - 0x474]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00519459
mov esp, ebp
pop ebp
ret 0xc