Function at 0x140068630
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 - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x1401121f0]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
movsxd rbx, edx
mov r14, rcx
mov qword [rsp + 0x60], rcx
xor edi, edi
mov dword [rsp + 0x50], edi
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
mov qword [rbp], rdi
lea r9, [rbp - 0x10]
lea r8, [0x140068fa0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayMonitors]
nop
mov rdx, qword [rbp - 0x10]
mov qword [rbp - 0x78], rdx
lea rcx, [rbx + rbx*2]
lea rbx, [rdx + rcx*8]
mov qword [rbp - 0x70], rbx
mov eax, 1
mov dword [rbp + 0x38], eax
mov qword [rbp + 0x40], rdi
mov qword [rbp + 0x48], rdi
xor r8d, r8d
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 8]
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x78], rax
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDC]
mov rsi, rax
mov qword [rsp + 0x70], rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r12, rax
mov qword [rbp - 0x80], rax
mov dword [rbp + 0x50], 0x68
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x54], xmm0
movups xmmword [rbp + 0x64], xmm0
movups xmmword [rbp + 0x74], xmm0
movups xmmword [rbp + 0x84], xmm0
movups xmmword [rbp + 0x94], xmm0
movups xmmword [rbp + 0xa4], xmm0
mov dword [rbp + 0xb4], eax
lea rdx, [rbp + 0x50]
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
mov edi, 0xdc
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0xc0]
call fcn.1400a3760
mov word [rbp + 0x104], di
lea r8, [rbp + 0xc0]
mov edx, 0xffffffff
lea rcx, [rbp + 0x78]
call qword [sym.imp.USER32.dll_EnumDisplaySettingsW]
mov eax, dword [rbp + 0x5c]
sub eax, dword [rbp + 0x54]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mov eax, dword [rbp + 0x16c]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
divss xmm2, xmm0
movd xmm1, dword [rbx + 0x10]
cvtdq2ps xmm1, xmm1
divss xmm1, xmm2
cvttss2si edi, xmm1
mov dword [rsp + 0x58], edi
movd xmm0, dword [rbx + 0x14]
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
cvttss2si r15d, xmm0
mov dword [rsp + 0x54], r15d
mov r8d, r15d
mov edx, edi
mov rcx, rsi
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r13, rax
mov qword [rsp + 0x68], rax
mov rdx, rax
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0x40cc0020
mov ecx, dword [rbx + 0xc]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rbx + 8]
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r15d
mov r9d, edi
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.GDI32.dll_BitBlt]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x24], xmm0
xor ebx, ebx
mov dword [rbp + 0x34], ebx
mov dword [rbp + 0x10], 0x28
mov dword [rbp + 0x14], edi
mov eax, r15d
neg eax
mov dword [rbp + 0x18], eax
lea esi, [rbx + 1]
mov qword [rbp + 0x1c], 0x200001
mov eax, r15d
imul eax, edi
shl eax, 2
movsxd rdi, eax
movdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rbx
test eax, eax
je 0x140068875
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.14000bc90
mov rbx, qword [rbp - 0x40]
mov r8, rdi
xor edx, edx
mov rcx, rbx
call fcn.1400a3760
lea rax, [rbx + rdi]
mov qword [rbp - 0x38], rax
xor ebx, ebx
mov dword [rsp + 0x30], ebx
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, r15d
xor r8d, r8d
mov rdx, r13
mov rcx, r12
call qword [sym.imp.GDI32.dll_GetDIBits]
mov rdx, qword [rbp - 0x40]
cmp qword [rbp - 0x38], rdx
je 0x1400688de
mov r8, rbx
mov r9, rbx
mov r10, rbx
movzx ecx, byte [rdx + r9]
movzx eax, byte [rdx + r8 + 2]
mov byte [rdx + r9], al
mov byte [rdx + r8 + 2], cl
lea r8, [r10 + 4]
mov r9, r8
mov r10, r8
mov rax, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x40]
sub rax, rdx
cmp r8, rax
jb 0x1400688b0
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14], rbx
mov qword [r14 + 8], rbx
mov qword [r14 + 0x10], rbx
mov dword [rsp + 0x50], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.1.6.39
call fcn.14006e6f0
mov qword [rbp - 0x50], rax
mov rcx, rax
call fcn.140070310
mov qword [rbp - 0x48], rax
mov r8d, 0x100
lea rdx, [0x1400a3050]
mov rcx, qword [rbp - 0x50]
call fcn.14006fd80
mov rcx, rax
mov rdx, rsp
call fcn.1400d0a40
test eax, eax
jne 0x140068bff
xor r9d, r9d
lea r8, [0x1400685f0]
mov r15, qword [rsp + 0x60]
mov rdx, r15
mov rcx, qword [rbp - 0x50]
call fcn.140070fb0
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], 6
mov dword [rsp + 0x20], 8
mov esi, dword [rsp + 0x54]
mov r9d, esi
mov r14d, dword [rsp + 0x58]
mov r8d, r14d
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
call fcn.140070e30
mov edx, 6
mov rcx, qword [rbp - 0x50]
call fcn.14006e890
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
call fcn.14006eb20
movsxd rdi, esi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], rbx
test esi, esi
je 0x140068a7c
movabs rax, 0x1fffffffffffffff
cmp rdi, rax
ja 0x140068c2d
lea rdi, [rdi*8]
cmp rdi, 0x1000
jb 0x140068a16
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x140068c33
call fcn.1400a0f60
mov rcx, rax
test rax, rax
je 0x140068c39
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140068a28
test rdi, rdi
je 0x140068a25
mov rcx, rdi
call fcn.1400a0f60
jmp 0x140068a28
mov rax, rbx
mov qword [rbp - 0x28], rax
lea rbx, [rdi + rax]
mov qword [rbp - 0x18], rbx
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.1400a3760
mov qword [rbp - 0x20], rbx
xor ebx, ebx
test esi, esi
jle 0x140068a7c
mov edx, ebx
mov r8d, ebx
lea eax, [r14*4]
movsxd r10, eax
mov r9, rsi
nop
mov rcx, qword [rbp - 0x40]
add rcx, r8
mov rax, qword [rbp - 0x28]
mov qword [rdx + rax], rcx
add r8, r10
lea rdx, [rdx + 8]
sub r9, 1
jne 0x140068a60
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x50]
call fcn.14006ea90
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
call fcn.14006e8a0
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x50]
call fcn.14006e7b0
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, qword [rbp + 8]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140068b24
mov rax, qword [rbp - 0x18]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068b13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140068c3f
call fcn.1400a0cf0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], rbx
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140068b6a
mov rdx, qword [rbp - 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068b59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140068c45
call fcn.1400a0cf0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rbx
mov r8, qword [rbp - 0x10]
test r8, r8
je 0x140068bc6
mov rcx, qword [rbp]
sub rcx, r8
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 3
mov rax, r8
cmp rdx, 0x1000
jb 0x140068bbe
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140068bf9
mov rcx, r8
call fcn.1400a0cf0
mov rax, r15
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400a0cd0
lea r11, [rsp + 0x2b0]
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
call fcn.1400af8e4
nop
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x50]
call fcn.14006e7b0
lea rdx, str.Error_during_PNG_creation
lea rcx, [rbp - 0x68]
call fcn.140002070
lea rdx, [0x140110258]
lea rcx, [rbp - 0x68]
call fcn.1400a3bc8
int3
call fcn.1400095f0
int3
call fcn.140001f40
int3
call fcn.1400af8e4
int3
call fcn.1400af8e4
nop
call fcn.1400af8e4
int3