Function at 0x140068260
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov r14, rcx
add rcx, 0x50c0
call fcn.1400d5164
lea r15, [r14 + 0x5e68]
mov rcx, r15
call fcn.1400d5164
mov rcx, r15
call fcn.1400d5164
mov rcx, r15
call fcn.1400d5164
lea rdx, [0x14015723e]
lea rcx, [rsp + 0x40]
call fcn.140003880
nop
lea rdx, [0x1401bb1d8]
lea rcx, [rsp + 0x40]
call fcn.140003940
mov rbx, qword [rsp + 0x40]
lea rbp, [rbx - 0xc]
xor r12d, r12d
cmp dword [rbp], r12d
jl 0x1400682f1
mov qword [rsp + 0x48], rbx
lock add dword [rbp], 1
mov rbx, qword [rsp + 0x40]
jmp 0x140068315
mov rax, qword [0x1401a8058]
mov qword [rsp + 0x48], rax
mov rcx, rbx
call qword [0x140155830]
mov r8, rbx
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.1400035cc
lea rcx, [rsp + 0x48]
call fcn.1400de210
mov rdi, rax
mov rcx, qword [0x1401a8058]
mov qword [rsp + 0xe0], rcx
mov edx, eax
lea rcx, [rsp + 0xe0]
call fcn.140002cfc
cmp dword [rbp], r12d
jl 0x140068357
mov qword [rsp + 0x50], rbx
lock add dword [rbp], 1
mov rbx, qword [rsp + 0x40]
jmp 0x14006837b
mov rax, qword [0x1401a8058]
mov qword [rsp + 0x50], rax
mov rcx, rbx
call qword [0x140155830]
mov r8, rbx
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.1400035cc
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x50]
call fcn.1400a8f14
mov esi, dword [0x1401bb3a4]
mov dword [rsp + 0xd8], esi
xor edx, edx
lea rcx, [rsp + 0xe0]
call fcn.140002cfc
mov r13, rax
mov rcx, qword [0x1401a8058]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0xe8], rcx
mov edx, edi
lea rcx, [rsp + 0xe8]
call fcn.140002cfc
mov rcx, qword [rsp + 0xe0]
xor edi, edi
cmp dword [rcx - 8], edi
jl 0x140068588
lea rdx, [0x140157b18]
call fcn.14011b5ec
mov rsi, rax
cmp rax, rdi
je 0x140068578
sub rsi, qword [rsp + 0xe0]
sar rsi, 1
cmp esi, 0xffffffff
je 0x140068581
xor r15d, r15d
movsxd rdi, esi
movzx ebx, word [r13 + rdi*2]
mov word [r13 + rdi*2], r15w
movsxd rax, r12d
lea rdx, [r13 + rax*2]
lea rcx, [rsp + 0x58]
call fcn.14000a8dc
nop
mov word [r13 + rdi*2], bx
lea r12d, [rsi + 2]
mov rdi, qword [rsp + 0x58]
cmp dword [rdi - 8], r15d
jl 0x1400684c0
lea rdx, str.Spatlen_
mov rcx, rdi
call fcn.14011b5ec
cmp rax, r15
je 0x1400684c0
sub rax, rdi
sar rax, 1
cmp eax, r15d
jne 0x1400684c0
lea rdx, [0x14015723e]
lea rcx, [rsp + 0x68]
call fcn.140003880
nop
mov rbx, qword [rsp + 0x68]
mov r8, rbx
mov edx, dword [rbx - 8]
lea rcx, [rsp + 0xe8]
call fcn.1400026b8
nop
lea rcx, [rbx - 0xc]
cmp rcx, qword [0x1401a8050]
je 0x1400684f6
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, r15d
jg 0x1400684b9
call fcn.14011be18
mov rdi, qword [rsp + 0x58]
jmp 0x1400684f6
mov rdi, qword [rsp + 0x58]
jmp 0x1400684f6
mov r8, rdi
mov edx, dword [rdi - 8]
lea rcx, [rsp + 0xe8]
call fcn.1400026b8
lea rcx, [0x140157b18]
call qword [0x140155830]
lea r8, [0x140157b18]
mov edx, eax
lea rcx, [rsp + 0xe8]
call fcn.1400026b8
mov rax, qword [rsp + 0xe0]
cmp r12d, r15d
jl 0x140068535
cmp r12d, dword [rax - 8]
jg 0x140068535
movsxd rcx, r12d
lea rcx, [rax + rcx*2]
lea rdx, [0x140157b18]
call fcn.14011b5ec
cmp rax, r15
jne 0x140068526
or esi, 0xffffffff
jmp 0x140068538
sub rax, qword [rsp + 0xe0]
sar rax, 1
mov esi, eax
jmp 0x140068538
or esi, 0xffffffff
lea rcx, [rdi - 0xc]
cmp rcx, qword [0x1401a8050]
je 0x140068558
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, r15d
jg 0x140068558
call fcn.14011be18
cmp esi, 0xffffffff
jne 0x140068411
mov rbx, qword [rsp + 0x40]
lea r15, [r14 + 0x5e68]
mov esi, dword [rsp + 0xd8]
xor edi, edi
jmp 0x140068588
mov esi, dword [rsp + 0xd8]
jmp 0x140068588
mov esi, dword [rsp + 0xd8]
cmp dword [rbp], edi
jl 0x140068599
mov qword [rsp + 0x60], rbx
lock add dword [rbp], 1
jmp 0x1400685be
mov rax, qword [0x1401a8058]
mov qword [rsp + 0x60], rax
mov rcx, rbx
call qword [0x140155830]
mov r8, rbx
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.1400035cc
nop
mov rax, qword [rsp + 0xe8]
movsxd r13, dword [rax - 8]
mov eax, 0xfeff
mov word [rsp + 0xd0], ax
lea rdx, [0x140157588]
mov rbx, qword [rsp + 0x60]
mov rcx, rbx
call fcn.14011cecc
mov r12, rax
cmp esi, edi
je 0x14006863b
mov r9, rax
mov esi, 2
lea r8d, [rsi - 1]
mov rdx, rsi
lea rcx, [rsp + 0xd0]
call fcn.14011ccec
lea edx, [r13 + r13 + 1]
lea rcx, [rsp + 0xe8]
call fcn.140002cfc
mov rcx, rax
mov r9, r12
mov r8, r13
mov rdx, rsi
call fcn.14011ccec
mov rcx, r12
call fcn.14011cad8
jmp 0x1400686a3
mov edx, r13d
lea rcx, [rsp + 0xe8]
call fcn.140002cfc
mov rdi, rax
mov edx, r13d
lea rcx, [rsp + 0xe0]
call fcn.140002cfc
mov rsi, rax
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rax
or r9d, 0xffffffff
mov r8, rdi
xor edx, edx
xor ecx, ecx
call qword [0x140155790]
mov r8, r13
mov r9, r12
mov edx, 1
mov rcx, rsi
call fcn.14011ccec
mov rcx, r12
call fcn.14011cad8
lea rcx, [r14 + 0x50c0]
call fcn.1400d5164
mov rcx, r15
call fcn.1400d5164
lea rcx, [r14 + 0x6c10]
call fcn.1400d5164
lea rcx, [r14 + 0x79b8]
call fcn.1400d5164
nop
lea rcx, [rbx - 0xc]
cmp rcx, qword [0x1401a8050]
je 0x1400686f5
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rcx], eax
add eax, ebx
xor edi, edi
cmp eax, edi
jg 0x1400686fa
call fcn.14011be18
jmp 0x1400686fa
or ebx, 0xffffffff
xor edi, edi
mov rcx, qword [rsp + 0xe8]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x1401a8050]
je 0x140068721
mov eax, ebx
lock xadd dword [rcx], eax
add eax, ebx
cmp eax, edi
jg 0x140068721
call fcn.14011be18
nop
mov rcx, qword [rsp + 0x70]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x1401a8050]
je 0x140068745
mov eax, ebx
lock xadd dword [rcx], eax
add eax, ebx
cmp eax, edi
jg 0x140068745
call fcn.14011be18
nop
mov rcx, qword [rsp + 0xe0]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x1401a8050]
je 0x140068778
mov eax, ebx
lock xadd dword [rcx], eax
add eax, ebx
cmp eax, edi
jg 0x140068778
mov rcx, qword [rsp + 0xe0]
add rcx, 0xfffffffffffffff4
call fcn.14011be18
nop
cmp rbp, qword [0x1401a8050]
je 0x140068796
mov eax, ebx
lock xadd dword [rbp], eax
add eax, ebx
cmp eax, edi
jg 0x140068796
mov rcx, rbp
call fcn.14011be18
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret