Function at 0x14000c350
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov rax, qword [0x14002d040]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor edi, edi
mov r14, rdx
mov qword [rbp - 0x69], rdi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ecx, 0x4c
mov dword [rbp - 0x79], edi
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0x4d
mov esi, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea rdi, [rbp - 0x41]
mov ecx, 0xe
mov ebx, eax
xor eax, eax
rep stosb byte [rdi], al
lea rdi, [rbp - 0x31]
mov ecx, 0x28
rep stosb byte [rdi], al
lea rdi, [rbp - 9]
mov ecx, 0x2c
rep stosb byte [rdi], al
lea rdi, [rbp - 0x61]
mov ecx, 0x20
rep stosb byte [rdi], al
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov edx, 7
mov r15, rax
call qword [sym.imp.GDI32.dll_GetCurrentObject]
lea r8, [rbp - 0x61]
mov edx, 0x20
mov rcx, rax
mov rdi, rax
call qword [sym.imp.GDI32.dll_GetObjectW]
mov r12d, dword [rbp - 0x5d]
mov rcx, rdi
mov r13d, dword [rbp - 0x59]
mov dword [rbp - 0x71], r12d
mov dword [rbp - 0x75], r13d
call qword [sym.imp.GDI32.dll_DeleteObject]
mov qword [rbp - 0x25], 0x180001
mov eax, 0x4d42
movups xmm1, xmmword [rbp - 0x21]
mov dword [rbp - 0x31], 0x28
mov rcx, r15
mov dword [rbp - 0x2d], r12d
xor edi, edi
mov dword [rbp - 0x29], r13d
movups xmm0, xmmword [rbp - 0x31]
mov word [rbp - 0x41], ax
mov dword [rbp - 0x37], 0x36
movups xmmword [rbp - 9], xmm0
movsd xmm0, qword [rbp - 0x11]
movsd qword [rbp + 0x17], xmm0
movups xmmword [rbp + 7], xmm1
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea r9, [rbp - 0x69]
mov dword [rsp + 0x28], edi
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, [rbp - 9]
mov rcx, r15
mov r12, rax
call qword [sym.imp.GDI32.dll_CreateDIBSection]
mov rdx, rax
mov rcx, r12
mov r13, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
xor r8d, r8d
mov dword [rsp + 0x38], ebx
xor edx, edx
mov ebx, dword [rbp - 0x71]
mov rcx, r12
mov dword [rsp + 0x30], esi
mov r9d, ebx
mov esi, dword [rbp - 0x75]
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], esi
call qword [sym.imp.GDI32.dll_BitBlt]
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 2
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000c524
mov rcx, r12
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r15
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, r13
call qword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
jmp 0x14000c5c6
xor r14d, r14d
lea r9, [rbp - 0x79]
mov r8d, 0xe
mov qword [rsp + 0x20], r14
lea rdx, [rbp - 0x41]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea r9, [rbp - 0x79]
mov qword [rsp + 0x20], r14
mov r8d, 0x28
lea rdx, [rbp - 0x31]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [rbx + rbx*2]
mov qword [rsp + 0x20], r14
lea eax, [rax*8 + 0x1f]
mov rcx, rdi
and eax, 0xffffffe0
lea r9, [rbp - 0x79]
cdq
and edx, 7
lea r8d, [rdx + rax]
mov rdx, qword [rbp - 0x69]
sar r8d, 3
imul r8d, esi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r12
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r15
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, r13
call qword [sym.imp.GDI32.dll_DeleteObject]
mov eax, 1
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140021970
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret