Function at 0x14031ae1c
Capabilities:
Move file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xf8]
sub rsp, 0x1f8
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x1405420e0]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov r14, r9
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
lea r8d, [r15 + 4]
lea rdx, str..ps1
lea rcx, [rbp + 0x80]
call fcn.140078708
mov dword [rsp + 0x30], 2
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x14031ae93
mov r8, qword [rdi]
mov r9, qword [rdi + 0x10]
xor edx, edx
lea rcx, [rbp + 0x80]
call fcn.140067d18
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x70], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x70], xmm1
mov qword [rax + 0x10], r15
mov edi, 7
mov qword [rax + 0x18], rdi
mov word [rax], r15w
mov dword [rsp + 0x30], 6
lea r8, [rbp + 0x60]
mov rdx, rsi
mov rcx, rbx
call fcn.14023f10c
mov dword [rsp + 0x30], edi
lea rcx, [rbp + 0x60]
call fcn.140055f70
nop
lea rcx, [rbp + 0x80]
call fcn.140055f70
mov rdi, rbx
cmp qword [rbx + 0x18], 8
jb 0x14031af0b
mov rdi, qword [rbx]
mov rcx, rbx
call fcn.14022ec24
mov rcx, qword [rbp + 0x128]
mov qword [rsp + 0x28], rdi
lea rdx, str.Failed_creating_path
mov qword [rsp + 0x20], rdx
mov r9d, eax
lea r8, str.amcorewcd_sourcedynamicdatacollection_srcdynamicdatacollectionconfiguration.cpp
mov edx, 0xc7
call fcn.140078808
call fcn.1400550c0
mov r10, qword [rax + 8]
cmp dword [r10], 4
jbe 0x14031afdc
lea rax, str.Writing_PowerShell_script
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], 0x34
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14031af78
mov rcx, qword [rbx]
lea rdx, [0x1403cb630]
mov rax, r15
test rcx, rcx
je 0x14031af98
mov rdx, rcx
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r15w
jne 0x14031af8e
mov qword [rbp + 0xd0], rdx
lea eax, [rax*2 + 2]
mov dword [rbp + 0xd8], eax
mov dword [rbp + 0xdc], r15d
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14048d33f]
mov rcx, r10
call fcn.140001208
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14031afe9
mov rdx, qword [rbx]
lea rcx, [rsp + 0x50]
call fcn.1401fb5a4
nop
mov rdx, r14
lea rcx, [rbp + 0x80]
call fcn.140309abc
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14031b012
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400de3b8
nop
lea rcx, [rbp + 0x80]
call fcn.14007269c
lea rcx, [rsp + 0x58]
call fcn.1401fc508
test rax, rax
jne 0x14031b05f
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.msvcp_win.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop dword [rax + rax]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14031b06c
mov rcx, qword [rbx]
xor edx, edx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
nop dword [rax + rax]
nop
lea rcx, [rbp - 8]
call fcn.1401fb53c
lea rcx, [rbp - 8]
call qword [sym.imp.msvcp_win.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop dword [rax + rax]
mov rax, rbx
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140356560
add rsp, 0x1f8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret