Function at 0x1400575f0
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, 0x358
movaps xmmword [rsp + 0x340], xmm6
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x338], rax
mov rdx, qword [0x1402a5010]
test rdx, rdx
jne 0x140057d9d
mov ecx, 0x18
call fcn.14017b1d8
mov rbx, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
xor r15d, r15d
mov qword [rax + 0x10], r15
mov qword [0x1402a5010], rax
mov ecx, 0x18
call fcn.14017b1d8
mov r14, rax
movups xmmword [rax], xmm6
mov qword [rax + 0x10], r15
mov qword [0x1402a5018], rax
mov rax, qword [0x1402a2c18]
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x30], rax
lea rdx, [0x140278280]
lea r15, [rsp + 0x50]
mov rcx, r15
call fcn.1401bc8c0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r12, [rsp + 0x38]
mov rcx, r12
mov rdx, rax
call fcn.1401bc8c0
lea r13, [rsp + 0x68]
mov rcx, r13
mov rdx, r12
mov r8, r15
call fcn.1400583c0
movabs rbp, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x90], rbp
movaps xmm6, xmmword [0x140270690]
movaps xmmword [rsp + 0x80], xmm6
cmp byte [r13 + 0x17], 0
jns 0x140057701
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x70]
lea rcx, [rsp + 0x80]
call fcn.140008850
jmp 0x14005771b
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x90], rax
movups xmm0, xmmword [rsp + 0x68]
movaps xmmword [rsp + 0x80], xmm0
lea r15, [rsp + 0x130]
mov qword [r15 + 0x10], rbp
movaps xmmword [r15], xmm6
lea rdx, str.SOFTWAREPolicies_
mov rcx, r15
call fcn.1401bc8c0
lea rdx, [0x140281bd0]
mov r8d, 7
mov rcx, r15
call fcn.140017700
xorps xmm0, xmm0
movaps xmmword [rsp + 0x100], xmm0
mov qword [rsp + 0x110], 0
cmp byte [r15 + 0x17], 0
jns 0x140057775
mov r15, qword [rsp + 0x130]
lea r12, [rsp + 0x100]
mov qword [rsp + 0x20], r12
lea r9, str.UserDataDir
mov ecx, 1
xor edx, edx
mov r8, r15
call fcn.140058ae0
test al, al
je 0x1400578ea
lea rcx, [rsp + 0xe0]
lea rdx, [rsp + 0x100]
call fcn.140059bc0
cmp byte [rsp + 0x97], 0
jns 0x1400577cc
mov rcx, qword [rsp + 0x80]
call fcn.14017b254
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x90], rax
movups xmm0, xmmword [rsp + 0xe0]
movaps xmmword [rsp + 0x80], xmm0
cmp byte [rsp + 0x117], 0
jns 0x140057803
mov rcx, qword [rsp + 0x100]
call fcn.14017b254
cmp byte [rsp + 0x147], 0
jns 0x14005781a
mov rcx, qword [rsp + 0x130]
call fcn.14017b254
movzx edx, byte [rsp + 0x97]
mov eax, edx
and eax, 0x7f
test dl, dl
mov r8, qword [rsp + 0x88]
cmovs rax, r8
test rax, rax
je 0x140057947
mov r9d, edx
shr r9b, 7
lea rcx, [rsp + 0x80]
test r9b, 1
je 0x1400578b7
test r8, r8
je 0x14005810e
mov rdx, qword [rsp + 0x80]
movzx r8d, word [rdx + r8*2 - 2]
cmp r8d, 0x2f
je 0x14005787a
cmp r8d, 0x5c
jne 0x14005792b
dec rax
mov qword [rsp + 0x88], rax
mov word [rdx + rax*2], 0
movzx edx, byte [rsp + 0x97]
mov r9d, edx
shr r9b, 7
mov eax, edx
and eax, 0x7f
test dl, dl
mov r8, qword [rsp + 0x88]
cmovs rax, r8
test rax, rax
jne 0x14005784d
jmp 0x140057947
test dl, dl
je 0x14005810e
movzx edx, dl
movzx edx, word [rsp + rdx*2 + 0x7e]
cmp edx, 0x2f
je 0x1400578d1
cmp edx, 0x5c
jne 0x14005792b
dec rax
cmp rax, 0xb
jae 0x140058118
mov byte [rsp + 0x97], al
mov rdx, rcx
jmp 0x140057885
cmp byte [rsp + 0x147], 0
jns 0x1400578fe
mov r8, qword [rsp + 0x130]
jmp 0x140057906
lea r8, [rsp + 0x130]
mov qword [rsp + 0x20], r12
lea r9, str.UserDataDir
mov ecx, 2
xor edx, edx
call fcn.140058ae0
test al, al
jne 0x1400577a0
jmp 0x1400577ec
lea rcx, [rsp + 0x80]
call fcn.140058920
test al, al
jne 0x140057cbb
mov dl, byte [rsp + 0x97]
cmp byte [r14 + 0x17], 0
js 0x140057f63
test dl, dl
jns 0x140057b32
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
mov rcx, r14
call fcn.140013de0
lea rcx, str.chrome.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r15, rax
xorps xmm0, xmm0
lea r14, [rsp + 0x100]
movaps xmmword [r14], xmm0
mov qword [r14 + 0x10], 0
mov ecx, 3
mov rdx, r14
call fcn.14004dd50
test al, al
je 0x140057c31
lea r12, [rsp + 0x130]
mov r8d, 0x208
mov rcx, r12
xor edx, edx
call fcn.1401808d0
mov rcx, r15
mov rdx, r12
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea r15, [rsp + 0xe0]
mov qword [r15 + 0x10], rbp
movaps xmmword [r15], xmm6
lea r13, [rsp + 0xd0]
mov qword [r13], r12
mov rcx, r12
call fcn.14017bd98
mov qword [r13 + 8], rax
mov rcx, r15
mov rdx, r13
call fcn.14014b0f0
lea rdx, [rsp + 0xb0]
mov rcx, r15
call fcn.14014ae20
cmp byte [r15 + 0x17], 0
js 0x140057e57
lea rdx, [rsp + 0xb0]
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0xf0], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0xe0], xmm0
movzx eax, byte [rsp + 0xf7]
mov ecx, eax
and ecx, 0x7f
test al, al
cmovs r15, qword [rsp + 0xe0]
cmovs rcx, qword [rsp + 0xe8]
movzx eax, byte [rsp + 0x117]
mov r8d, eax
and r8d, 0x7f
test al, al
cmovs r14, qword [rsp + 0x100]
cmovs r8, qword [rsp + 0x108]
mov qword [rdx], r15
mov qword [rdx + 8], rcx
lea rcx, [rsp + 0x120]
mov qword [rcx], r14
mov qword [rcx + 8], r8
call fcn.140169100
test eax, eax
je 0x140057b4f
lea rcx, [rsp + 0x100]
lea r14, [rsp + 0xb0]
mov rdx, r14
call fcn.14014ae20
cmp byte [rsp + 0x97], 0
movzx eax, byte [r14 + 0x17]
js 0x140057f9c
test al, al
jns 0x140057e69
mov rdx, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xb8]
lea rcx, [rsp + 0x80]
call fcn.140013de0
cmp byte [rsp + 0xc7], 0
jns 0x140057b13
mov rcx, qword [rsp + 0xb0]
call fcn.14017b254
movzx r14d, byte [rsp + 0x97]
test r14b, r14b
jns 0x140057bf1
mov r14, qword [rsp + 0x88]
jmp 0x140057bf5
mov rax, qword [rsp + 0x90]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [rsp + 0x80]
movups xmmword [r14], xmm0
jmp 0x140057972
lea r14, [rsp + 0xb0]
mov qword [r14 + 0x10], rbp
movaps xmmword [r14], xmm6
lea rax, str.User_Data
lea r8, [rsp + 0xa0]
mov qword [r8], rax
mov qword [r8 + 8], 9
lea rcx, [rsp + 0x100]
mov rdx, r14
call fcn.14014a8b0
cmp byte [rsp + 0x97], 0
movzx eax, byte [r14 + 0x17]
js 0x140057fcc
test al, al
jns 0x140057e8e
mov rdx, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xb8]
lea rcx, [rsp + 0x80]
call fcn.140013de0
cmp byte [rsp + 0xc7], 0
jns 0x140057bd8
mov rcx, qword [rsp + 0xb0]
call fcn.14017b254
cmp byte [rsp + 0xf7], 0
jns 0x140057c11
mov rcx, qword [rsp + 0xe0]
call fcn.14017b254
jmp 0x140057c11
and r14d, 0x7f
cmp byte [rsp + 0xf7], 0
jns 0x140057c0c
mov rcx, qword [rsp + 0xe0]
call fcn.14017b254
test r14, r14
je 0x140057c31
cmp byte [rsp + 0x117], 0
jns 0x140057cbb
mov rcx, qword [rsp + 0x100]
call fcn.14017b254
jmp 0x140057cbb
lea r14, [rsp + 0x130]
mov qword [r14 + 0x10], rbp
movaps xmmword [r14], xmm6
lea rdx, str.LOCALAPPDATA
mov rcx, r14
call fcn.140058130
movzx eax, byte [r14 + 0x17]
test al, al
jns 0x140057c63
mov rax, qword [rsp + 0x138]
jmp 0x140057c66
and eax, 0x7f
test rax, rax
jne 0x14005800c
xor r12d, r12d
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x140057ecd
cmp byte [rsp + 0x147], 0
jns 0x140057c9b
mov rcx, qword [rsp + 0x130]
call fcn.14017b254
cmp byte [rsp + 0x117], 0
jns 0x140057cb2
mov rcx, qword [rsp + 0x100]
call fcn.14017b254
test r12b, r12b
je 0x140057e50
lea r14, [rsp + 0x130]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.1401808d0
cmp byte [rsp + 0x97], 0
jns 0x140057ce7
mov rdx, qword [rsp + 0x80]
jmp 0x140057cef
lea rdx, [rsp + 0x80]
mov r8d, 0x104
mov rcx, r14
call fcn.14017ceb8
test rax, rax
jne 0x140057eb3
xorps xmm0, xmm0
movaps xmmword [rsp + 0x100], xmm0
mov qword [rsp + 0x110], 0
cmp byte [rbx + 0x17], 0
jns 0x140057d2b
mov rcx, qword [rbx]
call fcn.14017b254
mov rax, qword [rsp + 0x110]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [rsp + 0x100]
movups xmmword [rbx], xmm0
mov bl, 1
cmp byte [rsp + 0x97], 0
jns 0x140057d5b
mov rcx, qword [rsp + 0x80]
call fcn.14017b254
cmp byte [rsp + 0x7f], 0
jns 0x140057d6c
mov rcx, qword [rsp + 0x68]
call fcn.14017b254
cmp byte [rsp + 0x4f], 0
jns 0x140057d7d
mov rcx, qword [rsp + 0x38]
call fcn.14017b254
cmp byte [rsp + 0x67], 0
jns 0x140057d8e
mov rcx, qword [rsp + 0x50]
call fcn.14017b254
test bl, bl
je 0x140058111
mov rdx, qword [0x1402a5010]
cmp rdx, rdi
je 0x140057dc8
cmp byte [rdi + 0x17], 0
movzx r8d, byte [rdx + 0x17]
js 0x140057f22
test r8b, r8b
jns 0x140057e30
mov rax, qword [rdx]
mov r8, qword [rdx + 8]
mov rcx, rdi
mov rdx, rax
call fcn.140013de0
mov dil, 1
test rsi, rsi
je 0x140057e02
mov rdx, qword [0x1402a5018]
cmp rdx, rsi
je 0x140057e02
cmp byte [rsi + 0x17], 0
movzx r8d, byte [rdx + 0x17]
js 0x140057f44
test r8b, r8b
jns 0x140057e40
mov rax, qword [rdx]
mov r8, qword [rdx + 8]
mov rcx, rsi
mov rdx, rax
call fcn.140013de0
mov rcx, qword [rsp + 0x338]
xor rcx, rsp
call fcn.14017e7b0
mov eax, edi
movaps xmm6, xmmword [rsp + 0x340]
add rsp, 0x358
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rdx + 0x10]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [rdi], xmm0
jmp 0x140057dc8
mov rax, qword [rdx + 0x10]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [rsi], xmm0
jmp 0x140057e02
xor ebx, ebx
jmp 0x140057d44
mov rcx, qword [rsp + 0xe0]
call fcn.14017b254
jmp 0x140057a26
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x90], rax
movups xmm0, xmmword [rsp + 0xb0]
movaps xmmword [rsp + 0x80], xmm0
jmp 0x140057b13
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x90], rax
movaps xmm0, xmmword [rsp + 0xb0]
movaps xmmword [rsp + 0x80], xmm0
jmp 0x140057bd8
lea rcx, [rsp + 0x100]
lea rdx, [rsp + 0x130]
call fcn.1401bc8c0
jmp 0x140057d1d
mov r15d, eax
inc r15d
xor r12d, r12d
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14014b240
cmp byte [rsp + 0x147], 0
jns 0x140057ef6
mov r14, qword [rsp + 0x130]
mov ecx, r15d
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x140057c84
mov edx, eax
movzx eax, byte [rsp + 0x147]
test al, al
jns 0x140057f30
mov rax, qword [rsp + 0x138]
jmp 0x140057f33
test r8b, r8b
jns 0x140057f52
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
jmp 0x140057f56
and eax, 0x7f
cmp rax, rdx
ja 0x140057ffc
xor r12d, r12d
jmp 0x140057c84
test r8b, r8b
jns 0x140057f8b
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
jmp 0x140057f8f
and r8d, 0x7f
mov rcx, rdi
call fcn.140013e60
jmp 0x140057dc8
mov eax, edx
and al, 0x7f
test dl, dl
movzx r8d, al
lea rdx, [rsp + 0x80]
cmovs r8, qword [rdx + 8]
cmovs rdx, qword [rdx]
mov rcx, r14
call fcn.140013e60
jmp 0x140057972
and r8d, 0x7f
mov rcx, rsi
call fcn.140013e60
jmp 0x140057e02
mov r8d, eax
and r8d, 0x7f
test al, al
cmovs r8, qword [rsp + 0xb8]
cmovs r14, qword [rsp + 0xb0]
lea rcx, [rsp + 0x80]
mov rdx, r14
call fcn.140013e60
jmp 0x140057afc
mov r8d, eax
and r8d, 0x7f
test al, al
cmovs r8, qword [rsp + 0xb8]
cmovs r14, qword [rsp + 0xb0]
lea rcx, [rsp + 0x80]
mov rdx, r14
call fcn.140013e60
jmp 0x140057bc1
lea rcx, [rsp + 0x130]
xor r8d, r8d
call fcn.14014b240
movaps xmm0, xmmword [rsp + 0x80]
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x140]
mov qword [rsp + 0x90], rcx
movaps xmm1, xmmword [rsp + 0x130]
movaps xmmword [rsp + 0x80], xmm1
movaps xmmword [rsp + 0x130], xmm0
mov qword [rsp + 0x140], rax
movzx ecx, byte [rsp + 0x97]
test cl, cl
jns 0x140058062
mov rax, qword [rsp + 0x88]
jmp 0x140058067
mov eax, ecx
and eax, 0x7f
test rax, rax
je 0x14005811b
test cl, cl
jns 0x14005807e
mov rcx, qword [rsp + 0x80]
jmp 0x140058086
lea rcx, [rsp + 0x80]
cmp word [rcx + rax*2 - 2], 0x5c
je 0x14005809f
lea rcx, [rsp + 0x80]
mov dx, 0x5c
call fcn.140157b50
lea rdx, [0x140281bd0]
lea rcx, [rsp + 0x80]
mov r8d, 7
call fcn.140017700
mov rax, qword [rsp + 0x30]
mov r14, qword [rax + 0x18]
test r14, r14
je 0x14005811e
mov rcx, r14
call fcn.14017bd98
lea r15, [rsp + 0x80]
mov rcx, r15
mov rdx, r14
mov r8, rax
call fcn.140017700
mov rcx, r15
mov dx, 0x5c
call fcn.140157b50
lea rdx, str.User_Data
mov r8d, 9
mov rcx, r15
call fcn.140017700
mov r12b, 1
jmp 0x140057c84
int3
xor edi, edi
jmp 0x140057e02
int3
int3
int3