Function at 0x140014de6
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp - 0x38], rcx
mov eax, dword [0x1403bb6ec]
mov ecx, dword [0x1403bb734]
lea edx, [rax - 1]
imul edx, eax
mov eax, edx
xor eax, 0xfffffffe
test eax, edx
sete byte [rbp + 7]
cmp ecx, 0xa
setl byte [rbp + 6]
mov eax, 0xaade42d5
mov rdi, qword [fcn.1401188b0]
mov r13d, 0xaeed36a4
mov r12d, 0x5fb8486e
lea r14, [0x14011a6f5]
mov r15d, 0xca52dfc0
cmp eax, 0xe81182d8
jle 0x140014f90
cmp eax, 0x4e41d184
jle 0x140014fd9
cmp eax, 0x55853d88
jg 0x1400152ca
cmp eax, 0x4e41d185
je 0x1400153e8
cmp eax, 0x5368867d
jne 0x140014e48
mov eax, 0x10
call fcn.1401138e0
sub rsp, rax
mov rax, rsp
mov qword [rbp - 0x28], rax
sub rsp, 0x20
mov ecx, 2
call rdi
add rsp, 0x20
mov rsi, rax
mov byte [rbp - 0x10], 1
mov eax, dword [0x1403bbae8]
lea ecx, [rax - 1]
imul ecx, eax
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
setne al
sete cl
cmp dword [0x1403bb7c8], 0xa
setge dl
setl bl
xor bl, cl
or dl, al
xor dl, 1
or dl, bl
mov eax, 0xdfc148a2
cmovne eax, r13d
mov ecx, 0xdfc148a2
cmovne ecx, r12d
mov edx, 0x8ef83fb0
cmp edx, 0x23cd74d7
jg 0x140014f0f
cmp edx, 0x8ef83fb0
je 0x140014f24
cmp edx, 0x99c558a5
jne 0x140014eec
mov edx, 0x41ad664e
mov r8, qword [rbp - 8]
jmp 0x140014eec
cmp edx, 0x23cd74d8
je 0x140014f3a
cmp edx, 0x41ad664e
jne 0x140014eec
jmp 0x1400154d4
cmp byte [rbp - 0x10], 0
mov edx, 0x41ad664e
mov ebx, 0x23cd74d8
cmovne edx, ebx
xor r8d, r8d
jmp 0x140014eec
mov qword [rbp - 0x18], 0x10
mov edx, 0xc5214f36
cmp edx, 0xdfc148a1
jg 0x140014f63
cmp edx, 0xaeed36a4
je 0x140014f7e
cmp edx, 0xc5214f36
jne 0x140014f47
mov edx, ecx
jmp 0x140014f47
cmp edx, 0xdfc148a2
je 0x140014f77
cmp edx, 0x5fb8486e
jne 0x140014f47
mov edx, eax
jmp 0x140014f47
mov edx, 0x5fb8486e
jmp 0x140014f47
mov rdx, qword [rbp - 0x18]
mov qword [rbp - 8], rdx
mov edx, 0x99c558a5
jmp 0x140014eec
cmp eax, 0xaade42d4
jle 0x14001529f
cmp eax, 0xca559f69
jg 0x1400152ea
cmp eax, 0xaade42d5
je 0x140015537
cmp eax, 0xb6c1cee2
jne 0x140014e48
sub rsp, 0x20
mov ecx, 2
call rdi
add rsp, 0x20
mov qword [rbp - 0x30], rax
mov eax, 0x55853d89
jmp 0x140014e48
cmp eax, 0xe81182d9
je 0x14001555f
cmp eax, 0x2da390cc
je 0x140015569
cmp eax, 0x3d24d40c
jne 0x140014e48
mov r10d, 0x5fb8486e
mov rax, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x38]
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
mov r8, qword [rbp - 0x28]
mov eax, dword [0x1403bb658]
lea ecx, [rax - 1]
imul ecx, eax
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
setne al
sete cl
cmp dword [0x1403bb764], 0xa
setge dl
setl bl
xor bl, cl
or dl, al
xor dl, 1
or dl, bl
mov r9d, 0x6ad675ae
mov eax, 0xe600a273
cmovne r9d, eax
mov ecx, 0x6ad675ae
mov eax, 0x7dbe0dbe
cmovne ecx, eax
mov qword [rbp - 0x10], r8
mov ebx, 0x102aa29b
mov eax, 0xe45edbcd
cmovne ebx, eax
mov edi, 0x102aa29b
mov eax, 0xc6793753
cmovne edi, eax
mov edx, 0xc9be3b42
mov eax, edx
cmp edx, 0x102aa29a
jle 0x1400150c0
cmp eax, 0x6ad675ad
jle 0x1400150f5
cmp eax, 0x7c6507ef
jg 0x14001514d
cmp eax, 0x6ad675ae
je 0x140015168
mov edx, eax
cmp eax, 0x75e6f88e
jne 0x140015081
cmp byte [rbp + 5], 0
mov edx, 0x3591e058
cmovne edx, r15d
jmp 0x140015081
cmp eax, 0xca52dfbf
jg 0x140015122
mov edx, ecx
cmp eax, 0xa830078d
je 0x140015081
mov edx, ebx
cmp eax, 0xc6793753
je 0x140015081
mov edx, eax
cmp eax, 0xc9be3b42
jne 0x140015081
mov rax, qword [rbp - 0x10]
cmp qword [rax], 0
sete byte [rbp + 5]
mov edx, 0x75e6f88e
jmp 0x140015081
cmp eax, 0x102aa29b
je 0x140015176
cmp eax, 0x1a61970c
je 0x140015180
mov edx, eax
cmp eax, 0x3591e058
jne 0x140015081
mov rax, qword [r8 + 8]
mov qword [rbp - 8], rax
mov edx, 0xa830078d
jmp 0x140015081
mov edx, edi
cmp eax, 0xca52dfc0
je 0x140015081
cmp eax, 0xe45edbcd
je 0x14001518e
mov edx, eax
cmp eax, 0xe600a273
jne 0x140015081
mov edx, 0x1a61970c
jmp 0x140015081
cmp eax, 0x7dbe0dbe
jne 0x14001519b
mov rax, qword [rbp - 8]
add rax, 8
mov qword [rbp - 0x18], rax
mov edx, r9d
jmp 0x140015081
mov rax, qword [rbp - 8]
mov edx, 0x7dbe0dbe
jmp 0x140015081
mov edx, 0xc6793753
jmp 0x140015081
mov edx, 0x7c6507f0
mov rsi, qword [rbp - 0x18]
jmp 0x140015081
mov edx, 0x7c6507f0
mov rsi, r14
jmp 0x140015081
mov edx, eax
cmp eax, 0x7c6507f0
jne 0x140015081
mov rax, qword [rbp - 0x20]
mov rdi, qword [rbp - 0x40]
test rsi, rsi
setne byte [rbp - 0x10]
mov eax, dword [0x1403bbae8]
lea ecx, [rax - 1]
imul ecx, eax
mov eax, ecx
xor eax, 0xfffffffe
test eax, ecx
sete al
cmp dword [0x1403bb7c8], 0xa
setl cl
mov edx, ecx
and dl, al
xor cl, al
or cl, dl
mov r12d, 0xdfc148a2
cmovne r12d, r13d
mov r13d, 0xdfc148a2
cmovne r13d, r10d
mov eax, 0x8ef83fb0
cmp eax, 0x23cd74d7
jg 0x140015218
cmp eax, 0x8ef83fb0
je 0x14001522b
cmp eax, 0x99c558a5
jne 0x1400151f8
mov eax, 0x41ad664e
mov rbx, qword [rbp - 8]
jmp 0x1400151f8
cmp eax, 0x23cd74d8
je 0x140015240
cmp eax, 0x41ad664e
jne 0x1400151f8
jmp 0x140015586
cmp byte [rbp - 0x10], 0
mov eax, 0x41ad664e
mov ecx, 0x23cd74d8
cmovne eax, ecx
xor ebx, ebx
jmp 0x1400151f8
sub rsp, 0x20
mov rcx, rsi
call sub.msvcrt.dll_strlen
add rsp, 0x20
mov qword [rbp - 0x18], rax
mov eax, 0xc5214f36
cmp eax, 0xdfc148a1
jg 0x140015273
cmp eax, 0xaeed36a4
je 0x14001528d
cmp eax, 0xc5214f36
jne 0x140015259
mov eax, r13d
jmp 0x140015259
cmp eax, 0xdfc148a2
je 0x140015286
cmp eax, 0x5fb8486e
jne 0x140015259
mov eax, r12d
jmp 0x140015259
mov eax, 0x5fb8486e
jmp 0x140015259
mov rax, qword [rbp - 0x18]
mov qword [rbp - 8], rax
mov eax, 0x99c558a5
jmp 0x1400151f8
cmp eax, 0x8545bc6d
je 0x1400155d9
cmp eax, 0x8a4708b4
je 0x1400155ef
cmp eax, 0xa4002023
jne 0x140014e48
mov eax, 0x2da390cc
jmp 0x140014e48
cmp eax, 0x55853d89
je 0x1400156e9
cmp eax, 0x75eca5bc
jne 0x140014e48
mov eax, 0xa4002023
jmp 0x140014e48
cmp eax, 0xde709cb7
jne 0x1400157d2
mov rsi, qword [rbp - 0x30]
mov byte [rbp - 0x10], 1
mov eax, dword [0x1403bbae8]
lea ecx, [rax - 1]
imul ecx, eax
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
setne al
sete cl
cmp dword [0x1403bb7c8], 0xa
setge dl
setl bl
xor bl, cl
or dl, al
xor dl, 1
or dl, bl
mov eax, 0xdfc148a2
cmovne eax, r13d
mov ecx, 0xdfc148a2
cmovne ecx, r12d
mov edx, 0x8ef83fb0
cmp edx, 0x23cd74d7
jg 0x140015367
cmp edx, 0x8ef83fb0
je 0x14001537c
cmp edx, 0x99c558a5
jne 0x140015344
mov edx, 0x41ad664e
mov r8, qword [rbp - 8]
jmp 0x140015344
cmp edx, 0x23cd74d8
je 0x140015392
cmp edx, 0x41ad664e
jne 0x140015344
jmp 0x14001570c
cmp byte [rbp - 0x10], 0
mov edx, 0x41ad664e
mov ebx, 0x23cd74d8
cmovne edx, ebx
xor r8d, r8d
jmp 0x140015344
mov qword [rbp - 0x18], 0x30
mov edx, 0xc5214f36
cmp edx, 0xdfc148a1
jg 0x1400153bb
cmp edx, 0xaeed36a4
je 0x1400153d6
cmp edx, 0xc5214f36
jne 0x14001539f
mov edx, ecx
jmp 0x14001539f
cmp edx, 0xdfc148a2
je 0x1400153cf
cmp edx, 0x5fb8486e
jne 0x14001539f
mov edx, eax
jmp 0x14001539f
mov edx, 0x5fb8486e
jmp 0x14001539f
mov rdx, qword [rbp - 0x18]
mov qword [rbp - 8], rdx
mov edx, 0x99c558a5
jmp 0x140015344
mov rsi, qword [rbp - 0x30]
mov eax, dword [0x1403bbae8]
lea ecx, [rax - 1]
imul ecx, eax
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
sete al
cmp dword [0x1403bb7c8], 0xa
mov byte [rbp - 0x10], 1
setl cl
mov edx, ecx
and dl, al
xor cl, al
or cl, dl
mov eax, 0xdfc148a2
cmovne eax, r13d
mov ecx, 0xdfc148a2
cmovne ecx, r12d
mov edx, 0x8ef83fb0
cmp edx, 0x23cd74d7
jg 0x140015453
cmp edx, 0x8ef83fb0
je 0x140015468
cmp edx, 0x99c558a5
jne 0x140015430
mov edx, 0x41ad664e
mov r8, qword [rbp - 8]
jmp 0x140015430
cmp edx, 0x23cd74d8
je 0x14001547e
cmp edx, 0x41ad664e
jne 0x140015430
jmp 0x14001576f
cmp byte [rbp - 0x10], 0
mov edx, 0x41ad664e
mov ebx, 0x23cd74d8
cmovne edx, ebx
xor r8d, r8d
jmp 0x140015430
mov qword [rbp - 0x18], 0x30
mov edx, 0xc5214f36
cmp edx, 0xdfc148a1
jg 0x1400154a7
cmp edx, 0xaeed36a4
je 0x1400154c2
cmp edx, 0xc5214f36
jne 0x14001548b
mov edx, ecx
jmp 0x14001548b
cmp edx, 0xdfc148a2
je 0x1400154bb
cmp edx, 0x5fb8486e
jne 0x14001548b
mov edx, eax
jmp 0x14001548b
mov edx, 0x5fb8486e
jmp 0x14001548b
mov rdx, qword [rbp - 0x18]
mov qword [rbp - 8], rdx
mov edx, 0x99c558a5
jmp 0x140015430
sub rsp, 0x20
mov edx, 1
lea rcx, [0x14011a440]
mov r9, rsi
call sub.msvcrt.dll_fwrite
mov rcx, rsi
call sub.msvcrt.dll_fflush
mov ecx, 2
call rdi
add rsp, 0x20
mov qword [rbp - 0x40], rax
mov eax, dword [0x1403bb6ec]
lea ecx, [rax - 1]
imul ecx, eax
mov eax, ecx
xor eax, 0xfffffffe
test eax, ecx
sete cl
mov eax, 0x8a4708b4
mov ebx, 0xe81182d9
cmove eax, ebx
cmp dword [0x1403bb734], 0xa
mov edx, 0x8a4708b4
jmp 0x14001575f
mov cl, byte [rbp + 7]
mov al, byte [rbp + 6]
mov edx, ecx
xor dl, al
mov edx, 0x8a4708b4
mov ebx, 0x5368867d
cmovne edx, ebx
test al, al
mov eax, edx
cmovne eax, ebx
test cl, cl
cmove eax, edx
jmp 0x140014e48
mov eax, 0x8545bc6d
jmp 0x140014e48
sub rsp, 0x20
mov ecx, 2
call rdi
add rsp, 0x20
mov qword [rbp - 0x48], rax
mov eax, 0xca559f6a
jmp 0x140014e48
sub rsp, 0x20
mov edx, 1
mov rcx, rsi
mov r8, rbx
mov r9, rdi
call sub.msvcrt.dll_fwrite
mov rcx, rdi
call sub.msvcrt.dll_fflush
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x20
cmp eax, 0xc1
mov eax, 0x2da390cc
mov ecx, 0xb6c1cee2
cmove eax, ecx
mov rdi, qword [fcn.1401188b0]
mov r13d, 0xaeed36a4
mov r12d, 0x5fb8486e
jmp 0x140014e48
mov rax, qword [rbp - 0x28]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, 0x3d24d40c
jmp 0x140014e48
sub rsp, 0x20
mov ecx, 2
call rdi
add rsp, 0x20
mov rsi, rax
mov eax, dword [0x1403bbae8]
lea ecx, [rax - 1]
imul ecx, eax
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
sete al
cmp dword [0x1403bb7c8], 0xa
mov byte [rbp - 0x10], 1
setl cl
mov edx, ecx
and dl, al
xor cl, al
or cl, dl
mov eax, 0xdfc148a2
cmovne eax, r13d
mov ecx, 0xdfc148a2
cmovne ecx, r12d
mov edx, 0x8ef83fb0
cmp edx, 0x23cd74d7
jg 0x140015668
cmp edx, 0x8ef83fb0
je 0x14001567d
cmp edx, 0x99c558a5
jne 0x140015645
mov edx, 0x41ad664e
mov r8, qword [rbp - 8]
jmp 0x140015645
cmp edx, 0x23cd74d8
je 0x140015693
cmp edx, 0x41ad664e
jne 0x140015645
jmp 0x14001579d
cmp byte [rbp - 0x10], 0
mov edx, 0x41ad664e
mov ebx, 0x23cd74d8
cmovne edx, ebx
xor r8d, r8d
jmp 0x140015645
mov qword [rbp - 0x18], 0x10
mov edx, 0xc5214f36
cmp edx, 0xdfc148a1
jg 0x1400156bc
cmp edx, 0xaeed36a4
je 0x1400156d7
cmp edx, 0xc5214f36
jne 0x1400156a0
mov edx, ecx
jmp 0x1400156a0
cmp edx, 0xdfc148a2
je 0x1400156d0
cmp edx, 0x5fb8486e
jne 0x1400156a0
mov edx, eax
jmp 0x1400156a0
mov edx, 0x5fb8486e
jmp 0x1400156a0
mov rdx, qword [rbp - 0x18]
mov qword [rbp - 8], rdx
mov edx, 0x99c558a5
jmp 0x140015645
mov eax, dword [0x1403bb6ec]
lea ecx, [rax - 1]
imul ecx, eax
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
sete cl
mov eax, 0x4e41d185
mov ebx, 0xde709cb7
jmp 0x140015750
sub rsp, 0x20
mov edx, 1
lea rcx, str._n_bad_format__library_may_be_wrong_architecture_
mov r9, rsi
call sub.msvcrt.dll_fwrite
mov rcx, rsi
call sub.msvcrt.dll_fflush
add rsp, 0x20
mov eax, dword [0x1403bb6ec]
lea ecx, [rax - 1]
imul ecx, eax
mov eax, ecx
xor eax, 0xfffffffe
test eax, ecx
sete cl
mov eax, 0x4e41d185
mov ebx, 0x75eca5bc
cmove eax, ebx
cmp dword [0x1403bb734], 0xa
mov edx, 0x4e41d185
cmovge eax, edx
setl dl
xor dl, cl
cmovne eax, ebx
jmp 0x140014e48
sub rsp, 0x20
mov edx, 1
lea rcx, str._n_bad_format__library_may_be_wrong_architecture_
mov r9, rsi
call sub.msvcrt.dll_fwrite
mov rcx, rsi
call sub.msvcrt.dll_fflush
add rsp, 0x20
mov eax, 0xde709cb7
jmp 0x140014e48
sub rsp, 0x20
mov edx, 1
lea rcx, [0x14011a440]
mov r9, rsi
call sub.msvcrt.dll_fwrite
mov rcx, rsi
call sub.msvcrt.dll_fflush
mov ecx, 2
call rdi
add rsp, 0x20
mov eax, 0x5368867d
jmp 0x140014e48
cmp eax, 0xca559f6a
jne 0x140014e48
mov rcx, qword [rbp - 0x48]
sub rsp, 0x20
lea rdx, [0x14011a482]
call fcn.1400157fc
mov ecx, 1
call sub.msvcrt.dll_exit
int3