Function at 0x140001a20
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r12, rcx
xor esi, esi
mov ecx, 0x50
xor ebx, ebx
xor edi, edi
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jle 0x140001ace
mov dword [rbp - 0xd], ebx
nop dword [rax]
mov dword [rbp - 0x11], esi
mov edx, 2
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.USER32.dll_MonitorFromPoint]
xor ecx, ecx
mov dword [rbp - 9], 0x28
xorps xmm0, xmm0
mov dword [rbp + 0x1b], ecx
mov rcx, rax
lea rdx, [rbp - 9]
movups xmmword [rbp - 5], xmm0
movups xmmword [rbp + 0xb], xmm0
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x140001abd
mov eax, dword [rbp + 3]
sub eax, dword [rbp - 5]
add esi, eax
mov eax, dword [rbp + 7]
sub eax, dword [rbp - 1]
cmp ebx, eax
cmovle ebx, eax
mov ecx, 0x50
inc edi
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp edi, eax
jl 0x140001a70
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov r15, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, ebx
mov edx, esi
mov rcx, r15
mov r14, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rax
mov rcx, r14
mov r13, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov ecx, 0x50
mov qword [rbp - 0x19], rax
mov rbx, rax
xor esi, esi
xor edi, edi
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jle 0x140001bb2
mov dword [rbp - 0xd], esi
mov dword [rbp - 0x11], esi
mov edx, 2
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.USER32.dll_MonitorFromPoint]
xor ecx, ecx
mov dword [rbp - 9], 0x28
xorps xmm0, xmm0
mov dword [rbp + 0x1b], ecx
mov rcx, rax
lea rdx, [rbp - 9]
movups xmmword [rbp - 5], xmm0
movups xmmword [rbp + 0xb], xmm0
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x140001b99
mov edx, dword [rbp - 5]
xor r8d, r8d
mov ecx, dword [rbp + 7]
mov eax, dword [rbp - 1]
sub ecx, eax
mov ebx, dword [rbp + 3]
mov dword [rsp + 0x40], 0xcc0020
sub ebx, edx
mov dword [rsp + 0x38], eax
mov r9d, ebx
mov dword [rsp + 0x30], edx
mov edx, esi
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], ecx
mov rcx, r14
call qword [sym.imp.GDI32.dll_BitBlt]
add esi, ebx
mov ecx, 0x50
inc edi
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp edi, eax
jl 0x140001b23
mov rbx, qword [rbp - 0x19]
lea r8, [rbp - 0x11]
mov qword [rbp - 0x11], 0
xor edx, edx
mov rcx, r13
call qword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
lea rdx, [rbp + 0x1f]
lea rcx, str.557CF406_1A04_11D3_9A73_0000F81EF32E
call qword [sym.imp.ole32.dll_CLSIDFromString]
cmp qword [r12 + 0x18], 7
jbe 0x140001be6
mov r12, qword [r12]
mov rdi, qword [rbp - 0x11]
lea r8, [rbp + 0x1f]
mov rcx, rdi
xor r9d, r9d
mov rdx, r12
call qword [sym.imp.gdiplus.dll_GdipSaveImageToFile]
mov rdx, rbx
mov rcx, r14
test eax, eax
je 0x140001c2e
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r13
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r15
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
xor bl, bl
jmp 0x140001c53
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r13
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r15
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov bl, 1
mov rcx, rdi
call qword [sym.imp.gdiplus.dll_GdipDisposeImage]
movzx eax, bl
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400062d0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret