Function at 0x140119970
Capabilities:
Copy file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x18]
sub rsp, 0x118
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rbp + 8], rax
mov r12, r9
mov qword [rsp + 0x30], r8
mov r15, rdx
mov r13, rcx
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rdx
mov qword [rbp - 0x50], r8
mov qword [rbp - 0x48], r9
xor ebx, ebx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rbx
xor sil, sil
lea rcx, [rsp + 0x50]
call fcn.1400a7400
mov rdi, rax
mov rcx, qword [rax + 0x10]
mov r8, qword [rax + 0x18]
mov rax, r8
sub rax, rcx
cmp rax, 4
jb 0x140119a1f
lea rdx, [rcx + 4]
mov qword [rdi + 0x10], rdx
mov rax, rdi
cmp r8, 8
jb 0x140119a0b
mov rax, qword [rdi]
movabs r8, 0x70006d00650074
mov qword [rax + rcx*2], r8
mov word [rax + rdx*2], bx
jmp 0x140119a45
mov qword [rsp + 0x20], 4
lea r9, str.temp
movzx r8d, byte [rsp + 0x38]
mov edx, 4
mov rcx, rdi
call fcn.14002dc10
mov rdi, rax
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rbx
mov r14, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
jb 0x140119a5f
mov rdi, qword [rdi]
movabs rax, 0x7ffffffffffffffe
cmp r14, 8
jae 0x140119a80
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x20], 7
jmp 0x140119ab8
mov rbx, r14
or rbx, 7
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x38]
call fcn.140023c30
mov qword [rbp - 0x38], rax
lea r8, [r14*2 + 2]
mov rdx, rdi
mov rcx, rax
call fcn.1401cf850
mov qword [rbp - 0x20], rbx
xor ebx, ebx
mov qword [rbp - 0x28], r14
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140119afe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140119af9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011a17a
call fcn.1401a9460
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], bx
mov rcx, r13
cmp qword [r13 + 0x18], 8
jb 0x140119b1f
mov rcx, qword [r13]
xor r8d, r8d
lea rdx, [rsp + 0x48]
call fcn.14011a190
mov ebx, eax
mov r14, qword [rsp + 0x48]
test eax, eax
jns 0x140119b43
lea rcx, str.Error_creating_file_reader__error_is__08.8lx
jmp 0x14011a042
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140119b55
mov rcx, qword [rdi]
mov r8b, 1
lea rdx, [rsp + 0x40]
call fcn.14011a190
mov ebx, eax
test eax, eax
jns 0x140119b7b
mov edx, eax
lea rcx, str.Error_creating_file_writer__error_is__08.8lx
call fcn.14013cc10
jmp 0x14011a04e
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [0x14024fa00]
call sub.XmlLite.dll_CreateXmlReader
mov ebx, eax
test eax, eax
jns 0x140119ba8
mov edx, eax
lea rcx, str.Error_creating_xml_reader__error_is__08.8lx
call fcn.14013cc10
jmp 0x14011a04e
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 4]
call qword [rax + 0x28]
lea rax, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rax, qword [rbp - 0x38]
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, str.utf_16
xor edx, edx
mov rcx, r14
call sub.XmlLite.dll_CreateXmlReaderInputWithEncodingName
mov ebx, eax
test eax, eax
jns 0x140119c03
mov edx, eax
lea rcx, str.Error_creating_xml_reader_with_encoding_code_page__error_is__08.8lx
call fcn.14013cc10
jmp 0x14011a04e
xor r8d, r8d
lea rdx, [rsp + 0x78]
lea rcx, [0x14024fa10]
call sub.XmlLite.dll_CreateXmlWriter
mov ebx, eax
test eax, eax
jns 0x140119c30
mov edx, eax
lea rcx, str.Error_creating_xml_writer__error_is__08.8lx
call fcn.14013cc10
jmp 0x14011a04e
lea r9, [rbp - 0x78]
lea r8, str.utf_16
xor edx, edx
mov rcx, qword [rsp + 0x40]
call sub.XmlLite.dll_CreateXmlWriterOutputWithEncodingName
mov ebx, eax
test eax, eax
jns 0x140119c60
mov edx, eax
lea rcx, str.Error_creating_xml_reader_with_encoding_code_page__error_is__08.8lx
call fcn.14013cc10
jmp 0x14011a04e
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
mov rdx, qword [rbp - 0x80]
call qword [rax + 0x18]
mov ebx, eax
test eax, eax
jns 0x140119c88
mov edx, eax
lea rcx, str.Error_setting_input_for_reader__error_is__08.8lx
call fcn.14013cc10
jmp 0x14011a04e
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
mov rdx, qword [rbp - 0x78]
call qword [rax + 0x18]
mov ebx, eax
test eax, eax
jns 0x140119cb0
mov edx, eax
lea rcx, str.Error_setting_output_for_writer__error_is__08.8lx
call fcn.14013cc10
jmp 0x14011a04e
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
mov edx, 1
mov r8d, edx
call qword [rax + 0x28]
mov ebx, eax
test eax, eax
jns 0x140119cdc
mov edx, eax
lea rcx, str.Error_setting_indent_property_in_writer__error_is__08.8lx
call fcn.14013cc10
jmp 0x14011a04e
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
lea rdx, [rbp - 0x40]
call qword [rax + 0x30]
mov ebx, eax
test eax, eax
jne 0x14011a04e
xor edi, edi
nop word [rax + rax]
mov ecx, dword [rbp - 0x40]
sub ecx, 1
je 0x140119f07
sub ecx, 2
je 0x140119dc9
cmp ecx, 0xc
je 0x140119d46
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
call qword [rax + MsiApplyPatchW]
mov ebx, eax
test eax, eax
jns 0x140119ee9
lea rcx, str.Error_writing_WriteNodeShallow__error_is__08.8lx
jmp 0x14011a042
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
xor r8d, r8d
lea rdx, [rbp - 0x70]
call qword [rax + 0x60]
mov ebx, eax
test eax, eax
js 0x14011a03b
mov r8, qword [rbp - 0x70]
test r8, r8
je 0x140119da5
mov rcx, rdi
lea rdi, str.Command
nop word [rax + rax]
movzx edx, word [r8 + rcx*2]
inc rcx
movzx eax, word [rdi + rcx*2 - 2]
sub edx, eax
jne 0x140119d97
cmp rcx, 8
jne 0x140119d80
movzx esi, sil
test edx, edx
mov edi, 0
cmove esi, edi
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + MsiSetPropertyW]
mov ebx, eax
test eax, eax
jns 0x140119ee9
lea rcx, str.Error_writing_WriteFullEndElement__error_is__08.8lx
jmp 0x14011a042
cmp sil, 1
jne 0x140119d1a
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
xor r8d, r8d
lea rdx, [rbp - 0x68]
call qword [rax + 0x80]
mov ebx, eax
test eax, eax
js 0x14011a032
mov rax, qword [rbp - 0x68]
test rax, rax
je 0x14011a02b
xor ecx, ecx
cmp cx, word [rax]
je 0x14011a02b
mov qword [rbp - 0x18], rcx
mov qword [rbp - 8], rcx
mov qword [rbp], rcx
mov rdi, qword [r15 + 0x10]
mov rsi, r15
cmp qword [r15 + 0x18], 8
jb 0x140119e27
mov rsi, qword [r15]
cmp rdi, 8
jae 0x140119e3b
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x18], xmm0
mov ebx, 7
jmp 0x140119e77
mov rbx, rdi
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x18]
call fcn.140023c30
mov qword [rbp - 0x18], rax
lea r8, [rdi*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.1401cf850
mov qword [rbp], rbx
mov qword [rbp - 8], rdi
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea rdx, [rbp - 0x18]
cmp rbx, 8
cmovae rdx, qword [rbp - 0x18]
call qword [rax + 0xe0]
mov ebx, eax
test eax, eax
js 0x140119fda
xor sil, sil
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x140119ee7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140119ee2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011a180
call fcn.1401a9460
xor edi, edi
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
lea rdx, [rbp - 0x40]
call qword [rax + 0x30]
mov ebx, eax
test eax, eax
jne 0x14011a049
jmp 0x140119d00
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + SHCreateDirectory]
test eax, eax
je 0x140119f3b
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
call qword [rax + MsiApplyPatchW]
mov ebx, eax
test eax, eax
js 0x140119d3a
jmp 0x140119ee9
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
xor r8d, r8d
lea rdx, [rbp - 0x70]
call qword [rax + 0x60]
mov ebx, eax
test eax, eax
js 0x14011a03b
mov rax, qword [rbp - 0x70]
test rax, rax
je 0x140119fb2
mov r8, r12
cmp qword [r12 + 0x18], 8
jb 0x140119f6f
mov r8, qword [r12]
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140119f86
add rax, 2
test ecx, ecx
jne 0x140119f72
test edx, edx
jne 0x140119fb2
mov sil, 1
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
call qword [rax + MsiApplyPatchW]
mov ebx, eax
test eax, eax
js 0x140119d3a
jmp 0x140119ee9
xor sil, sil
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
call qword [rax + MsiApplyPatchW]
mov ebx, eax
test eax, eax
js 0x140119d3a
jmp 0x140119ee9
mov edx, eax
lea rcx, str.Error_writing_WriteString__error_is__08.8lx
call fcn.14013cc10
nop
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x14011a049
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011a024
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011a180
call fcn.1401a9460
jmp 0x14011a049
mov ebx, 0x8000ffff
jmp 0x14011a049
lea rcx, str.Error_reading_value__error_is__08.8lx
jmp 0x14011a042
lea rcx, str.Error_reading_element_name__error_is__08.8lx
mov edx, eax
call fcn.14013cc10
mov rdi, qword [rsp + 0x30]
test r14, r14
je 0x14011a05c
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14011a06c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14011a07c
mov rax, qword [rcx]
call qword [rax + 0x10]
xor esi, esi
mov qword [rsp + 0x70], rsi
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14011a093
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x78], rsi
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14011a0a7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp - 0x80], rsi
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14011a0ba
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp - 0x78], rsi
mov rdx, r13
cmp qword [r13 + 0x18], 8
jb 0x14011a0cc
mov rdx, qword [r13]
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14011a0d9
mov rcx, qword [rdi]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x14011a11f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011a11a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011a174
call fcn.1401a9460
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], si
mov rcx, r13
call fcn.1400272a0
nop
mov rcx, r15
call fcn.1400272a0
nop
mov rcx, rdi
call fcn.1400272a0
nop
mov rcx, r12
call fcn.1400272a0
mov eax, ebx
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.1401a9440
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1401e37cc
nop
call fcn.1401e37cc
int3
call fcn.1401e37cc
int3