Function at 0x14007286c
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov dword [r11 + 0x20], r9d
mov dword [r11 + 0x18], r8d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
mov r12, qword [rbp + 0x68]
lea r9, [rbp + 0x60]
mov rsi, qword [rbp + 0x60]
xor r13d, r13d
mov r14, rcx
mov dword [rbp + 0x60], r13d
mov rbx, rdx
mov qword [r11 - 0x48], r13
lea rdx, [rbp + 0x68]
mov eax, dword [rsi + 0x10]
lea r8d, [r13 + 4]
lea eax, [rax*2 + 0x26]
sub eax, dword [r12]
add eax, dword [r12 + 8]
mov dword [rbp + 0x68], eax
mov rax, qword [rcx]
mov rcx, qword [rax]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dil, 1
test eax, eax
je 0x1400728e7
cmp dword [rbp + 0x60], 4
mov r15b, dil
je 0x1400728ea
mov r15b, r13b
mov rax, qword [r14]
lea r9, [rbp + 0x60]
mov dword [rbp + 0x60], r13d
mov r8d, 0x10
mov rdx, rbx
mov qword [rsp + 0x20], r13
mov rcx, qword [rax]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14007291c
cmp dword [rbp + 0x60], 0x10
mov bl, dil
je 0x14007291f
mov bl, r13b
mov rax, qword [r14]
lea r9, [rbp + 0x60]
mov dword [rbp + 0x60], r13d
lea rdx, [rbp + 0x50]
and bl, r15b
mov qword [rsp + 0x20], r13
mov r15d, 4
mov rcx, qword [rax]
mov r8d, r15d
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140072955
cmp dword [rbp + 0x60], r15d
je 0x140072958
mov bl, r13b
mov rax, qword [r14]
lea r9, [rbp + 0x60]
mov dword [rbp + 0x60], r13d
lea rdx, [rbp + 0x58]
mov r8d, r15d
mov qword [rsp + 0x20], r13
mov rcx, qword [rax]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140072988
mov al, dil
cmp dword [rbp + 0x60], r15d
je 0x14007298b
mov al, r13b
and bl, al
mov dword [rbp + 0x60], r13d
mov eax, dword [rsi + 0x10]
lea r9, [rbp + 0x60]
mov r8d, r15d
mov qword [rsp + 0x20], r13
lea rdx, [rbp + 0x68]
lea eax, [rax*2 + 2]
mov dword [rbp + 0x68], eax
mov rax, qword [r14]
mov rcx, qword [rax]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400729c7
cmp dword [rbp + 0x60], r15d
je 0x1400729ca
mov bl, r13b
cmp qword [rsi + 0x18], 8
mov rax, qword [r14]
mov dword [rbp + 0x60], r13d
jb 0x1400729db
mov rsi, qword [rsi]
mov rax, qword [rax]
lea r9, [rbp + 0x60]
mov r8d, dword [rbp + 0x68]
mov rdx, rsi
mov qword [rsp + 0x20], r13
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140072a06
mov eax, dword [rbp + 0x68]
cmp dword [rbp + 0x60], eax
mov al, dil
je 0x140072a09
mov al, r13b
and bl, al
mov dword [rbp + 0x60], r13d
mov eax, dword [r12 + 8]
lea r9, [rbp + 0x60]
sub eax, dword [r12]
lea rdx, [rbp + 0x68]
mov dword [rbp + 0x68], eax
mov r8d, r15d
mov rax, qword [r14]
mov qword [rsp + 0x20], r13
mov rcx, qword [rax]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140072a44
cmp dword [rbp + 0x60], r15d
je 0x140072a47
mov bl, r13b
mov r8d, dword [rbp + 0x68]
test r8d, r8d
je 0x140072a82
mov rax, qword [r14]
lea r9, [rbp + 0x60]
mov rdx, qword [r12]
mov dword [rbp + 0x60], r13d
mov qword [rsp + 0x20], r13
mov rcx, qword [rax]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140072a7c
mov eax, dword [rbp + 0x68]
cmp dword [rbp + 0x60], eax
je 0x140072a7f
mov dil, r13b
and bl, dil
movzx eax, bl
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret