Function at 0x140001610
Capabilities:
Write file on windows

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, 0xc0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor r15d, r15d
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x11], xmm1
mov qword [rbp - 1], r15
lea r9, [rbp - 0x11]
lea r8, [0x140001400]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayMonitors]
mov esi, r15d
mov r9, qword [rbp - 9]
mov rcx, r9
mov r8, qword [rbp - 0x11]
sub rcx, r8
movabs r13, 0x2aaaaaaaaaaaaaab
mov rax, r13
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14000195f
mov r14d, r15d
lea rdi, [0x140004403]
lea r12, str.screenshot_
nop dword [rax]
mov rdx, rsi
lea rcx, [rbp - 0x39]
call fcn.140001bb0
nop
mov r8, qword [rbp - 0x29]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
sub rax, r8
cmp rax, 0xb
jb 0x14000174f
lea rax, [r8 + 0xb]
mov qword [rbp - 0x29], rax
lea rbx, [rbp - 0x39]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x39]
cmp rdi, rbx
jbe 0x140001706
lea rax, [rbx + r8]
cmp r12, rax
ja 0x140001706
cmp rbx, r12
ja 0x1400016fe
mov rdi, r15
jmp 0x14000170b
mov rdi, rbx
sub rdi, r12
jmp 0x14000170b
mov edi, 0xb
lea rcx, [rbx + 0xb]
inc r8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
mov r8d, 0xb
sub r8, rdi
lea rdx, [r12 + 0xb]
add rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x39]
lea rdi, [0x140004403]
jmp 0x140001766
mov qword [rsp + 0x28], 0xb
mov edx, 0xb
lea rcx, [rbp - 0x39]
call fcn.1400022f0
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x41], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x59], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x49], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rcx, qword [rbp - 0x49]
mov rdx, qword [rbp - 0x41]
mov rax, rdx
sub rax, rcx
cmp rax, 5
jb 0x1400017de
lea rax, [rcx + 5]
mov qword [rbp - 0x49], rax
lea rbx, [rbp - 0x59]
cmp rdx, 0xf
cmova rbx, qword [rbp - 0x59]
add rbx, rcx
mov r8d, 5
lea rdx, str..webp
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 5], 0
lea rax, [rbp - 0x59]
jmp 0x1400017f5
mov qword [rsp + 0x20], 5
mov edx, 5
lea rcx, [rbp - 0x59]
call fcn.140001de0
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], r15
mov qword [rbp + 0x1f], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp + 7], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x17], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x41]
cmp rdx, 0xf
jbe 0x14000185d
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001858
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400019be
call fcn.140002540
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x41], 0xf
mov byte [rbp - 0x59], 0
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x1400018a8
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400018a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400019c5
call fcn.140002540
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 0xf
cmova rcx, qword [rbp + 7]
lea rdx, [0x140004404]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rbx, rax
test rax, rax
je 0x1400018f2
mov rax, qword [rbp - 0x11]
mov rcx, qword [rax + r14]
mov r8, qword [rax + r14 + 8]
sub r8, rcx
mov r9, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x14000192d
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001928
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400019cc
call fcn.140002540
inc rsi
add r14, 0x18
mov r9, qword [rbp - 9]
mov rcx, r9
mov r8, qword [rbp - 0x11]
sub rcx, r8
mov rax, r13
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rsi, rdx
jb 0x1400016b0
test r8, r8
je 0x1400019db
mov rdx, r9
mov rcx, r8
call fcn.140001d60
mov rcx, qword [rbp - 1]
mov r8, qword [rbp - 0x11]
sub rcx, r8
mov rax, r13
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 0x1400019d3
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400019d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, r8
call fcn.140002540
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140002520
lea r11, [rsp + 0xc0]
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