Function at 0x5a3750
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x6527c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov dword [ebp - 0x20], esi
test esi, esi
je 0x5a3798
mov eax, ebx
test eax, eax
jne 0x5a3781
call dword [sym.imp.USER32.dll_GetDesktopWindow]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
jne 0x5a37aa
push esi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005a8067
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov edx, 0xfffffff6
sub ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 8]
sub esi, dword [ebp - 0x10]
cmp dword [ebp + 0x20], 0
push edi
mov edi, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x1c], edi
je 0x5a3801
mov eax, dword [ebp + 0x18]
test eax, eax
jle 0x5a37d8
mov edi, eax
jmp 0x5a37fe
mov dword [ebp - 0x1c], edi
test eax, eax
jns 0x5a3801
cmp eax, 0xfffffff6
cmovl eax, edx
imul ecx, eax
mov eax, 0xae147ae1
imul ecx
sar edx, 5
mov edi, edx
shr edi, 0x1f
add edi, edx
mov edx, 0xfffffff6
mov dword [ebp - 0x1c], edi
cmp dword [ebp + 0x2c], 0
mov ebx, esi
mov dword [ebp - 0x18], ebx
je 0x5a383d
mov eax, dword [ebp + 0x24]
test eax, eax
jle 0x5a3817
mov ebx, eax
jmp 0x5a383a
mov dword [ebp - 0x18], ebx
test eax, eax
jns 0x5a383d
cmp eax, 0xfffffff6
mov ecx, esi
cmovl eax, edx
imul ecx, eax
mov eax, 0xae147ae1
imul ecx
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov dword [ebp - 0x18], ebx
push dword [ebp - 0x20]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebx
push edi
push dword [ebp - 0x20]
mov esi, eax
mov dword [ebp - 0x30], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, eax
push edi
push esi
mov dword [ebp - 0x24], edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 4
push esi
mov ebx, eax
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
push 0xcc0020
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push 0
push 0xfffffffffffffff8
push dword [ebp - 0x20]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_StretchBlt]
lea eax, [ebp - 0x48]
push eax
push 0x18
push edi
call dword [sym.imp.GDI32.dll_GetObjectA]
mov esi, dword [ebp - 0x40]
imul esi, dword [ebp - 0x3c]
add esi, 0x36
lea eax, [esi + 8]
push eax
call fcn.0059ebb0
mov edi, eax
xorps xmm0, xmm0
mov dword [edi + 4], esi
lea ecx, [edi + 4]
add esp, 4
mov dword [edi], 1
movq qword [ecx + 4], xmm0
mov dword [ecx + 0xc], 0
mov word [ecx + 0x10], 0
mov dword [ecx + 0xe], 0x36
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp - 0x3c]
push 0
add eax, 0x36
mov dword [ecx + 6], eax
mov eax, 0x4d42
mov word [ecx + 4], ax
add ecx, 0x12
push ecx
movups xmmword [ecx], xmm0
movups xmmword [ecx + 0x10], xmm0
movq qword [ecx + 0x20], xmm0
mov dword [ecx], 0x28
mov eax, dword [ebp - 0x44]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x40]
mov dword [ecx + 8], eax
mov eax, 1
mov word [ecx + 0xc], ax
mov ax, word [ebp - 0x36]
mov word [ecx + 0xe], ax
mov dword [ecx + 0x10], 0
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp - 0x3c]
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x14], eax
lea eax, [ecx + 0x28]
push eax
push dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
push 0
push dword [ebp - 0x24]
push esi
call dword [sym.imp.GDI32.dll_GetDIBits]
push ebx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x20]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [ebp - 0x24]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005a8067
mov esp, ebp
pop ebp
ret