Function at 0x1400a96f0
Capabilities:
Capture screenshot
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x3f]
sub rsp, 0xf8
mov rax, qword [0x14013b4f8]
xor rax, rsp
mov qword [rbp + 0x1f], rax
xor ebx, ebx
mov qword [rbp - 0x59], rdx
cmp qword [0x14013e6d8], rbx
mov rsi, rcx
mov qword [rbp - 0x61], rbx
jne 0x1400a9759
lea rcx, str.dwmapi.dll
call fcn.1400a4240
mov qword [0x14013e6d8], rax
test rax, rax
je 0x1400a974f
lea rdx, str.DwmGetWindowAttribute
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x1400a9752
mov rax, rbx
mov qword [0x14013e6e0], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rdi, rax
test rax, rax
jne 0x1400a978d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400a42b0
mov rdx, rax
lea rcx, str.GetDC_window_:__s
call fcn.1400a6690
mov rbx, rax
jmp 0x1400a9a96
mov rax, qword [0x14013e6e0]
mov qword [rsp + 0x130], r12
mov qword [rsp + 0xf0], r13
mov qword [rsp + 0xe8], r14
mov r14d, 0x20
mov qword [rsp + 0xe0], r15
test rax, rax
je 0x1400a97ef
lea r9d, [r14 - 0x10]
mov rcx, rsi
lea r8, [rbp - 0x31]
lea edx, [r14 - 0x17]
call rax
test eax, eax
js 0x1400a97ef
mov r12d, dword [rbp - 0x2d]
mov r14d, dword [rbp - 0x29]
mov r13d, dword [rbp - 0x31]
sub r14d, r13d
mov esi, dword [rbp - 0x25]
sub esi, r12d
mov dword [rbp - 0x69], r12d
jmp 0x1400a9825
xorps xmm0, xmm0
mov edx, 7
mov rcx, rdi
movups xmmword [rbp - 0x51], xmm0
movups xmmword [rbp - 0x41], xmm0
call qword [sym.imp.GDI32.dll_GetCurrentObject]
lea r8, [rbp - 0x51]
mov edx, r14d
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetObjectA]
mov r14d, dword [rbp - 0x4d]
mov r13d, ebx
mov esi, dword [rbp - 0x49]
mov dword [rbp - 0x69], ebx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r15, rax
test rax, rax
jne 0x1400a9865
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400a42b0
mov rdx, rax
lea rcx, str.CreateCompatibleDC_desktop_window_dc_:__s
call fcn.1400a6690
mov rdx, rdi
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x1400a9a76
mov r8d, esi
mov edx, r14d
mov rcx, rdi
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r12, rax
test rax, rax
jne 0x1400a98ab
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400a42b0
mov rdx, rax
lea rcx, str.CreateCompatibleBitmap:__s
call fcn.1400a6690
mov rdx, rdi
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x1400a9a6d
mov rdx, r12
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectObject]
test rax, rax
jne 0x1400a98e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400a42b0
mov rdx, rax
lea rcx, str.SelectObject:__s
call fcn.1400a6690
mov rbx, rax
jmp 0x1400a9a59
mov eax, dword [rbp - 0x69]
mov r9d, r14d
mov dword [rsp + 0x40], 0xcc0020
xor r8d, r8d
mov dword [rsp + 0x38], eax
xor edx, edx
mov dword [rsp + 0x30], r13d
mov rcx, r15
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], esi
call qword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x1400a9936
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400a42b0
mov rdx, rax
lea rcx, str.BitBlt:__s
call fcn.1400a6690
mov rbx, rax
jmp 0x1400a9a59
movsxd rax, r14d
xorps xmm0, xmm0
movsxd rcx, esi
mov edx, 1
imul rcx, rax
movdqu xmmword [rbp + 3], xmm0
xor r8d, r8d
mov qword [rbp + 0x13], rbx
shl rcx, 2
mov qword [rbp - 0x69], rcx
mov dword [rbp - 0x11], 0x28
mov dword [rbp - 0xd], r14d
mov dword [rbp - 9], esi
mov qword [rbp - 5], 0x200001
call fcn.1400a64d0
mov r13, rax
mov qword [rbp - 0x61], rax
lea rax, [rbp - 0x11]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
mov r9d, esi
xor r8d, r8d
mov qword [rsp + 0x20], r13
mov rdx, r12
mov rcx, rdi
call qword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
jne 0x1400a99c5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400a42b0
mov rdx, rax
lea rcx, str.GetDIBits__get_data_:__s
call fcn.1400a6690
mov rbx, rax
mov r14, qword [rbp - 0x59]
lea rdx, [0x1400b64cc]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rsi, rax
test rax, rax
jne 0x1400a99f5
mov rdx, r14
lea rcx, str._s:_unable_to_open_file
call fcn.1400a6690
mov rbx, rax
jmp 0x1400a9a59
mov r14, qword [rbp - 0x69]
lea rcx, [rbp - 0x21]
mov eax, 0x4d42
mov dword [rbp - 0x17], 0x36
mov edx, 1
mov word [rbp - 0x21], ax
mov r9, rsi
lea eax, [r14 + 0x36]
mov dword [rbp - 0x1f], eax
lea r8d, [rdx + 0xd]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov edx, 1
lea rcx, [rbp - 0x11]
mov r9, rsi
lea r8d, [rdx + 0x27]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, rsi
mov r8, r14
mov edx, 1
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, r12
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteObject]
mov r14, qword [rsp + 0xe8]
mov r13, qword [rsp + 0xf0]
mov r12, qword [rsp + 0x130]
mov r15, qword [rsp + 0xe0]
mov rcx, qword [rbp - 0x61]
call fcn.1400a62e0
mov rax, rbx
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400b0530
add rsp, 0xf8
pop rdi
pop rsi
pop rbx
pop rbp
ret