Function at 0x140106390
Capabilities:
Copy file
Get installed programs
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x890]
sub rsp, 0x990
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rbp + 0x880], rax
mov r14, rcx
mov qword [rbp - 0x58], rcx
xor r13d, r13d
mov r12d, r13d
mov qword [rbp], r13
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], r13
mov rdi, qword [rcx + 0x10]
mov rsi, rcx
cmp qword [rcx + 0x18], 8
jb 0x1401063f2
mov rsi, qword [rcx]
cmp rdi, 8
jae 0x140106409
movups xmm0, xmmword [rsi]
movups xmmword [rbp], xmm0
mov qword [rbp + 0x18], 7
jmp 0x140106449
mov rbx, rdi
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp]
call fcn.140023c30
mov qword [rbp], rax
lea r8, [rdi*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.1401cfe40
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x10], rdi
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r13w
xor r8d, r8d
lea rdx, [0x14022ee70]
lea rcx, [rbp - 0x28]
call fcn.140018360
nop
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], r13w
xor r8d, r8d
lea rdx, [0x14022ee70]
lea rcx, [rbp + 0x20]
call fcn.140018360
nop
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rbp + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0xb
jb 0x1401064e5
lea rdi, [rcx + 0xb]
mov qword [rbp + 0x10], rdi
lea rbx, [rbp]
cmp rdx, 8
cmovae rbx, qword [rbp]
lea rcx, [rbx + rcx*2]
mov r8d, 0x16
lea rdx, str.AUEP64.msi
call fcn.1401cfe40
mov word [rbx + rdi*2], r13w
jmp 0x140106509
mov qword [rsp + 0x20], 0xb
lea r9, str.AUEP64.msi
movzx r8d, byte [rsp + 0x30]
mov edx, 0xb
lea rcx, [rbp]
call fcn.14002dc10
mov qword [rbp - 0x60], r13
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallAMD_Catalyst_Install_Manager
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401065c5
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x80]
call fcn.1401d04f0
mov dword [rbp - 8], 1
mov dword [rbp - 0x50], 0x104
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 8]
xor r8d, r8d
lea rdx, str.InstallDir
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1401065bb
lea rax, [rbp + 0x80]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1401065a0
lea rdx, [rbp + 0x80]
lea rcx, [rbp - 0x28]
call fcn.140018360
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rbx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
setae r15b
mov rsi, qword [rbp - 0x28]
cmovae rbx, rsi
mov rdi, qword [rbp - 0x18]
test rdi, rdi
je 0x1401066c0
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x80]
call fcn.1401d04f0
lea rcx, [0x1402311b0]
lea r8, [0x1402311b2]
mov edx, 0x100
nop
movzx eax, word [rcx]
cmp ax, dx
jae 0x140106660
movzx eax, al
mov byte [rbp + rax + 0x80], 1
add rcx, 2
cmp rcx, r8
jne 0x140106610
lea rcx, [rdi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea r8, [rbx + rax*2]
movzx eax, word [r8]
cmp ax, dx
jae 0x140106655
cmp byte [rbp + rax + 0x80], 0
jne 0x1401066b8
cmp r8, rbx
je 0x1401066c0
sub r8, 2
jmp 0x140106642
lea rcx, [rdi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea r8, [rbx + rax*2]
mov r9d, 0x5c
nop dword [rax]
mov ecx, 1
movzx edx, word [r8]
lea rax, [0x1402311b0]
cmp r9w, dx
je 0x1401066b8
cmp rcx, 1
je 0x1401066ad
dec rcx
add rax, 2
cmp word [rax], dx
jne 0x140106696
test rax, rax
jne 0x1401066b8
cmp r8, rbx
je 0x1401066c0
sub r8, 2
jmp 0x140106680
sub r8, rbx
sar r8, 1
jmp 0x1401066c7
mov r8, 0xffffffffffffffff
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], 7
cmp rdi, r8
cmovb r8, rdi
lea rdx, [rbp - 0x28]
test r15b, r15b
cmovne rdx, rsi
lea rcx, [rbp - 0x48]
call fcn.140018360
lea rcx, [rbp - 0x28]
call fcn.1400272a0
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rbp - 0x38]
movups xmmword [rbp - 0x18], xmm1
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
movq rcx, xmm1
sub rax, rcx
cmp rax, 0x17
jb 0x14010675a
lea rdi, [rcx + 0x17]
mov qword [rbp - 0x18], rdi
lea rbx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rbx, qword [rbp - 0x28]
lea rcx, [rbx + rcx*2]
mov r8d, 0x2e
lea rdx, str.CNextCNextAUEP64.msi
call fcn.1401cfe40
mov word [rbx + rdi*2], r13w
jmp 0x14010677e
mov qword [rsp + 0x20], 0x17
lea r9, str.CNextCNextAUEP64.msi
movzx r8d, byte [rsp + 0x30]
mov edx, 0x17
lea rcx, [rbp - 0x28]
call fcn.14002dc10
mov r8, 0xffffffffffffffff
lea rdx, [0x1402311b0]
lea rcx, [rbp - 0x28]
call fcn.140023340
mov r8, rax
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], 7
cmp qword [rbp - 0x18], rax
cmovb r8, qword [rbp - 0x18]
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x48]
call fcn.140018360
lea rcx, [rbp + 0x20]
call fcn.1400272a0
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rbp - 0x38]
movups xmmword [rbp + 0x30], xmm1
lea rdx, [rbp + 0x20]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 8
cmovae rdx, rcx
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x50], r13
mov qword [rbp + 0x58], 7
mov word [rbp + 0x40], r13w
movq r8, xmm1
lea rcx, [rbp + 0x40]
call fcn.140018360
nop
lea rcx, [rbp + 0x40]
call fcn.1400727c0
test al, al
jne 0x140106a9c
mov qword [rbp - 0x70], r13
lea rax, [0x1402c05e0]
mov qword [rbp - 0x68], rax
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x40]
call fcn.14006adc0
cmp dword [rbp - 0x70], 0
jne 0x140106dab
xor r8d, r8d
mov edx, 0x3ff
lea rcx, [rbp - 0x48]
test al, al
je 0x140106992
call fcn.140023b20
nop
lea rax, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rax, qword [rbp + 0x20]
lea rcx, [rbp - 0x48]
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
cmovae rcx, qword [rbp - 0x48]
mov qword [rsp + 0x20], rax
lea r9, str.CNext_directory_created_at__s
mov r8, 0xffffffffffffffff
call fcn.14009de10
lea rbx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rbx, qword [rbp - 0x48]
mov dword [rbp - 0x50], r13d
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x4c]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x50]
mov qword [rbp - 8], rax
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], 7
mov r8d, 0x11
lea rdx, str.CopyAUEPInstaller
lea rcx, [rsp + 0x50]
call fcn.140018360
nop
mov qword [rsp + 0x70], r13
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], 7
mov r8d, MsiRecordSetStreamA
lea rdx, str.c:constructicon_buildsgfx_six23.19installNeomaInstallNeomaIN_Apps_srcCoreInstallManInstallManHelpers.cpp
lea rcx, [rsp + 0x70]
call fcn.140018360
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 3
lea r9, [rsp + 0x40]
mov r8d, 0x19b0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.1400b16b0
nop
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x140106979
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.140023c60
mov edx, 0x1ff
mov r8d, 1
lea rcx, [rbp + 0x40]
call fcn.140136e50
jmp 0x140106a9c
call fcn.140023b20
nop
lea rax, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rax, qword [rbp + 0x20]
lea rcx, [rbp - 0x48]
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
cmovae rcx, qword [rbp - 0x48]
mov qword [rsp + 0x20], rax
lea r9, str.Unable_to_create_CNext_directory_at__s
mov r8, 0xffffffffffffffff
call fcn.14009de10
lea rbx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rbx, qword [rbp - 0x48]
mov dword [rbp - 0x50], r13d
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x4c]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x70], r13
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], 7
mov r8d, 0x11
lea rdx, str.CopyAUEPInstaller
lea rcx, [rsp + 0x70]
call fcn.140018360
nop
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], 7
mov r8d, MsiRecordSetStreamA
lea rdx, str.c:constructicon_buildsgfx_six23.19installNeomaInstallNeomaIN_Apps_srcCoreInstallManInstallManHelpers.cpp
lea rcx, [rsp + 0x50]
call fcn.140018360
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 3
lea r9, [rsp + 0x40]
mov r8d, 0x19b5
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1400b16b0
nop
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x140106a9c
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.140023c60
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x70], r13
mov qword [rbp + 0x78], 7
mov word [rbp + 0x60], r13w
mov r8, qword [rbp - 0x18]
lea rcx, [rbp + 0x60]
call fcn.140018360
nop
lea rcx, [rbp + 0x60]
call fcn.1400727c0
test al, al
je 0x140106aee
mov edx, 0x1ff
mov r8d, 1
lea rcx, [rbp + 0x60]
call fcn.140136e50
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
lea rcx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rcx, qword [rbp]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
xor r8d, r8d
mov edx, 0x3ff
lea rcx, [rbp - 0x48]
test eax, eax
je 0x140106c31
lea r12d, [r8 + 1]
call fcn.140023b20
nop
lea r9, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae r9, qword [rbp - 0x28]
lea rax, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rax, qword [rbp]
lea rcx, [rbp - 0x48]
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
cmovae rcx, qword [rbp - 0x48]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], rax
lea r9, str.Copied__s_to__s
mov r8, 0xffffffffffffffff
call fcn.14009de10
lea rbx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rbx, qword [rbp - 0x48]
mov dword [rbp - 0x50], r13d
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x4c]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x70], r13
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], 7
lea r8d, [r12 + 0x10]
lea rdx, str.CopyAUEPInstaller
lea rcx, [rsp + 0x70]
call fcn.140018360
nop
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], 7
lea r8d, [r12 + 0x71]
lea rdx, str.c:constructicon_buildsgfx_six23.19installNeomaInstallNeomaIN_Apps_srcCoreInstallManInstallManHelpers.cpp
lea rcx, [rsp + 0x50]
call fcn.140018360
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 3
lea r9, [rsp + 0x40]
mov r8d, 0x19c1
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1400b16b0
nop
jmp 0x140106d34
call fcn.140023b20
nop
lea r8, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae r8, qword [rbp - 0x28]
lea rax, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rax, qword [rbp]
lea rcx, [rbp - 0x48]
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
cmovae rcx, qword [rbp - 0x48]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
lea r9, str.CopyFile__s_to__s_failed
mov r8, 0xffffffffffffffff
call fcn.14009de10
lea rbx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rbx, qword [rbp - 0x48]
mov dword [rbp - 0x50], r13d
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x4c]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x70], r13
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], 7
mov r8d, 0x11
lea rdx, str.CopyAUEPInstaller
lea rcx, [rsp + 0x70]
call fcn.140018360
nop
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], 7
mov r8d, MsiRecordSetStreamA
lea rdx, str.c:constructicon_buildsgfx_six23.19installNeomaInstallNeomaIN_Apps_srcCoreInstallManInstallManHelpers.cpp
lea rcx, [rsp + 0x50]
call fcn.140018360
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 3
lea r9, [rsp + 0x40]
mov r8d, 0x19c6
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1400b16b0
nop
lea rcx, [rbp - 0x48]
call fcn.1400272a0
nop
lea rcx, [rbp + 0x60]
call fcn.1400272a0
nop
lea rcx, [rbp + 0x40]
call fcn.1400272a0
nop
lea rcx, [rbp + 0x20]
call fcn.1400272a0
nop
lea rcx, [rbp - 0x28]
call fcn.1400272a0
nop
lea rcx, [rbp]
call fcn.1400272a0
nop
mov rcx, r14
call fcn.1400272a0
mov eax, r12d
mov rcx, qword [rbp + 0x880]
xor rcx, rsp
call fcn.1401a9a30
lea r11, [rsp + 0x990]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea r8, [rbp + 0x40]
lea rdx, [rbp - 0x70]
lea rcx, str.create_directories
call fcn.1400684b0
int3