Function at 0x14000c350
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 ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
mov dword [rbp - 0x25], eax
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r15d, eax
mov qword [rbp - 0xd], 0x180001
mov eax, ebx
mov dword [rbp - 0x19], 0x28
cdq
mov dword [rbp - 1], 0xec4
sub eax, edx
mov dword [rbp + 3], 0xec4
sar eax, 1
mov r13d, eax
mov eax, r15d
cdq
sub eax, edx
sar eax, 1
mov r14d, eax
mov eax, 0x140
cmp r13d, eax
cmovg r13d, eax
mov eax, 0xf0
cmp r14d, eax
cmovg r14d, eax
xor ebx, ebx
lea ecx, [r13 + 3]
mov qword [rbp + 7], rbx
and ecx, 0xfffffffc
mov dword [rbp - 0x11], r14d
mov eax, ecx
mov dword [rbp - 0x15], ecx
imul eax, r14d
xor ecx, ecx
mov dword [rbp + 0xf], ebx
lea eax, [rax + rax*2]
mov dword [rbp - 5], eax
call qword [sym.imp.USER32.dll_GetDC]
mov dword [rsp + 0x28], ebx
lea r9, [rbp - 0x21]
mov rcx, rax
mov qword [rsp + 0x20], rbx
xor r8d, r8d
lea rdx, [rbp - 0x19]
mov rsi, rax
call qword [sym.imp.GDI32.dll_CreateDIBSection]
mov rcx, rsi
mov r12, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rcx, rax
mov rdx, r12
mov rdi, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x50], 0xcc0020
mov r9d, r13d
mov dword [rsp + 0x48], r15d
mov rbx, rax
mov eax, dword [rbp - 0x25]
xor r15d, r15d
mov dword [rsp + 0x40], eax
xor r8d, r8d
mov dword [rsp + 0x38], r15d
xor edx, edx
mov dword [rsp + 0x30], r15d
mov rcx, rdi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r14d
call qword [sym.imp.GDI32.dll_StretchBlt]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
lea rcx, str._simple.bmp
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov edx, dword [rbp - 0x19]
lea r9, [rbp - 0x29]
add edx, 0xe
mov dword [rbp + 0x1d], r15d
mov dword [rbp + 0x21], edx
lea r8d, [r15 + 0xe]
add edx, dword [rbp - 5]
mov rbx, rax
mov dword [rbp + 0x19], edx
mov eax, 0x4d42
lea rdx, [rbp + 0x17]
mov word [rbp + 0x17], ax
mov rcx, rbx
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea r9, [rbp - 0x29]
mov qword [rsp + 0x20], r15
lea r8d, [r15 + 0x28]
mov rcx, rbx
lea rdx, [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, dword [rbp - 5]
lea r9, [rbp - 0x29]
mov rdx, qword [rbp - 0x21]
mov rcx, rbx
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r12
call qword [sym.imp.GDI32.dll_DeleteObject]
lea rcx, str.Created__simple.bmp_n
call fcn.14000caa0
mov qword [rsp + 0x30], r15
lea rcx, str._simple.txt
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
lea r9, [rbp - 0x29]
mov qword [rsp + 0x20], r15
mov rcx, rax
lea rdx, str.Few_things_are_more_distressing_r_nto_a_well_regulated_mind_r_nthan_to_see_a_boy_who_ought_to_know_better_r_ndisporting_himself_at_improper_moments._r_n
mov r8d, 0x90
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.Created__simple.txt_n
call fcn.14000caa0
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14000ce70
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