Function at 0x14002f190
Capabilities:
Accept command line arguments
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, reloc.SHELL32.dll_IsUserAnAdmin
movaps xmmword [rsp + 0x290], xmm6
mov r14, r9
mov rsi, r8
mov rdi, rdx
mov rax, qword [0x14012c038]
xor rax, rsp
mov qword [rsp + 0x288], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], r12
movaps xmm6, xmmword [0x14010fbd0]
movaps xmmword [rsp + 0x30], xmm6
cmp byte [rcx + 0x17], 0
js 0x14002f1fa
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x30], xmm0
jmp 0x14002f20b
mov rdx, qword [rcx]
mov r8, qword [rcx + 8]
lea rcx, [rsp + 0x30]
call fcn.140025e20
lea rbx, [rsp + 0x80]
mov qword [rbx + 0x10], r12
movaps xmmword [rbx], xmm6
lea rdx, str.SOFTWAREPolicies_
mov rcx, rbx
call fcn.1400c59a0
mov rcx, rdi
xor edx, edx
mov r8, rbx
call fcn.1400307d0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
cmp byte [rbx + 0x17], 0
jns 0x14002f255
mov rbx, qword [rsp + 0x80]
lea r15, [rsp + 0x60]
mov qword [rsp + 0x20], r15
lea r9, str.UserDataDir
mov ecx, 1
xor edx, edx
mov r8, rbx
call fcn.140045890
test al, al
jne 0x14002f2b1
cmp byte [rsp + 0x97], 0
js 0x14002f28d
lea r8, [rsp + 0x80]
jmp 0x14002f295
mov r8, qword [rsp + 0x80]
mov qword [rsp + 0x20], r15
lea r9, str.UserDataDir
mov ecx, 2
xor edx, edx
call fcn.140045890
test al, al
je 0x14002f2e5
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x60]
call fcn.140045990
cmp byte [rsp + 0x47], 0
jns 0x14002f2d1
mov rcx, qword [rsp + 0x30]
call fcn.1400918a8
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x30], xmm0
cmp byte [rsp + 0x77], 0
jns 0x14002f2f6
mov rcx, qword [rsp + 0x60]
call fcn.1400918a8
cmp byte [rsp + 0x97], 0
jns 0x14002f30d
mov rcx, qword [rsp + 0x80]
call fcn.1400918a8
movzx edx, byte [rsp + 0x47]
mov eax, edx
and eax, 0x7f
test dl, dl
mov r9, qword [rsp + 0x38]
cmovs rax, r9
test rax, rax
je 0x14002f3d0
mov r8d, edx
shr r8b, 7
lea rcx, [rsp + 0x30]
jmp 0x14002f376
cmp edx, 0x5c
jne 0x14002f3d0
dec rax
mov rdx, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov word [rdx + rax*2], 0
movzx edx, byte [rsp + 0x47]
mov r8d, edx
shr r8b, 7
mov eax, edx
and eax, 0x7f
test dl, dl
mov r9, qword [rsp + 0x38]
cmovs rax, r9
test rax, rax
je 0x14002f3d0
test r8b, 1
je 0x14002f3b1
test r9, r9
je 0x14002f7cc
mov rdx, qword [rsp + 0x30]
movzx edx, word [rdx + r9*2 - 2]
cmp edx, 0x2f
jne 0x14002f339
dec rax
test r8b, 1
jne 0x14002f345
cmp rax, 0xb
jae 0x14002f74f
mov byte [rsp + 0x47], al
mov rdx, rcx
jmp 0x14002f34f
test dl, dl
je 0x14002f7cc
movzx edx, dl
movzx edx, word [rsp + rdx*2 + 0x2e]
cmp edx, 0x2f
je 0x14002f3cb
cmp edx, 0x5c
jne 0x14002f3d0
dec rax
jmp 0x14002f39e
lea r15, [rsp + 0x30]
mov rcx, r15
mov rdx, rsi
call fcn.14002f800
mov bl, 1
test al, al
jne 0x14002f4da
movzx eax, byte [rsp + 0x47]
test al, al
js 0x14002f3f8
and eax, 0x7f
jmp 0x14002f3fd
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14002f414
lea rcx, [rsp + 0x30]
call fcn.140031a20
test al, al
jne 0x14002f4c2
cmp r15, r14
je 0x14002f43f
cmp byte [r14 + 0x17], 0
movzx eax, byte [rsp + 0x47]
js 0x14002f77b
test al, al
jns 0x14002f46c
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
mov rcx, r14
call fcn.140026800
lea r14, [rsp + 0x80]
mov qword [r14 + 0x10], r12
movaps xmmword [r14], xmm6
lea rdx, str.LOCALAPPDATA
mov rcx, r14
call fcn.140031000
movzx eax, byte [r14 + 0x17]
test al, al
js 0x14002f480
and eax, 0x7f
jmp 0x14002f488
mov rax, qword [rsp + 0x40]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [r14], xmm0
jmp 0x14002f43f
mov rax, qword [rsp + 0x88]
test rax, rax
jne 0x14002f589
xor r13d, r13d
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x14002f519
cmp byte [rsp + 0x97], 0
jns 0x14002f4b9
mov rcx, qword [rsp + 0x80]
call fcn.1400918a8
test r13b, r13b
jne 0x14002f4c2
xor ebx, ebx
jmp 0x14002f4da
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov rdx, rsi
call fcn.14002f800
test al, al
je 0x14002f636
cmp byte [rsp + 0x47], 0
jns 0x14002f4eb
mov rcx, qword [rsp + 0x30]
call fcn.1400918a8
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.140092d80
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x290]
add rsp, reloc.SHELL32.dll_IsUserAnAdmin
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r12d, eax
inc r12d
xor r13d, r13d
mov rcx, r14
mov rdx, r12
xor r8d, r8d
call fcn.140065be0
cmp byte [rsp + 0x97], 0
jns 0x14002f542
mov r14, qword [rsp + 0x80]
mov ecx, r12d
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14002f4a2
mov edx, eax
movzx eax, byte [rsp + 0x97]
test al, al
jns 0x14002f56c
mov rax, qword [rsp + 0x88]
cmp rax, rdx
ja 0x14002f579
xor r13d, r13d
jmp 0x14002f4a2
lea rcx, [rsp + 0x80]
xor r8d, r8d
call fcn.140065be0
movaps xmm0, xmmword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x40], rcx
movaps xmm1, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], rax
movzx eax, byte [rsp + 0x47]
test al, al
jns 0x14002f5cd
mov rcx, qword [rsp + 0x38]
jmp 0x14002f5d2
mov ecx, eax
and ecx, 0x7f
test rcx, rcx
je 0x14002f7a0
test al, al
jns 0x14002f5e4
mov r15, qword [rsp + 0x30]
cmp word [r15 + rcx*2 - 2], 0x5c
je 0x14002f5fb
lea rcx, [rsp + 0x30]
mov dx, 0x5c
call fcn.1400659d0
mov r13b, 1
lea r14, [rsp + 0x30]
mov rcx, rdi
mov dl, 1
mov r8, r14
call fcn.140030690
mov rcx, r14
mov dx, 0x5c
call fcn.1400659d0
lea rdx, str.User_Data
mov r8d, 9
mov rcx, r14
call fcn.140026410
jmp 0x14002f4a2
lea rdx, str.bankmode
lea r14, [rsp + 0x80]
mov rcx, r14
call fcn.1400c59a0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r15, [rsp + 0x60]
mov rcx, r15
mov rdx, rax
call fcn.1400c59a0
mov rcx, r15
mov rdx, r14
call fcn.1400317d0
mov ebp, eax
cmp byte [r15 + 0x17], 0
jns 0x14002f681
mov rcx, qword [rsp + 0x60]
call fcn.1400918a8
cmp byte [rsp + 0x97], 0
jns 0x14002f698
mov rcx, qword [rsp + 0x80]
call fcn.1400918a8
test bpl, bpl
jne 0x14002f724
lea r14, [rsp + 0x80]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.140094eb0
cmp byte [rsp + 0x47], 0
jns 0x14002f6c5
mov rdi, qword [rsp + 0x30]
mov r8d, 0x104
mov rcx, r14
mov rdx, rdi
call fcn.1400acd00
test rax, rax
jne 0x14002f710
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
cmp byte [rsi + 0x17], 0
jns 0x14002f6fa
mov rcx, qword [rsi]
call fcn.1400918a8
mov rax, qword [rsp + 0x70]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rsi], xmm0
jmp 0x14002f4da
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x80]
call fcn.1400c59a0
jmp 0x14002f6ec
lea r14, [rsp + 0x30]
mov rcx, r14
mov dx, 0x5c
call fcn.1400659d0
lea rdx, str.BankMode
mov r8d, 8
mov rcx, r14
call fcn.140026410
jmp 0x14002f6a1
lea rax, str.__s_should_never_be_greater_than_or_equal_to_the_short_string_capacity
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_string
lea r9, str.__s_____min_cap
mov r8d, 0x6c6
call fcn.1400c6370
mov r8d, eax
and r8d, 0x7f
test al, al
cmovs r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
cmovns rdx, r15
mov rcx, r14
call fcn.140026710
jmp 0x14002f43f
lea rax, str.string_index_out_of_bounds
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_string
lea r9, str.__pos___size__
mov r8d, 0x4a0
call fcn.1400c6370
lea rax, str.string::back__:_string_is_empty
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_string
lea r9, str._empty__
mov r8d, 0x501
call fcn.1400c6370
int3