Function at 0x4d0b50
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x5dafba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x374]
push eax
call fcn.005b7f57
mov edx, dword [eax + 4]
lea ecx, [esp + 0x20]
push ecx
push 0x18
push edx
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_GetObjectW]
push 0x1c
call fcn.005b449a
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
mov dword [esp + 0x40], 0
je 0x4d0c6c
mov ecx, dword [edi + 0x34c]
mov eax, dword [edi + 0x350]
mov dword [esp + 0x14], ecx
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.005b74ed
lea ebx, [esi + 0x10]
mov byte [esp + 0x40], 1
mov ecx, ebx
call fcn.004493e0
mov dword [ebx], 0x5e7c28
mov byte [esp + 0x40], 2
mov dword [esi], method.CDC.virtual_0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.005b0c08
mov edx, dword [eax + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.005b758f
mov ebp, eax
test ebp, ebp
je 0x4d0c0f
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.005b75a4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebx
call fcn.005b7f6c
test ebx, ebx
je 0x4d0c41
mov ebx, dword [ebx + 4]
mov eax, dword [esi + 4]
push ebx
push eax
call fcn.005b76e5
mov ebx, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [esi + 0x18], eax
call ebx
push eax
call fcn.005b0c08
mov ecx, dword [ebp + 4]
mov edx, dword [eax + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x4d0c74
mov ebx, dword [sym.imp.USER32.dll_GetDesktopWindow]
xor esi, esi
push 0x1c
mov dword [esp + 0x44], 0xffffffff
mov dword [edi + 0x378], esi
call fcn.005b449a
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
mov dword [esp + 0x40], 3
je 0x4d0d30
mov ecx, esi
call fcn.005b74ed
lea ebp, [esi + 0x10]
mov byte [esp + 0x40], 4
mov ecx, ebp
call fcn.004493e0
mov dword [ebp], 0x5e7c28
mov byte [esp + 0x40], 5
mov dword [esi], method.CDC.virtual_0
call ebx
push eax
call fcn.005b0c08
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.005b758f
mov ebp, eax
test ebp, ebp
je 0x4d0ceb
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.005b75a4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4d0d05
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.005b76e5
mov dword [esi + 0x18], eax
call ebx
push eax
call fcn.005b0c08
mov edx, dword [ebp + 4]
mov eax, dword [eax + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, esi
mov dword [esp + 0x10], ecx
jmp 0x4d0d3c
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x34c]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x40], 0xffffffff
jle 0x4d0db3
mov ebp, dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x28]
mov eax, dword [edi + 0x350]
xor esi, esi
test eax, eax
jle 0x4d0d9f
mov eax, dword [esp + 0x10]
mov edx, dword [edi + 0x378]
test eax, eax
je 0x4d0d77
mov eax, dword [eax + 4]
push 0xcc0020
mov edx, dword [edx + 4]
push 0
push 0
push eax
push ecx
mov ecx, dword [esp + 0x38]
push ecx
push esi
push ebx
push edx
call ebp
mov ecx, dword [esp + 0x28]
mov eax, dword [edi + 0x350]
add esi, ecx
cmp esi, eax
jl 0x4d0d66
mov edx, dword [esp + 0x24]
mov eax, dword [edi + 0x34c]
add ebx, edx
cmp ebx, eax
jl 0x4d0d5a
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
test ecx, ecx
je 0x4d0dc2
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret