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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xe0
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_GetDC]
call rax
mov qword [rbp - 0x78], rax
mov rax, qword [rbp - 0x78]
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_CreateCompatibleDC]
call rax
mov qword [rbp - 0x70], rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_GetSystemMetrics]
call rax
mov dword [rbp - 0x84], eax
mov ecx, 1
mov rax, qword [sym.imp.USER32.dll_GetSystemMetrics]
call rax
mov dword [rbp - 0x80], eax
mov ecx, dword [rbp - 0x80]
mov edx, dword [rbp - 0x84]
mov rax, qword [rbp - 0x78]
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
call rax
mov qword [rbp - 0x68], rax
mov rdx, qword [rbp - 0x68]
mov rax, qword [rbp - 0x70]
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_SelectObject]
call rax
mov qword [rbp - 0x60], rax
mov ecx, dword [rbp - 0x84]
mov rax, qword [rbp - 0x70]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov rdx, qword [rbp - 0x78]
mov qword [rsp + 0x28], rdx
mov edx, dword [rbp - 0x80]
mov dword [rsp + 0x20], edx
mov r9d, ecx
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_BitBlt]
call rax
mov rdx, qword [rbp - 0x60]
mov rax, qword [rbp - 0x70]
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_SelectObject]
call rax
mov word [rbp - 0x3e], 0x4d42
mov dword [rbp - 0x34], 0x36
mov dword [rbp - 0x30], 0x28
mov eax, dword [rbp - 0x84]
mov dword [rbp - 0x2c], eax
mov eax, dword [rbp - 0x80]
mov dword [rbp - 0x28], eax
mov word [rbp - 0x24], 1
mov word [rbp - 0x22], 0x18
mov dword [rbp - 0x20], 0
mov dword [rbp - 0x1c], 0
mov dword [rbp - 0x18], 0
mov dword [rbp - 0x14], 0
mov dword [rbp - 0x10], 0
mov dword [rbp - 0xc], 0
movzx eax, word [rbp - 0x22]
movzx eax, ax
imul eax, dword [rbp - 0x84]
add eax, 0x1f
lea edx, [rax + 0x1f]
test eax, eax
cmovs eax, edx
sar eax, 5
imul eax, dword [rbp - 0x80]
shl eax, 2
mov dword [rbp - 0x7c], eax
mov eax, dword [rbp - 0x7c]
mov rdx, rax
mov ecx, 0x42
mov rax, qword [sym.imp.KERNEL32.dll_GlobalAlloc]
call rax
mov qword [rbp - 0x58], rax
mov rax, qword [rbp - 0x58]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GlobalLock]
call rax
mov qword [rbp - 0x50], rax
mov r8d, dword [rbp - 0x80]
mov rdx, qword [rbp - 0x68]
mov rax, qword [rbp - 0x70]
mov dword [rsp + 0x30], 0
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rbp - 0x50]
mov qword [rsp + 0x20], rcx
mov r9d, r8d
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_GetDIBits]
call rax
lea rax, [0x140010707]
mov rdx, rax
lea rax, str.screenshot.bmp
mov rcx, rax
call sub.msvcrt.dll_fopen
mov qword [rbp - 0x48], rax
cmp qword [rbp - 0x48], 0
je 0x140002eec
mov rdx, qword [rbp - 0x48]
lea rax, [rbp - 0x3e]
mov r9, rdx
mov r8d, 1
mov edx, 0xe
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rdx, qword [rbp - 0x48]
lea rax, [rbp - 0x30]
mov r9, rdx
mov r8d, 1
mov edx, 0x28
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov edx, dword [rbp - 0x7c]
mov rcx, qword [rbp - 0x48]
mov rax, qword [rbp - 0x50]
mov r9, rcx
mov r8d, 1
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rax, qword [rbp - 0x48]
mov rcx, rax
call sub.msvcrt.dll_fclose
mov rax, qword [rbp - 0x58]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call rax
mov rax, qword [rbp - 0x58]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GlobalFree]
call rax
mov rax, qword [rbp - 0x68]
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_DeleteObject]
call rax
mov rax, qword [rbp - 0x70]
mov rcx, rax
mov rax, qword [sym.imp.GDI32.dll_DeleteDC]
call rax
mov rax, qword [rbp - 0x78]
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_ReleaseDC]
call rax
nop
add rsp, 0xe0
pop rbp
ret