Function at 0x14007d1d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
mov rax, qword [0x14008a010]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r12, rdx
mov rsi, rcx
mov edx, 0x64
lea rcx, [rbp - 1]
call fcn.140080e90
nop
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x61]
call fcn.14007e2c0
mov rbx, rax
mov qword [rbp - 0x69], rax
mov r8, rax
lea rdx, [rbp - 0x21]
call fcn.140082130
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14007d26b
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14007d266
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14007d2dc
mov rcx, r8
call fcn.14008279c
xor edx, edx
mov qword [rbx + 0x10], rdx
mov qword [rbx + 0x18], 7
mov word [rbx], dx
mov r14, qword [rsi + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r14
cmp rax, 1
jb 0x14007d5eb
mov r13, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14007d2a7
mov r13, qword [rsi]
mov qword [rsp + 0x30], rdx
mov qword [rbp - 0x79], rdx
mov qword [rbp - 0x71], rdx
lea r15, [r14 + 1]
mov edi, 0xf
lea rbx, [rsp + 0x30]
cmp r15, rdi
jbe 0x14007d350
mov rdi, r15
or rdi, 0xf
cmp rdi, rcx
jbe 0x14007d2e3
mov rdi, rcx
jmp 0x14007d2ef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov eax, 0x16
cmp rdi, rax
cmovb rdi, rax
mov rcx, rdi
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x14007d339
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14007d5e5
mov rcx, rax
call fcn.140082510
test rax, rax
je 0x14007d332
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14007d34b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14007d348
call fcn.140082510
mov rbx, rax
jmp 0x14007d34b
mov rbx, rdx
mov qword [rsp + 0x30], rbx
mov qword [rbp - 0x79], r15
mov qword [rbp - 0x71], rdi
mov r8, r14
mov rdx, r13
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + r14], 0x5c
mov byte [rbx + r15], 0
mov r9, r12
cmp qword [r12 + 0x18], 0x10
jb 0x14007d37f
mov r9, qword [r12]
mov rdi, qword [r12 + 0x10]
mov rcx, qword [rbp - 0x79]
mov rdx, qword [rbp - 0x71]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x14007d3ca
lea rax, [rcx + rdi]
mov qword [rbp - 0x79], rax
lea rbx, [rsp + 0x30]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x30]
add rbx, rcx
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
lea rax, [rsp + 0x30]
jmp 0x14007d3dc
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14007f560
xor edi, edi
mov qword [rbp - 0x41], rdi
mov qword [rbp - 0x31], rdi
mov qword [rbp - 0x29], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x41], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x31], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], dil
mov rdx, qword [rbp - 0x71]
cmp rdx, 0x10
jb 0x14007d447
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007d442
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007d442
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008279c
mov qword [rbp - 0x79], rdi
mov qword [rbp - 0x71], 0xf
mov byte [rsp + 0x30], 0
lea rcx, [rbp - 0x41]
cmp qword [rbp - 0x29], 0x10
cmovae rcx, qword [rbp - 0x41]
lea rdx, [0x1400859ac]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rbx, rax
test rax, rax
je 0x14007d4cc
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
lea rcx, [rbp - 0x21]
cmp qword [rbp - 9], 8
cmovae rcx, qword [rbp - 0x21]
mov r9, rbx
mov r8, qword [rbp - 0x11]
mov edx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdx, r12
mov rcx, rsi
call fcn.14007c7b0
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x14007d516
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007d511
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007d511
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008279c
mov qword [rbp - 0x31], rdi
mov qword [rbp - 0x29], 0xf
mov byte [rbp - 0x41], 0
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x14007d569
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007d564
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007d564
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008279c
mov qword [rbp - 0x11], rdi
mov qword [rbp - 9], 7
mov word [rbp - 0x21], di
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x14007d5bc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007d5b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007d5b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008279c
xor eax, eax
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400824f0
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140001560
nop
call fcn.140001600
int3