Function at 0x1400ef150
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 8]
sub rsp, 0x108
mov rax, qword [0x140214ba0]
xor rax, rsp
mov qword [rbp - 8], rax
mov r15d, r9d
mov dword [rsp + 0x40], r9d
mov r12, r8
mov qword [rsp + 0x48], r8
mov rsi, rdx
mov rdi, rcx
call fcn.1400eec40
test al, al
jne 0x1400ef1cc
mov qword [rsp + 0x28], rdi
lea rax, str.CreateDir_failed_for__s
mov qword [rsp + 0x20], rax
mov r9d, 0x86
lea r8, str.NWebAdvisor::NUtils::StoreBufferInFile
lea rdx, str.c:jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterFileUtils.cpp
mov ecx, 1
call fcn.1400ebbc0
xor al, al
jmp 0x1400ef78c
lea rax, [0x1401e63d8]
test rsi, rsi
cmove rsi, rax
xor r13d, r13d
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x38], r13
mov r14d, 7
mov qword [rbp - 0x30], r14
mov word [rbp - 0x48], r13w
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop
inc r8
cmp word [rsi + r8*2], r13w
jne 0x1400ef200
mov rdx, rsi
lea rcx, [rbp - 0x48]
call fcn.1400260f0
nop
test rdi, rdi
jne 0x1400ef231
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rbp - 0x38]
movups xmmword [rbp - 0x60], xmm1
jmp 0x1400ef64f
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x10], r14
mov word [rbp - 0x28], r13w
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1400ef242
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.1400260f0
nop
mov rdx, qword [rbp - 0x18]
test rdx, rdx
jne 0x1400ef2bb
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rbp - 0x38]
movups xmmword [rbp - 0x60], xmm1
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1400ef2b6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ef2b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ef7b8
call fcn.14014f900
nop
jmp 0x1400ef64f
lea rax, [rbp - 0x28]
mov rsi, qword [rbp - 0x28]
mov r12, qword [rbp - 0x10]
cmp r12, 8
cmovae rax, rsi
lea r13, [rdx + rdx]
mov qword [rbp - 0x80], r13
movabs rcx, 0x7ffffffffffffffe
cmp word [rax + r13 - 2], 0x5c
jne 0x1400ef436
mov rax, rcx
sub rax, rdx
mov r15, qword [rbp - 0x38]
cmp rax, r15
jb 0x1400ef7b2
lea rax, [rbp - 0x28]
cmp r12, 8
cmovae rax, rsi
mov qword [rbp - 0x78], rax
lea rax, [rbp - 0x48]
mov rbx, qword [rbp - 0x48]
mov r13, qword [rbp - 0x30]
cmp r13, 8
cmovae rax, rbx
mov qword [rsp + 0x50], rax
xor eax, eax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
lea rax, [rdx + r15]
mov qword [rsp + 0x78], rax
lea rdi, [rbp - 0x70]
cmp rax, 7
jbe 0x1400ef381
mov r14, rax
or r14, 7
cmp r14, rcx
jbe 0x1400ef35c
mov r14, rcx
jmp 0x1400ef368
mov eax, 0xa
cmp r14, rax
cmovb r14, rax
lea rdx, [r14 + 1]
lea rcx, [rbp - 0x70]
call fcn.140026380
mov rdi, rax
mov qword [rbp - 0x70], rax
mov rax, qword [rsp + 0x78]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], r14
mov r14, qword [rbp - 0x80]
mov r8, r14
mov rdx, qword [rbp - 0x78]
mov rcx, rdi
call fcn.140152550
lea rcx, [rdi + r14]
lea r8, [r15 + r15]
mov rdx, qword [rsp + 0x50]
call fcn.140152550
mov rax, qword [rsp + 0x78]
xor r8d, r8d
mov word [rdi + rax*2], r8w
cmp r12, 8
jb 0x1400ef3f7
lea rdx, [r12*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400ef3ee
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ef7b8
mov rcx, rsi
call fcn.14014f900
nop
cmp r13, 8
jb 0x1400ef642
lea rdx, [r13*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400ef42e
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ef7ac
mov rcx, rbx
jmp 0x1400ef63d
cmp rdx, rcx
je 0x1400ef7be
lea rax, [rbp - 0x28]
cmp r12, 8
cmovae rax, rsi
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x70], r8
lea r15, [rdx + 1]
mov rbx, r14
lea rdi, [rsp + 0x58]
cmp r15, rbx
jbe 0x1400ef4ab
mov rbx, r15
or rbx, 7
cmp rbx, rcx
jbe 0x1400ef484
mov rbx, rcx
jmp 0x1400ef490
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x58]
call fcn.140026380
mov rdi, rax
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], rbx
mov r8, r13
mov rdx, rax
mov rcx, rdi
call fcn.140152550
mov eax, 0x5c
mov word [rdi + r13], ax
xor ebx, ebx
mov word [rdi + r15*2], bx
lea r9, [rbp - 0x48]
mov r15, qword [rbp - 0x48]
mov r13, qword [rbp - 0x30]
cmp r13, 8
cmovae r9, r15
mov rcx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x70]
mov rax, r8
sub rax, rcx
mov rdx, qword [rbp - 0x38]
cmp rdx, rax
ja 0x1400ef53a
lea rdi, [rcx + rdx]
mov qword [rsp + 0x68], rdi
lea rbx, [rsp + 0x58]
cmp r8, 8
cmovae rbx, qword [rsp + 0x58]
lea rcx, [rbx + rcx*2]
lea r8, [rdx + rdx]
mov rdx, r9
call fcn.140152550
xor r8d, r8d
mov word [rbx + rdi*2], r8w
lea rax, [rsp + 0x58]
xor ebx, ebx
jmp 0x1400ef554
mov qword [rsp + 0x20], rdx
xor r8d, r8d
lea rcx, [rsp + 0x58]
call fcn.140024050
mov r13, qword [rbp - 0x30]
mov r15, qword [rbp - 0x48]
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], r14
mov word [rax], bx
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1400ef5bc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ef5b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ef7c4
call fcn.14014f900
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], r14
mov word [rsp + 0x58], bx
cmp r12, 8
jb 0x1400ef607
lea rdx, [r12*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400ef5fe
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ef7ca
mov rcx, rsi
call fcn.14014f900
nop
cmp r13, 8
jb 0x1400ef642
lea rdx, [r13*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x1400ef63a
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ef7d0
mov rcx, r15
call fcn.14014f900
xor r13d, r13d
mov r12, qword [rsp + 0x48]
mov r15d, dword [rsp + 0x40]
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rcx, qword [rbp - 0x70]
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400ef6d6
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rcx, qword [rbp - 0x70]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rcx
lea rax, str.CreateFile_failed_for__s:__d
mov qword [rsp + 0x20], rax
mov r9d, 0x8e
lea r8, str.NWebAdvisor::NUtils::StoreBufferInFile
lea rdx, str.c:jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterFileUtils.cpp
lea ecx, [rbx + 2]
call fcn.1400ebbc0
xor dil, dil
jmp 0x1400ef74c
mov qword [rsp + 0x50], rbx
mov dword [rbp - 0x50], r13d
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x50]
mov r8d, r15d
mov rdx, r12
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400ef706
cmp dword [rbp - 0x50], r15d
jne 0x1400ef706
mov dil, 1
jmp 0x1400ef73d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
lea rax, str.WriteFile_failed:__d
mov qword [rsp + 0x20], rax
mov r9d, 0x96
lea r8, str.NWebAdvisor::NUtils::StoreBufferInFile
lea rdx, str.c:jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterFileUtils.cpp
mov ecx, 1
call fcn.1400ebbc0
xor dil, dil
test rbx, rbx
je 0x1400ef74c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x1400ef788
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ef783
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ef7ac
call fcn.14014f900
movzx eax, dil
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14014f8e0
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140156b00
nop
call fcn.140020840
nop
call fcn.140156b00
nop
call fcn.140020840
int3
call fcn.140156b00
nop
call fcn.140156b00
nop
call fcn.140156b00
int3