Function at 0x140005560
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov rax, qword [0x140015010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rcx
mov dword [rbp - 0x29], 1
xor r14d, r14d
mov qword [rbp - 0x21], r14
mov qword [rbp - 0x19], r14
xor r8d, r8d
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x31]
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
lea ecx, [r14 + 1]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], rax
lea rax, vtable.Gdiplus::Bitmap.0
mov qword [rbp - 0x11], rax
mov qword [rbp - 0x41], r14
lea rax, [rbp - 0x41]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9d, 0x26200a
xor r8d, r8d
mov edx, ebx
mov ecx, edi
call qword [sym.imp.gdiplus.dll_GdipCreateBitmapFromScan0]
mov dword [rbp - 1], eax
mov r15, qword [rbp - 0x41]
mov qword [rbp - 9], r15
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp - 0x41], r14
lea rdx, [rbp - 0x41]
mov rcx, r15
call qword [sym.imp.gdiplus.dll_GdipGetImageGraphicsContext]
mov r14d, eax
mov rax, qword [rbp - 0x41]
mov qword [rbp - 0x51], rax
mov qword [rbp + 7], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r13, rax
mov qword [rbp - 0x59], rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r12, rax
mov r8d, ebx
mov edx, edi
mov rcx, r13
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r13, rax
mov rdx, rax
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rbp - 0x49], rax
mov dword [rsp + 0x40], 0xcc0020
xor r8d, r8d
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], r8d
mov rax, qword [rbp - 0x59]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
mov r9d, edi
xor edx, edx
mov rcx, r12
call qword [sym.imp.GDI32.dll_BitBlt]
mov ecx, 0x18
call qword [sym.imp.gdiplus.dll_GdipAlloc]
mov rbx, rax
xor edi, edi
test rax, rax
je 0x1400056f0
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
lea rax, vtable.Gdiplus::Bitmap.0
mov qword [rbx], rax
mov qword [rbp - 0x39], rdi
lea r8, [rbp - 0x39]
xor edx, edx
mov rcx, r13
call qword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov dword [rbx + 0x10], eax
mov rdx, qword [rbp - 0x39]
mov qword [rbx + 8], rdx
jmp 0x1400056f3
mov rdx, rdi
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp - 0x51]
call qword [sym.imp.gdiplus.dll_GdipDrawImageI]
test eax, eax
cmovne r14d, eax
mov dword [rbp + 0xf], r14d
lea rdx, [rbp + 0x17]
lea rcx, str.557CF406_1A04_11D3_9A73_0000F81EF32E
call qword [sym.imp.ole32.dll_CLSIDFromString]
cmp qword [rsi + 0x18], 0x10
jb 0x140005731
mov r14, qword [rsi]
mov rbx, r14
add r14, qword [rsi + 0x10]
jmp 0x14000573b
mov r14, qword [rsi + 0x10]
add r14, rsi
mov rbx, rsi
xorps xmm0, xmm0
movups xmmword [rbp - 0x79], xmm0
cmp rbx, r14
jne 0x140005765
mov qword [rbp - 0x69], rdi
mov edi, 7
mov qword [rbp - 0x61], rdi
xor r8d, r8d
mov word [rbp - 0x79], r8w
lea rdx, [rbp - 0x79]
jmp 0x1400058ae
mov rax, r14
sub rax, rbx
mov rdx, rdi
mov qword [rbp - 0x69], rdx
mov edi, 7
mov qword [rbp - 0x61], rdi
movabs rcx, 0x7ffffffffffffffe
cmp rax, rcx
ja 0x14000597e
cmp rax, 8
jb 0x140005850
mov rdi, rax
or rdi, 7
cmp rdi, rcx
jbe 0x1400057a9
mov rdi, rcx
jmp 0x1400057b5
mov eax, 0xa
cmp rdi, rax
cmovb rdi, rax
mov rax, rdi
add rax, 1
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
movabs rcx, 0x7fffffffffffffff
cmp rax, rcx
ja 0x140005978
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x140005825
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140005978
mov rcx, rax
call fcn.14000c220
mov rcx, rax
test rax, rax
je 0x1400058f5
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov rdx, qword [rbp - 0x69]
xor r8d, r8d
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x61], rdi
jmp 0x140005860
test rcx, rcx
je 0x140005840
call fcn.14000c220
mov rdx, qword [rbp - 0x69]
xor r8d, r8d
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x61], rdi
jmp 0x140005860
xor r8d, r8d
mov eax, r8d
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x61], rdi
jmp 0x140005860
xor r8d, r8d
nop dword [rax]
nop word [rax + rax]
lea rcx, [rbp - 0x79]
cmp rdi, 8
cmovae rcx, qword [rbp - 0x79]
movsx eax, byte [rbx]
mov word [rcx + rdx*2], ax
mov rdx, qword [rbp - 0x69]
inc rdx
mov qword [rbp - 0x69], rdx
inc rbx
cmp rbx, r14
je 0x14000588d
mov rdi, qword [rbp - 0x61]
jmp 0x140005860
lea rax, [rbp - 0x79]
cmp qword [rbp - 0x61], 8
cmovae rax, qword [rbp - 0x79]
mov word [rax + rdx*2], r8w
lea rdx, [rbp - 0x79]
cmp qword [rbp - 0x61], 8
cmovae rdx, qword [rbp - 0x79]
xor r9d, r9d
lea r8, [rbp + 0x17]
mov rcx, r15
call qword [sym.imp.gdiplus.dll_GdipSaveImageToFile]
mov rdx, qword [rbp - 0x61]
cmp rdx, 8
jb 0x140005901
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400058fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400058fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000c264
mov rdx, qword [rbp - 0x49]
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r13
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r12
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, qword [rbp - 0x59]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
nop
mov rcx, qword [rbp - 0x51]
call qword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
nop
mov rcx, r15
call qword [sym.imp.gdiplus.dll_GdipDisposeImage]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14000c200
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001110
nop
call fcn.1400011b0
int3