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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x90], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
mov esi, eax
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov rbp, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, esi
mov edx, ebx
mov rcx, rbp
mov r14, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rax
mov rcx, r14
mov r12, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
mov r9d, ebx
mov r13, rax
xor r8d, r8d
xor eax, eax
xor edx, edx
mov dword [rsp + 0x38], eax
mov rcx, r14
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], esi
call qword [sym.imp.GDI32.dll_BitBlt]
xor edi, edi
mov dword [rsp + 0x68], 0x28
mov qword [rsp + 0x30], rdi
lea rcx, str.screenshot.bmp
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
mov dword [rsp + 0x6c], ebx
mov dword [rsp + 0x70], esi
mov qword [rsp + 0x74], 0x180001
mov qword [rsp + 0x7c], rdi
mov qword [rsp + 0x84], rdi
mov dword [rsp + 0x8c], edi
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x140001128
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Error_creating_file__n
call fcn.1400012b0
jmp 0x140001260
mov eax, 0x4d42
mov dword [rsp + 0x5e], edi
mov word [rsp + 0x58], ax
lea r9, [rsp + 0x50]
mov eax, esi
mov dword [rsp + 0x62], 0x36
imul eax, ebx
lea rdx, [rsp + 0x58]
mov r8d, 0xe
mov qword [rsp + 0x20], rdi
mov rcx, r15
add eax, 0x12
lea eax, [rax + rax*2]
mov dword [rsp + 0x5a], eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rdi
mov r8d, 0x28
lea rdx, [rsp + 0x68]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
movzx eax, word [rsp + 0x76]
imul eax, ebx
add eax, 0x1f
cdq
and edx, 0x1f
lea edi, [rdx + rax]
sar edi, 5
imul edi, esi
shl edi, 2
mov ecx, edi
call fcn.140001568
mov rbx, rax
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x68]
mov r9d, esi
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, r12
mov qword [rsp + 0x20], rbx
mov rcx, rbp
call qword [sym.imp.GDI32.dll_GetDIBits]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], 0
mov r8d, edi
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call fcn.140001560
mov rdx, r13
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r12
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Screenshot_saved_to
call fcn.1400012b0
mov rcx, rax
lea rdx, str.screenshot.bmp
call fcn.1400012b0
lea rdx, [0x140001480]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140001540
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret