Function at 0x14002cba0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0xc8]
sub rsp, 0x1a0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400cfdf0]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov r12, rcx
xor eax, eax
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x38]
call fcn.140029780
nop
lea r8, [0x14009a8f8]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400262f0
nop
lea r8, [0x1400d38d8]
or al, byte [rax]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140026200
nop
mov r14, qword [rsp + 0x30]
mov rsi, 0xffffffffffffffff
mov eax, esi
lock xadd dword [r14 - 8], eax
sub eax, 1
jg 0x14002cc51
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 [rsp + 0x38]
mov eax, esi
lock xadd dword [r14 - 8], eax
sub eax, 1
jg 0x14002cc80
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 r15d, r15d
mov qword [rsp + 0x50], r15
lea r8, [0x14009aaa8]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.140068b14
cmp qword [rsp + 0x50], r15
je 0x14002cebf
call fcn.140015220
mov rdi, rax
test rax, rax
je 0x14002cf20
mov rax, qword [rax]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.14000dba0]
mov rcx, rdi
call rbx
lea rbx, [rax + 0x18]
mov qword [rsp + 0x28], rbx
xor ecx, ecx
call fcn.14006d2fc
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.14006d260
test eax, eax
jne 0x14002cf2b
lea r9, [rsp + 0x68]
lea r8, str._Y__m__d__H:_M:_S
mov edx, 0x80
lea rcx, [rbp - 0x70]
call fcn.14006cf4c
test rax, rax
jne 0x14002cd1f
mov word [rbp - 0x70], r15w
call fcn.140015220
mov r14, rax
test rax, rax
je 0x14002cf36
mov rax, qword [rax]
mov rdi, qword [rax + 0x18]
mov rcx, rdi
call qword [fcn.14000dba0]
mov rcx, r14
call rdi
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rax, [rbp - 0x70]
cmp rax, 0x10000
jae 0x14002cd6d
lea rax, [rbp - 0x70]
movzx edx, ax
lea rcx, [rsp + 0x20]
call fcn.1400167e0
jmp 0x14002cd90
lea rcx, [rbp - 0x70]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], 0
jne 0x14002cd74
mov r8d, eax
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x20]
call fcn.14001b050
nop
mov rax, qword [rsp + 0x20]
lea rdx, [rax - 0x18]
lea rdi, [rbx - 0x18]
cmp rdx, rdi
je 0x14002cde4
cmp dword [rdi + 0x10], 0
jl 0x14002cdce
mov rcx, qword [rdi]
cmp qword [rdx], rcx
jne 0x14002cdce
mov rcx, rdx
call fcn.14001e050
mov rbx, rax
mov rcx, rdi
call fcn.14001a8a0
lea rax, [rbx + 0x18]
mov qword [rsp + 0x28], rax
jmp 0x14002cddf
mov r8d, dword [rax - 0x10]
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14001b050
mov rax, qword [rsp + 0x20]
lea r14, [rax - 0x18]
mov eax, esi
lock xadd dword [r14 + 0x10], eax
sub eax, 1
jg 0x14002ce10
mov rdi, qword [r14]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.14000dba0]
mov rdx, r14
mov rcx, rdi
call rbx
mov rcx, qword [rsp + 0x28]
movsxd r8, dword [rcx - 0x10]
mov r9, qword [rsp + 0x50]
mov edx, 2
call fcn.1400699ac
xor eax, eax
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x58]
mov rcx, r12
call fcn.140029a30
mov rcx, qword [rsp + 0x58]
movsxd r8, dword [rcx - 0x10]
mov r9, qword [rsp + 0x50]
mov edx, 2
call fcn.1400699ac
mov rcx, qword [rsp + 0x50]
call fcn.140068f88
mov r14, qword [rsp + 0x58]
mov eax, esi
lock xadd dword [r14 - 8], eax
sub eax, 1
jg 0x14002ce8e
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 [rsp + 0x28]
mov eax, esi
lock xadd dword [r14 - 8], eax
sub eax, 1
jg 0x14002cec5
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
jmp 0x14002cec5
mov r15d, 1
mov r14, qword [rsp + 0x60]
lock xadd dword [r14 - 8], esi
sub esi, 1
jg 0x14002cef2
mov rdi, qword [r14 - 0x18]
mov r8, qword [rdi]
mov rbx, qword [r8 + 8]
mov rcx, rbx
call qword [fcn.14000dba0]
lea rdx, [r14 - 0x18]
mov rcx, rdi
call rbx
mov eax, r15d
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.14004e4a0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140012af0
nop
mov ecx, 0x80070057
call fcn.140012af0
int3
mov ecx, 0x80004005
call fcn.140012af0
int3