Function at 0x14003e720
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x1a0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400cfdf0]
xor rax, rsp
mov qword [rbp + 0x90], rax
xor eax, eax
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x38]
call fcn.14003a1d0
nop
lea r8, [0x14009a8f8]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400262f0
nop
lea r8, [0x1400d4128]
mov rdx, rax
lea rcx, [rsp + 0x58]
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 0x14003e7cf
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 0x14003e7fe
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 + 0x58]
lea rcx, [rsp + 0x50]
call fcn.140068b14
cmp qword [rsp + 0x50], r15
je 0x14003e9df
call fcn.140015220
mov rdi, rax
test rax, rax
je 0x14003ea41
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 + 0x60]
call fcn.14006d260
test eax, eax
jne 0x14003ea4c
lea r9, [rsp + 0x60]
lea r8, str._Y__m__d__H:_M:_S
mov edx, 0x80
lea rcx, [rbp - 0x70]
call fcn.14006cf4c
test rax, rax
jne 0x14003e89d
mov word [rbp - 0x70], r15w
call fcn.140015220
mov r14, rax
test rax, rax
je 0x14003ea57
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 0x14003e8eb
lea rax, [rbp - 0x70]
movzx edx, ax
lea rcx, [rsp + 0x20]
call fcn.1400167e0
jmp 0x14003e90e
lea rcx, [rbp - 0x70]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], 0
jne 0x14003e8f2
mov r8d, eax
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x20]
call fcn.14001b050
nop
mov rax, qword [rsp + 0x20]
lea rcx, [rax - 0x18]
lea rdi, [rbx - 0x18]
cmp rcx, rdi
je 0x14003e95f
cmp dword [rdi + 0x10], 0
jl 0x14003e949
mov rdx, qword [rdi]
cmp qword [rcx], rdx
jne 0x14003e949
call fcn.14001e050
mov rbx, rax
mov rcx, rdi
call fcn.14001a8a0
lea rax, [rbx + 0x18]
mov qword [rsp + 0x28], rax
jmp 0x14003e95a
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 0x14003e98b
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 rbx, qword [rsp + 0x28]
movsxd r8, dword [rbx - 0x10]
mov r9, qword [rsp + 0x50]
mov edx, 2
mov rcx, rbx
call fcn.1400699ac
mov rcx, qword [rsp + 0x50]
call fcn.140068f88
nop
lea r14, [rbx - 0x18]
mov eax, esi
lock xadd dword [r14 + 0x10], eax
sub eax, 1
jg 0x14003e9e5
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
jmp 0x14003e9e5
mov r15d, 1
mov r14, qword [rsp + 0x58]
lock xadd dword [r14 - 8], esi
sub esi, 1
jg 0x14003ea12
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 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, 0x80004005
call fcn.140012af0
nop
mov ecx, 0x80070057
call fcn.140012af0
int3
mov ecx, 0x80004005
call fcn.140012af0
int3