Function at 0x1400268e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x38]
sub rsp, 0x138
mov qword [rbp - 8], 0xfffffffffffffffe
mov rax, qword [0x1400cfdf0]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov r15, r9
mov r13, rdx
mov qword [rsp + 0x40], rcx
mov qword [rbp], r9
mov r12, qword [rbp + 0xa0]
mov qword [rbp + 8], r12
mov esi, 0xffffffff
test rdx, rdx
je 0x140026db0
mov rax, qword [r9]
cmp dword [rax - 0x10], 0
jle 0x140026db0
xor eax, eax
mov qword [rbp + 0x20], rax
lea r8, [0x14009a8f8]
mov rdx, r12
lea rcx, [rbp - 0x40]
call fcn.1400262f0
nop
mov r8, r15
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.140026200
nop
lea r8, [0x1400d38c8]
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.140026200
nop
mov r14, qword [rbp - 0x48]
mov eax, esi
lock xadd dword [r14 - 8], eax
sub eax, 1
jg 0x1400269b5
mov rdi, qword [r14 - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.14000dba0]
lea rdx, [r14 - 0x18]
mov rcx, rdi
call rbx
nop
mov r14, qword [rbp - 0x40]
mov eax, esi
lock xadd dword [r14 - 8], eax
sub eax, 1
jg 0x1400269e3
mov rdi, qword [r14 - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.14000dba0]
lea rdx, [r14 - 0x18]
mov rcx, rdi
call rbx
mov qword [rbp + 0x10], 0
lea r8, [0x1400992e8]
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x10]
call fcn.140068b14
mov r9, qword [rbp + 0x10]
test r9, r9
je 0x140026d5d
mov word [rbp + 0x18], 0xfeff
mov edx, 1
lea r8d, [rdx + 1]
lea rcx, [rbp + 0x18]
call fcn.1400699ac
lea rax, [rbp - 0x38]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rax
lea rdx, [0x140097a34]
lea rcx, [rbp - 0x38]
call fcn.140025e50
mov rbx, rax
mov rcx, qword [0x1400d3890]
add rcx, 0xffffffffffffffe8
call fcn.14001e050
add rax, 0x18
mov qword [rsp + 0x60], rax
mov rcx, qword [0x1400d3888]
add rcx, 0xffffffffffffffe8
call fcn.14001e050
add rax, 0x18
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x90]
mov r8, r13
lea rdx, [rbp - 0x30]
mov rcx, qword [rsp + 0x40]
call fcn.140029d60
mov r8, qword [rax]
lea rdx, str._s_r_n
mov rcx, qword [rbp + 0x10]
call fcn.14002cfe0
mov r14, qword [rbp - 0x30]
mov eax, esi
lock xadd dword [r14 - 8], eax
sub eax, 1
jg 0x140026aee
mov rdi, qword [r14 - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.14000dba0]
lea rdx, [r14 - 0x18]
mov rcx, rdi
call rbx
lea rax, [rbp - 0x28]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rax
lea rdx, [0x140097a34]
lea rcx, [rbp - 0x28]
call fcn.140025e50
mov rbx, rax
mov rcx, qword [0x1400d3898]
add rcx, 0xffffffffffffffe8
call fcn.14001e050
add rax, 0x18
mov qword [rsp + 0x70], rax
mov rcx, qword [0x1400d3888]
add rcx, 0xffffffffffffffe8
call fcn.14001e050
add rax, 0x18
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x90]
mov r8, r13
lea rdx, [rbp - 0x20]
mov rcx, qword [rsp + 0x40]
call fcn.140029d60
mov r8, qword [rax]
lea rdx, str._s_r_n
mov rcx, qword [rbp + 0x10]
call fcn.14002cfe0
mov r14, qword [rbp - 0x20]
mov eax, esi
lock xadd dword [r14 - 8], eax
sub eax, 1
jg 0x140026bb8
mov rdi, qword [r14 - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.14000dba0]
lea rdx, [r14 - 0x18]
mov rcx, rdi
call rbx
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x58], rax
mov rcx, qword [0x1400d38a8]
add rcx, 0xffffffffffffffe8
call fcn.14001e050
add rax, 0x18
mov qword [rbp - 0x80], rax
mov rcx, qword [0x1400d38a0]
add rcx, 0xffffffffffffffe8
call fcn.14001e050
add rax, 0x18
mov qword [rbp - 0x78], rax
mov rcx, qword [0x1400d3888]
add rcx, 0xffffffffffffffe8
call fcn.14001e050
add rax, 0x18
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x90]
mov r8, r13
lea rdx, [rbp - 0x18]
mov rcx, qword [rsp + 0x40]
call fcn.140029d60
mov r8, qword [rax]
lea rdx, str._s_r_n
mov rcx, qword [rbp + 0x10]
call fcn.14002cfe0
mov r14, qword [rbp - 0x18]
mov eax, esi
lock xadd dword [r14 - 8], eax
sub eax, 1
jg 0x140026c86
mov rdi, qword [r14 - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.14000dba0]
lea rdx, [r14 - 0x18]
mov rcx, rdi
call rbx
lea rax, [rbp - 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x58], rax
mov rcx, qword [0x1400d38b8]
add rcx, 0xffffffffffffffe8
call fcn.14001e050
add rax, 0x18
mov qword [rbp - 0x68], rax
mov rcx, qword [0x1400d38a0]
add rcx, 0xffffffffffffffe8
call fcn.14001e050
add rax, 0x18
mov qword [rbp - 0x60], rax
mov rcx, qword [0x1400d3888]
add rcx, 0xffffffffffffffe8
call fcn.14001e050
add rax, 0x18
mov qword [rbp - 0x58], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x90]
mov r8, r13
lea rdx, [rbp - 0x10]
mov rcx, qword [rsp + 0x40]
call fcn.140029d60
mov r8, qword [rax]
lea rdx, str._s_r_n
mov rcx, qword [rbp + 0x10]
call fcn.14002cfe0
mov r14, qword [rbp - 0x10]
mov eax, esi
lock xadd dword [r14 - 8], eax
sub eax, 1
jg 0x140026d54
mov rdi, qword [r14 - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.14000dba0]
lea rdx, [r14 - 0x18]
mov rcx, rdi
call rbx
mov rcx, qword [rbp + 0x10]
call fcn.140068f88
mov rcx, qword [rbp + 0x20]
add rcx, 0xffffffffffffffe8
call fcn.14001e050
add rax, 0x18
mov qword [rbp - 0x50], rax
lea rdx, [rbp - 0x50]
mov rcx, qword [rsp + 0x40]
call fcn.140029520
nop
mov r14, qword [rbp + 0x20]
mov eax, esi
lock xadd dword [r14 - 8], eax
sub eax, 1
jg 0x140026db0
mov rdi, qword [r14 - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.14000dba0]
lea rdx, [r14 - 0x18]
mov rcx, rdi
call rbx
nop
mov r14, qword [r15]
mov eax, esi
lock xadd dword [r14 - 8], eax
sub eax, 1
jg 0x140026dde
mov rdi, qword [r14 - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.14000dba0]
lea rdx, [r14 - 0x18]
mov rcx, rdi
call rbx
nop
mov r14, qword [r12]
lock xadd dword [r14 - 8], esi
sub esi, 1
jg 0x140026e0a
mov rdi, qword [r14 - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.14000dba0]
lea rdx, [r14 - 0x18]
mov rcx, rdi
call rbx
xor eax, eax
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.14004e4a0
add rsp, 0x138
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret