Function at 0x1400ddc00
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 [0x14039bc30]
xor rax, rsp
mov qword [rbp - 8], rax
mov esi, r9d
mov dword [rsp + 0x40], r9d
mov r15, r8
mov qword [rsp + 0x48], r8
mov rbx, rdx
mov rdi, rcx
call fcn.1400dd560
test al, al
jne 0x1400ddc7c
mov qword [rsp + 0x28], rdi
lea rax, str.CreateDir_failed_for__s
mov qword [rsp + 0x20], rax
mov r9d, 0x86
lea r8, str.XMLUpdater::v2::NUtils::StoreBufferInFile
lea rdx, str.E:BT71e4c9fa_1978_4386_a3da_49ea31fa22b7WebAdvisor_XmlUpdater_srcXmlUpdaterFileUtils.cpp
mov ecx, 1
call fcn.1400da630
xor al, al
jmp 0x1400de266
lea rax, [0x14032c4f8]
test rbx, rbx
cmove rbx, rax
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x38], rax
mov r14d, 7
mov qword [rbp - 0x30], r14
mov word [rbp - 0x48], ax
mov r12, 0xffffffffffffffff
mov r8, r12
nop dword [rax]
inc r8
cmp word [rbx + r8*2], ax
jne 0x1400ddcb0
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.140032810
nop
test rdi, rdi
jne 0x1400ddce3
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rbp - 0x38]
movups xmmword [rbp - 0x60], xmm1
xor ebx, ebx
jmp 0x1400ddf04
xor ebx, ebx
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], r14
mov word [rbp - 0x28], bx
mov r8, r12
nop dword [rax + rax]
inc r8
cmp word [rdi + r8*2], bx
jne 0x1400ddd00
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.140032810
nop
mov rdx, qword [rbp - 0x18]
test rdx, rdx
jne 0x1400ddd76
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 0x1400ddd71
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ddd6b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400de292
call fcn.14013afa0
nop
jmp 0x1400ddf04
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 0x1400ddf92
mov rax, rcx
sub rax, rdx
mov r15, qword [rbp - 0x38]
cmp rax, r15
jb 0x1400de28c
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 0x1400dde4a
mov r14, rax
or r14, 7
cmp r14, rcx
jbe 0x1400dde17
mov r14, rcx
jmp 0x1400dde23
mov eax, 0xa
cmp r14, rax
cmovb r14, rax
mov rdx, r14
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140033890
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.14013d0f0
lea rcx, [rdi + r14]
lea r8, [r15 + r15]
mov rdx, qword [rsp + 0x50]
call fcn.14013d0f0
mov rax, qword [rsp + 0x78]
xor ecx, ecx
mov word [rdi + rax*2], cx
cmp r12, 8
jb 0x1400ddebe
lea rdx, [r12*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400ddeb5
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400de292
mov rcx, rsi
call fcn.14013afa0
nop
cmp r13, 8
jb 0x1400ddef9
lea rdx, [r13*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400ddef1
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400de286
mov rcx, rbx
call fcn.14013afa0
xor ebx, ebx
mov r15, qword [rsp + 0x48]
mov esi, dword [rsp + 0x40]
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rcx, qword [rbp - 0x70]
mov qword [rsp + 0x30], rbx
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 0x1400de1b0
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.XMLUpdater::v2::NUtils::StoreBufferInFile
lea rdx, str.E:BT71e4c9fa_1978_4386_a3da_49ea31fa22b7WebAdvisor_XmlUpdater_srcXmlUpdaterFileUtils.cpp
lea ecx, [rbx + 2]
call fcn.1400da630
xor dil, dil
jmp 0x1400de226
cmp rdx, rcx
je 0x1400de298
lea rax, [rbp - 0x28]
cmp r12, 8
cmovae rax, rsi
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
lea r15, [rdx + 1]
mov rbx, r14
lea rdi, [rsp + 0x58]
cmp r15, rbx
jbe 0x1400de012
mov rbx, r15
or rbx, 7
cmp rbx, rcx
jbe 0x1400ddfdd
mov rbx, rcx
jmp 0x1400ddfe9
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
mov rdx, rbx
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140033890
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.14013d0f0
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 0x1400de09f
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.14013d0f0
xor ecx, ecx
mov word [rbx + rdi*2], cx
lea rax, [rsp + 0x58]
xor ebx, ebx
jmp 0x1400de0b9
mov qword [rsp + 0x20], rdx
xor r8d, r8d
lea rcx, [rsp + 0x58]
call fcn.1400322e0
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 0x1400de121
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400de11c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400de29e
call fcn.14013afa0
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], r14
mov word [rsp + 0x58], bx
cmp r12, 8
jb 0x1400de16c
lea rdx, [r12*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400de163
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400de2a4
mov rcx, rsi
call fcn.14013afa0
nop
cmp r13, 8
jb 0x1400ddefb
lea rdx, [r13*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x1400de1a3
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400de2aa
mov rcx, r15
call fcn.14013afa0
jmp 0x1400ddefb
mov qword [rsp + 0x50], rbx
xor ecx, ecx
mov dword [rbp - 0x50], ecx
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x50]
mov r8d, esi
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400de1e0
cmp dword [rbp - 0x50], esi
jne 0x1400de1e0
mov dil, 1
jmp 0x1400de217
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.XMLUpdater::v2::NUtils::StoreBufferInFile
lea rdx, str.E:BT71e4c9fa_1978_4386_a3da_49ea31fa22b7WebAdvisor_XmlUpdater_srcXmlUpdaterFileUtils.cpp
mov ecx, 1
call fcn.1400da630
xor dil, dil
test rbx, rbx
je 0x1400de226
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x1400de262
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400de25d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400de286
call fcn.14013afa0
movzx eax, dil
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14013af80
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1401421d8
nop
call fcn.140026750
nop
call fcn.1401421d8
nop
call fcn.140026750
int3
call fcn.1401421d8
nop
call fcn.1401421d8
nop
call fcn.1401421d8
int3