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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x2c0
movaps xmmword [rsp + 0x2b0], xmm6
mov rbx, r9
mov rsi, r8
mov rdi, rdx
mov rax, qword [0x140137040]
xor rax, rsp
mov qword [rsp + 0x2a8], rax
movabs r13, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], r13
movaps xmm6, xmmword [0x14010db00]
movaps xmmword [rsp + 0x30], xmm6
cmp byte [rcx + 0x17], 0
js 0x1400e65a2
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x30], xmm0
jmp 0x1400e65b3
mov rdx, qword [rcx]
mov r8, qword [rcx + 8]
lea rcx, [rsp + 0x30]
call fcn.14002fe10
lea r15, str.embedded_browser_webview
mov rcx, r15
call fcn.1400973f4
lea r14, [rsp + 0x80]
mov rcx, r14
mov rdx, r15
mov r8, rax
call fcn.14002fd1e
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r12, [rsp + 0x68]
mov rcx, r12
mov rdx, rax
call fcn.140025308
lea r15, [rsp + 0xa0]
mov rcx, r15
mov rdx, r12
mov r8, r14
call fcn.14006336e
movsx r12, byte [r15 + 0x17]
test r12, r12
jns 0x1400e6616
mov r12, qword [rsp + 0xa8]
jns 0x1400e6625
mov rcx, qword [rsp + 0xa0]
call fcn.140077d00
cmp byte [rsp + 0x7f], 0
jns 0x1400e6636
mov rcx, qword [rsp + 0x68]
call fcn.140077d00
cmp byte [rsp + 0x97], 0
jns 0x1400e664d
mov rcx, qword [rsp + 0x80]
call fcn.140077d00
test r12, r12
je 0x1400e6a21
movsx rcx, byte [rsp + 0x47]
mov rax, rcx
test rcx, rcx
jns 0x1400e6669
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1400e66e7
shr rcx, 0x3f
lea rdx, [rsp + 0x30]
jmp 0x1400e66a2
mov qword [rsp + 0x38], r9
mov word [r8 + rax*2 - 2], 0
movsx rcx, byte [rsp + 0x47]
mov rax, rcx
test rcx, rcx
jns 0x1400e6699
mov rax, qword [rsp + 0x38]
shr rcx, 0x3f
test rax, rax
je 0x1400e66e7
mov r8, rdx
test cl, 1
je 0x1400e66af
mov r8, qword [rsp + 0x30]
movzx r9d, word [r8 + rax*2 - 2]
cmp r9d, 0x5c
je 0x1400e66c1
cmp r9d, 0x2f
jne 0x1400e66d5
lea r9, [rax - 1]
test cl, 1
jne 0x1400e6679
and r9b, 0x7f
mov byte [rsp + 0x47], r9b
jmp 0x1400e667e
lea rcx, [rsp + 0x30]
call fcn.1400e7321
test al, al
jne 0x1400e67be
lea r14, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140022056
lea rbx, [rsp + 0xa0]
mov qword [rbx + 0x10], r13
movaps xmmword [rbx], xmm6
lea rdx, str.LOCALAPPDATA
mov rcx, rbx
call fcn.1400e71ee
movsx rax, byte [rbx + 0x17]
test rax, rax
jns 0x1400e6727
mov rax, qword [rsp + 0xa8]
test rax, rax
jne 0x1400e68b1
xor r12d, r12d
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1400e679e
mov r15d, eax
inc r15d
xor r12d, r12d
mov rcx, rbx
mov rdx, r15
xor r8d, r8d
call fcn.1400305e2
cmp byte [rsp + 0xb7], 0
jns 0x1400e676a
mov rbx, qword [rsp + 0xa0]
mov ecx, r15d
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1400e679e
mov edx, eax
movsx rax, byte [rsp + 0xb7]
test rax, rax
jns 0x1400e6792
mov rax, qword [rsp + 0xa8]
cmp rax, rdx
ja 0x1400e68a1
xor r12d, r12d
cmp byte [rsp + 0xb7], 0
jns 0x1400e67b5
mov rcx, qword [rsp + 0xa0]
call fcn.140077d00
test r12b, r12b
jne 0x1400e67be
xor esi, esi
jmp 0x1400e683b
lea rdi, [rsp + 0xa0]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400ae900
cmp byte [rsp + 0x47], 0
js 0x1400e67e4
lea rdx, [rsp + 0x30]
jmp 0x1400e67e9
mov rdx, qword [rsp + 0x30]
mov r8d, 0x104
mov rcx, rdi
call fcn.140093790
test rax, rax
jne 0x1400e6879
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], 0
cmp byte [rsi + 0x17], 0
jns 0x1400e6821
mov rcx, qword [rsi]
call fcn.140077d00
mov rax, qword [rsp + 0x90]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x80]
movups xmmword [rsi], xmm0
mov sil, 1
cmp byte [rsp + 0x47], 0
jns 0x1400e684c
mov rcx, qword [rsp + 0x30]
call fcn.140077d00
mov rcx, qword [rsp + 0x2a8]
xor rcx, rsp
call fcn.140079050
mov eax, esi
movaps xmm6, xmmword [rsp + 0x2b0]
add rsp, 0x2c0
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rdi, [rsp + 0xa0]
mov rcx, rdi
call fcn.1400973f4
lea rcx, [rsp + 0x80]
mov rdx, rdi
mov r8, rax
call fcn.14002fd1e
jmp 0x1400e6813
lea rcx, [rsp + 0xa0]
xor r8d, r8d
call fcn.1400305e2
movaps xmm0, xmmword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rcx
movaps xmm1, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], rax
movsx rcx, byte [rsp + 0x47]
mov rax, rcx
test rcx, rcx
jns 0x1400e68f8
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1400e6b5d
test cl, cl
jns 0x1400e690a
mov r14, qword [rsp + 0x30]
cmp word [r14 + rax*2 - 2], 0x5c
je 0x1400e6921
lea rcx, [rsp + 0x30]
mov dx, 0x5c
call fcn.140030426
lea rbx, [rsp + 0x30]
mov rcx, rdi
mov dl, 1
mov r8, rbx
call fcn.1400632ee
mov rcx, rbx
mov dx, 0x5c
call fcn.140030426
lea rdx, str.User_Data
mov r8d, 9
mov rcx, rbx
call fcn.14002fefe
lea rdi, [rsp + 0x80]
mov qword [rdi + 0x10], r13
movaps xmmword [rdi], xmm6
lea rbx, str.edge_kiosk_type
mov rcx, rbx
call fcn.1400973f4
lea r14, [rsp + 0x68]
mov rcx, r14
mov rdx, rbx
mov r8, rax
call fcn.14002fd1e
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rbx, [rsp + 0x50]
mov rcx, rbx
mov rdx, rax
call fcn.140025308
mov rcx, rdi
mov rdx, rbx
mov r8, r14
call fcn.14006336e
cmp byte [rbx + 0x17], 0
jns 0x1400e69b9
mov rcx, qword [rsp + 0x50]
call fcn.140077d00
cmp byte [rsp + 0x7f], 0
jns 0x1400e69ca
mov rcx, qword [rsp + 0x68]
call fcn.140077d00
lea rdx, str.fullscreen
lea rcx, [rsp + 0x80]
call fcn.14002b0cb
test al, al
jne 0x1400e6b41
lea rdx, str.public_browsing
lea rcx, [rsp + 0x80]
call fcn.14002b0cb
test al, al
jne 0x1400e6b41
cmp byte [rsp + 0x97], 0
jns 0x1400e6a19
mov rcx, qword [rsp + 0x80]
call fcn.140077d00
mov r12b, 1
jmp 0x1400e679e
mov qword [rsp + 0xb0], r13
movaps xmmword [rsp + 0xa0], xmm6
lea rdx, str.SOFTWAREPolicies_
mov r8d, 0x12
mov rcx, r15
call fcn.14002fd1e
mov rcx, rdi
xor edx, edx
mov r8, r15
call fcn.1400632ee
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], 0
cmp byte [rsp + 0xb7], 0
jns 0x1400e6a7c
mov r15, qword [rsp + 0xa0]
mov qword [rsp + 0x20], r14
lea r9, str.UserDataDir
mov ecx, 1
xor edx, edx
mov r8, r15
call fcn.14006d430
test al, al
jne 0x1400e6ad3
cmp byte [rsp + 0xb7], 0
js 0x1400e6aaf
lea r8, [rsp + 0xa0]
jmp 0x1400e6ab7
mov r8, qword [rsp + 0xa0]
mov qword [rsp + 0x20], r14
lea r9, str.UserDataDir
mov ecx, 2
xor edx, edx
call fcn.14006d430
test al, al
je 0x1400e6b0a
lea rcx, [rsp + 0x68]
lea rdx, [rsp + 0x80]
call fcn.1400f3376
cmp byte [rsp + 0x47], 0
jns 0x1400e6af6
mov rcx, qword [rsp + 0x30]
call fcn.140077d00
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x68]
movaps xmmword [rsp + 0x30], xmm0
cmp byte [rsp + 0x97], 0
jns 0x1400e6b21
mov rcx, qword [rsp + 0x80]
call fcn.140077d00
cmp byte [rsp + 0xb7], 0
jns 0x1400e6656
mov rcx, qword [rsp + 0xa0]
call fcn.140077d00
jmp 0x1400e6656
lea rdx, str._Kiosk
lea rcx, [rsp + 0x30]
mov r8d, 6
call fcn.14002fefe
jmp 0x1400e6a02
lea rcx, [0x140110299]
lea rdx, str....._third_partylibc_srcinclude_string:1229:_assertion___pos___size___failed:_string_index_out_of_bounds_n
call fcn.1400bde54
int3