Function at 0x140013120
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov r12, r8
mov rbx, rdx
mov rdi, rcx
mov rax, qword [rcx + 0x68]
mov qword [rsp + 0x70], rax
mov eax, 0x3971b9ee
mov r15d, 0x33687a24
jmp 0x140013170
cmove eax, esi
cmp dword [0x140094f44], 0xa
cmovge eax, r15d
setl dl
xor dl, cl
cmovne eax, esi
nop dword [rax + rax]
cmp eax, 0x33687a23
jle 0x1400131b0
cmp eax, 0x541c19a8
jg 0x1400131e0
cmp eax, 0x4d65a892
jle 0x1400132a0
cmp eax, 0x4d65a893
je 0x1400134aa
cmp eax, 0x52046bfa
je 0x1400134d0
cmp eax, 0x501cd3a2
jne 0x140013170
jmp 0x14001363c
cmp eax, 0xc8d683b1
jg 0x140013220
cmp eax, 0x947b3f34
jg 0x1400132ce
cmp eax, 0x85b7242f
je 0x14001350d
cmp eax, 0x9216ae37
jne 0x140013170
mov eax, 0x9d040e38
mov r14, r12
jmp 0x140013170
cmp eax, 0x60db8ab1
jg 0x1400133ff
cmp eax, 0x541c19a9
je 0x140013529
cmp eax, 0x5ba033ae
jne 0x140013170
mov rax, qword [rsp + 0x40]
cmp rax, r12
mov eax, 0x9d040e38
mov ecx, 0x9216ae37
cmovg eax, ecx
mov r14, qword [rsp + 0x40]
jmp 0x140013170
cmp eax, 0x59be3b4
jg 0x140013457
cmp eax, 0xc8d683b2
je 0x140013558
cmp eax, 0xe2a9a201
jne 0x140013170
mov qword [rsp + 0x38], rdi
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x40]
mov rcx, qword [rcx]
mov qword [rsp + 0x50], rcx
mov ecx, 0x43dc80b0
nop dword [rax]
cmp ecx, 0x44017ea
je 0x140013596
cmp ecx, 0x3fc2f643
je 0x140013293
cmp ecx, 0x43dc80b0
jne 0x140013260
cmp qword [rsp + 0x50], 0
mov ecx, 0x3fc2f643
mov edx, 0x44017ea
cmove ecx, edx
xor edx, edx
jmp 0x140013260
mov rcx, qword [rax + 0x58]
mov edx, dword [rcx]
mov ecx, 0x44017ea
jmp 0x140013260
cmp eax, 0x33687a24
je 0x1400135d1
cmp eax, 0x3971b9ee
jne 0x140013170
cmp qword [rsp + 0x70], 0
mov eax, 0x59be3b5
mov ecx, 0xe2a9a201
cmove eax, ecx
jmp 0x140013170
cmp eax, 0x947b3f35
je 0x1400135db
cmp eax, 0x9d040e38
jne 0x140013170
mov r15, rdi
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x40]
mov rcx, qword [rax]
mov rdx, rbx
mov r8, r14
call fcn.140035630
mov rdi, qword [rsp + 0x38]
mov ecx, dword [0x140094f48]
mov edx, dword [0x140094f4c]
lea ebp, [rcx - 1]
imul ebp, ecx
not ebp
or ebp, 0xfffffffe
cmp ebp, 0xffffffff
sete byte [rsp + 0x2f]
cmp edx, 0xa
setl byte [rsp + 0x50]
mov r9, rbx
lea rax, [rbx + r14]
mov qword [rsp + 0x60], rax
movsxd rbp, r14d
mov edx, 0x6084a105
nop
cmp edx, 0x6084a104
jg 0x140013360
cmp edx, 0x12c10a09
je 0x140013399
cmp edx, 0x3f74e4d1
jne 0x140013340
jmp 0x1400135ef
cmp edx, 0x6e7054cc
je 0x1400133ad
cmp edx, 0x6084a105
jne 0x140013340
movzx eax, byte [rsp + 0x2f]
movzx edx, byte [rsp + 0x50]
mov ebx, eax
xor bl, dl
mov ebx, 0x12c10a09
mov ecx, 0x6e7054cc
cmovne ebx, ecx
test dl, dl
mov edx, ebx
cmovne edx, ecx
test al, al
cmove edx, ebx
jmp 0x140013340
mov rax, qword [rdi + 0x58]
sub dword [rax], ebp
mov rax, qword [rdi + 0x40]
add qword [rax], rbp
mov edx, 0x6e7054cc
jmp 0x140013340
mov rax, qword [rdi + 0x58]
sub dword [rax], ebp
mov rax, qword [rdi + 0x40]
add qword [rax], rbp
mov eax, dword [0x140094f48]
mov ebx, dword [0x140094f4c]
lea edx, [rax - 1]
imul edx, eax
mov eax, edx
xor eax, 0xfffffffe
test eax, edx
sete r8b
cmp ebx, 0xa
setl cl
xor cl, r8b
mov ecx, 0x12c10a09
mov esi, 0x3f74e4d1
cmovne ecx, esi
test eax, edx
mov edx, ecx
cmove edx, esi
cmp ebx, 0xa
cmovge edx, ecx
jmp 0x140013340
cmp eax, 0x60db8ab2
je 0x14001360b
cmp eax, 0x67dec870
jne 0x140013170
mov rax, r12
movabs rcx, 0xe92e8834b2b13161
sub rax, rcx
sub rax, qword [rsp + 0x48]
add rax, rcx
mov qword [rsp + 0x78], rax
mov eax, dword [0x140094f50]
lea ecx, [rax - 1]
imul ecx, eax
mov eax, ecx
xor eax, 0xfffffffe
test eax, ecx
sete cl
mov eax, 0x60db8ab2
mov esi, 0x947b3f35
jmp 0x1400134f6
cmp eax, 0x59be3b5
je 0x14001361f
cmp eax, 0x2daafb2d
jne 0x140013170
mov rax, qword [rdi + 0x80]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
setne byte [rsp + 0x2e]
mov eax, dword [0x140094f50]
lea ecx, [rax - 1]
imul ecx, eax
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
sete cl
mov eax, 0x33687a24
mov esi, 0x85b7242f
jmp 0x140013152
mov eax, dword [0x140094f50]
lea ecx, [rax - 1]
imul ecx, eax
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
sete cl
mov eax, 0x33687a24
mov esi, 0x2daafb2d
jmp 0x140013152
mov qword [rsp + 0x48], r13
mov eax, dword [0x140094f50]
lea ecx, [rax - 1]
imul ecx, eax
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
sete cl
mov eax, 0x60db8ab2
mov esi, 0x67dec870
cmove eax, esi
cmp dword [0x140094f44], 0xa
mov edx, 0x60db8ab2
cmovge eax, edx
jmp 0x140013160
cmp byte [rsp + 0x2e], 0
mov eax, 0x52046bfa
mov ecx, 0xc8d683b2
cmovne eax, ecx
mov r13, qword [rsp + 0x30]
jmp 0x140013170
mov qword [rsp + 0x30], rbp
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x30], 0
mov eax, 0x52046bfa
mov ecx, 0x4d65a893
cmovg eax, ecx
mov r13, qword [rsp + 0x30]
jmp 0x140013170
mov r9, qword [rsp + 0x68]
mov r8, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
mov edx, 1
call fcn.14003ab3c
mov r13, qword [rsp + 0x30]
movabs rcx, 0x474854d0e54321ba
add r13, rcx
sub r13, rax
sub r13, rcx
mov eax, 0x52046bfa
jmp 0x140013170
movsxd rax, edx
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
setg cl
test r12, r12
mov eax, 0x541c19a9
mov edx, 0x5ba033ae
cmovg eax, edx
setg dl
xor dl, cl
mov ecx, 0x541c19a9
cmovne eax, ecx
mov rbp, r12
mov qword [rsp + 0x60], rbx
jmp 0x140013170
mov eax, 0x2daafb2d
jmp 0x140013170
mov eax, 0x501cd3a2
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x58], rcx
jmp 0x140013170
mov rbp, r12
sub rbp, r14
mov eax, 0x541c19a9
mov rdi, r15
mov rbx, r9
mov r15d, 0x33687a24
jmp 0x140013170
mov rax, qword [rsp + 0x48]
mov rax, qword [rsp + 0x48]
mov eax, 0x67dec870
jmp 0x140013170
mov rcx, rdi
mov rdx, rbx
mov r8, r12
call fcn.140016bf0
mov qword [rsp + 0x58], rax
mov eax, 0x501cd3a2
jmp 0x140013170
mov rax, qword [rsp + 0x58]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret