Function at 0x1800a6df0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x308]
sub rsp, 0x3e0
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1802247b8]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
mov qword [rsp + 0x50], rdx
xor eax, eax
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rax
mov qword [rbp + 0xa0], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x90], xmm0
xor r12d, r12d
mov qword [rbp + 0xa0], r12
lea rdx, [rbp + 0x90]
call fcn.1800b19d0
mov rbx, qword [rbp + 0x90]
mov rax, qword [rbp + 0x98]
cmp rbx, rax
je 0x1800a7834
mov word [rbp + 0xc0], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0xc2]
call fcn.180140c00
mov edx, 0x104
lea rcx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r13d, eax
mov dword [rbp + 0x20], eax
nop word [rax + rax]
mov qword [rbp + 0x38], r12
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x40], 0xf
mov qword [rbp + 0x38], r12
mov byte [rbp + 0x28], 0
cmp qword [rbx + 0x18], 8
jb 0x1800a6ee4
mov rcx, qword [rbx]
jmp 0x1800a6ee7
mov rcx, rbx
lea r8, [rbp + 0x28]
mov rdx, qword [rbx + 0x10]
call fcn.18004de80
cmp qword [rbp + 0x38], 0
je 0x1800a77b7
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], r12
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], r12
mov word [rbp - 0x20], r12w
lea rdx, [rbx + 0x20]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp - 0x20]
call fcn.180005330
nop
mov rdi, qword [rbp - 0x10]
mov r14, rdi
cmp rdi, 1
jb 0x1800a6ffc
mov rsi, r12
test rdi, rdi
je 0x1800a6ffc
nop word [rax + rax]
cmp rdi, rsi
jbe 0x1800a77ec
lea rax, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rax, qword [rbp - 0x20]
movzx edx, word [rax + rsi*2]
lea rcx, [0x1801ae6b4]
call fcn.18013b7bc
test rax, rax
je 0x1800a6f8a
inc rsi
cmp rsi, r14
jae 0x1800a6f8a
mov rdi, qword [rbp - 0x10]
jmp 0x1800a6f50
mov rdi, qword [rbp - 0x10]
test rsi, rsi
je 0x1800a6ffc
cmp rdi, rsi
ja 0x1800a6fb0
mov qword [rbp - 0x10], r12
lea rax, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rax, qword [rbp - 0x20]
mov word [rax], r12w
jmp 0x1800a6ff8
test rsi, rsi
je 0x1800a6ffc
lea rcx, [rbp - 0x20]
mov rdx, qword [rbp - 0x20]
mov r8, qword [rbp - 8]
cmp r8, 8
cmovae rcx, rdx
sub rdi, rsi
je 0x1800a6fe3
lea r8, [rdi + rdi]
lea rdx, [rcx + rsi*2]
call fcn.180139340
mov r8, qword [rbp - 8]
mov rdx, qword [rbp - 0x20]
mov qword [rbp - 0x10], rdi
lea rax, [rbp - 0x20]
cmp r8, 8
cmovae rax, rdx
mov word [rax + rdi*2], r12w
mov rdi, qword [rbp - 0x10]
mov r12, rdi
cmp rdi, 1
jb 0x1800a70fc
mov rsi, rdi
test rdi, rdi
je 0x1800a70fc
lea r14, [rdi*2 - 2]
nop dword [rax]
lea r15, [rsi - 1]
cmp rdi, r15
jbe 0x1800a7806
lea rax, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rax, qword [rbp - 0x20]
movzx edx, word [r14 + rax]
lea rcx, [0x1801ae6b4]
call fcn.18013b7bc
test rax, rax
je 0x1800a7063
mov rsi, r15
sub r14, 2
test r15, r15
je 0x1800a7063
mov rdi, qword [rbp - 0x10]
jmp 0x1800a7020
cmp rsi, r12
jae 0x1800a70fc
sub r12, rsi
mov rdi, qword [rbp - 0x10]
cmp rdi, rsi
jb 0x1800a77f9
mov rax, rdi
sub rax, rsi
cmp rax, r12
ja 0x1800a70a3
mov qword [rbp - 0x10], rsi
lea rax, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rax, qword [rbp - 0x20]
xor r12d, r12d
mov word [rax + rsi*2], r12w
jmp 0x1800a70ff
test r12, r12
je 0x1800a70fc
lea rax, [rbp - 0x20]
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 8]
cmp rdx, 8
cmovae rax, rcx
lea r9, [rax + rsi*2]
sub rdi, r12
mov r8, rdi
sub r8, rsi
je 0x1800a70e2
add r8, r8
lea rdx, [r9 + r12*2]
mov rcx, r9
call fcn.180139340
mov rdx, qword [rbp - 8]
mov rcx, qword [rbp - 0x20]
mov qword [rbp - 0x10], rdi
lea rax, [rbp - 0x20]
cmp rdx, 8
cmovae rax, rcx
xor r12d, r12d
mov word [rax + rdi*2], r12w
jmp 0x1800a70ff
xor r12d, r12d
mov eax, dword [rbp - 0x10]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x20]
lea rdx, [rbp + 0x20]
cmp eax, r13d
cmovae rcx, rdx
lea rsi, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rsi, qword [rbp - 0x20]
mov r15d, dword [rcx]
lea r14, [rbp + 0xc0]
test r15, r15
je 0x1800a7796
lea rax, [rbp + 0xc0]
cmp rsi, rax
je 0x1800a7796
movzx ecx, word [r14]
call fcn.18013bcfc
movzx edi, ax
movzx ecx, word [rsi]
call fcn.18013bcfc
lea r14, [r14 + 2]
cmp ax, di
jne 0x1800a7179
movzx eax, word [rsi]
add rsi, 2
test ax, ax
je 0x1800a7796
dec r15
jmp 0x1800a7141
movzx ecx, word [r14 - 2]
call fcn.18013bcfc
movzx edi, ax
movzx ecx, word [rsi]
call fcn.18013bcfc
movzx eax, ax
cmp eax, edi
je 0x1800a7796
mov edx, 0x22
lea rcx, [rbp - 0x20]
call fcn.180027560
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x1800a73d7
mov r9, rax
xor r8d, r8d
lea rdx, [rbp]
lea rcx, [rbp - 0x20]
call fcn.180023940
nop
mov rdi, qword [rbp + 0x10]
mov r14, rdi
cmp rdi, 1
jb 0x1800a7291
mov rsi, r12
test rdi, rdi
je 0x1800a7291
cmp rdi, rsi
jbe 0x1800a7813
lea rax, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rax, qword [rbp]
movzx edx, word [rax + rsi*2]
lea rcx, [0x1801ab180]
call fcn.18013b7bc
test rax, rax
je 0x1800a721f
inc rsi
cmp rsi, r14
jae 0x1800a721f
mov rdi, qword [rbp + 0x10]
jmp 0x1800a71e5
mov rdi, qword [rbp + 0x10]
test rsi, rsi
je 0x1800a7291
cmp rdi, rsi
ja 0x1800a7245
mov qword [rbp + 0x10], r12
lea rax, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rax, qword [rbp]
mov word [rax], r12w
jmp 0x1800a728d
test rsi, rsi
je 0x1800a7291
lea rcx, [rbp]
mov rdx, qword [rbp]
mov r8, qword [rbp + 0x18]
cmp r8, 8
cmovae rcx, rdx
sub rdi, rsi
je 0x1800a7278
lea r8, [rdi + rdi]
lea rdx, [rcx + rsi*2]
call fcn.180139340
mov r8, qword [rbp + 0x18]
mov rdx, qword [rbp]
mov qword [rbp + 0x10], rdi
lea rax, [rbp]
cmp r8, 8
cmovae rax, rdx
mov word [rax + rdi*2], r12w
mov rdi, qword [rbp + 0x10]
mov r12, rdi
cmp rdi, 1
jb 0x1800a730a
mov rsi, rdi
test rdi, rdi
je 0x1800a730a
lea r14, [rdi*2 - 2]
nop word [rax + rax]
lea r15, [rsi - 1]
cmp rdi, r15
jbe 0x1800a7820
lea rax, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rax, qword [rbp]
movzx edx, word [rax + r14]
lea rcx, [0x1801ab180]
call fcn.18013b7bc
test rax, rax
je 0x1800a72f3
mov rsi, r15
sub r14, 2
test r15, r15
je 0x1800a72f3
mov rdi, qword [rbp + 0x10]
jmp 0x1800a72b0
cmp rsi, r12
jae 0x1800a730a
sub r12, rsi
mov r8, r12
mov rdx, rsi
lea rcx, [rbp]
call fcn.180005ac0
lea r8, [r13 + 1]
or r9, 0xffffffffffffffff
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x20]
call fcn.180023940
nop
mov r8, rax
lea rdx, [rbp]
lea rcx, [rbp - 0x48]
call fcn.1800bb410
mov rdi, rax
lea rax, [rbp - 0x20]
cmp rax, rdi
je 0x1800a736f
cmp qword [rbp - 8], 8
jb 0x1800a734d
mov rcx, qword [rbp - 0x20]
call fcn.180139b7c
mov qword [rbp - 8], 7
xor r12d, r12d
mov qword [rbp - 0x10], r12
mov word [rbp - 0x20], r12w
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.180005250
jmp 0x1800a7372
xor r12d, r12d
cmp qword [rbp - 0x30], 8
jb 0x1800a7382
mov rcx, qword [rbp - 0x48]
call fcn.180139b7c
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r12
mov word [rbp - 0x48], r12w
cmp qword [rbp - 0x70], 8
jb 0x1800a73a4
mov rcx, qword [rsp + 0x78]
call fcn.180139b7c
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r12
mov word [rsp + 0x78], r12w
cmp qword [rbp + 0x18], 8
jb 0x1800a73c6
mov rcx, qword [rbp]
call fcn.180139b7c
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], r12
mov word [rbp], r12w
mov qword [rbp + 0x58], r12
mov qword [rbp + 0x60], r12
mov qword [rbp + 0x60], 0xf
mov qword [rbp + 0x58], r12
mov byte [rbp + 0x48], 0
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x68]
call fcn.18003e980
mov rdi, rax
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.18003e980
nop
cmp qword [rax + 0x18], 8
jb 0x1800a7418
mov rax, qword [rax]
lea r8, [rbp + 0x48]
mov rdx, qword [rdi + 0x10]
mov rcx, rax
call fcn.18004de80
nop
cmp qword [rsp + 0x70], 8
jb 0x1800a743b
mov rcx, qword [rsp + 0x58]
call fcn.180139b7c
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r12
mov word [rsp + 0x58], r12w
cmp qword [rbp - 0x50], 8
jb 0x1800a745f
mov rcx, qword [rbp - 0x68]
call fcn.180139b7c
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], r12
mov word [rbp - 0x68], r12w
cmp qword [rbp + 0x58], 0
jne 0x1800a74d1
cmp qword [rbp + 0x60], 0x10
jb 0x1800a7487
mov rcx, qword [rbp + 0x48]
call fcn.180139b7c
mov byte [rbp + 0x48], 0
mov qword [rbp + 0x58], r12
mov qword [rbp + 0x60], 0xf
cmp qword [rbp - 8], 8
jb 0x1800a74a7
mov rcx, qword [rbp - 0x20]
call fcn.180139b7c
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], r12
mov word [rbp - 0x20], r12w
cmp qword [rbp + 0x40], 0x10
jb 0x1800a74c8
mov rcx, qword [rbp + 0x28]
call fcn.180139b7c
mov r13d, dword [rbp + 0x20]
jmp 0x1800a77c7
xor eax, eax
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xa8], xmm0
mov qword [rbp + 0xb8], r12
lea r8, [rbp + 0xa8]
lea rcx, [rbp + 0x48]
call fcn.18009ff20
mov r14, qword [rbp + 0xa8]
mov rsi, qword [rbp + 0xb0]
cmp r14, rsi
je 0x1800a7739
xor eax, eax
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rax
and eax, 0xffffff00
mov dword [rbp + 0x70], eax
btr eax, 8
mov dword [rbp + 0x70], eax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x78], xmm0
mov qword [rbp + 0x88], r12
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x30], 4
or dword [rsp + 0x30], 0x100
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r12
lea rcx, [rbp + 0x28]
cmp qword [rbp + 0x40], 0x10
cmovae rcx, qword [rbp + 0x28]
mov edx, dword [rbp + 0x38]
call fcn.1800ea1d0
mov qword [rsp + 0x28], rax
lea r8, [0x1801a9ea0]
lea rdx, str.name
lea rcx, [rbp + 0x68]
call fcn.1800edae0
mov rcx, rax
lea rdx, [rsp + 0x28]
call fcn.1800eb9b0
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
mov rdx, r14
lea rcx, [rsp + 0x28]
call fcn.1800eb570
mov rdi, rax
lea r8, [0x1801a9e98]
lea rdx, [0x1801a9e94]
lea rcx, [rbp + 0x68]
call fcn.1800edae0
mov rcx, rax
mov rdx, rdi
call fcn.1800eb9b0
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
movsxd rax, dword [rbx + 0x40]
mov byte [rsp + 0x30], 1
and dword [rsp + 0x30], 0xfffffeff
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x28], rax
lea r8, [0x1801ae6c2]
lea rdx, str.status
lea rcx, [rbp + 0x68]
call fcn.1800edae0
mov rcx, rax
lea rdx, [rsp + 0x28]
call fcn.1800eb9b0
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
movsxd rax, dword [rbx + 0x44]
mov byte [rsp + 0x30], 1
and dword [rsp + 0x30], 0xfffffeff
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x28], rax
lea r8, [0x1801ae6e1]
lea rdx, str.start
lea rcx, [rbp + 0x68]
call fcn.1800edae0
mov rcx, rax
lea rdx, [rsp + 0x28]
call fcn.1800eb9b0
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x68]
lea rcx, [rsp + 0x28]
call fcn.1800eb610
mov rdi, rax
mov rcx, qword [rsp + 0x50]
call fcn.1800ecea0
mov edx, eax
mov rcx, qword [rsp + 0x50]
call fcn.1800ed260
mov rcx, rax
mov rdx, rdi
call fcn.1800eb9b0
nop
movsx eax, byte [rbp + 0x70]
cmp eax, 4
je 0x1800a76fa
add eax, 0xfffffffa
cmp eax, 1
ja 0x1800a770c
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x1800a770c
call fcn.1800eb920
jmp 0x1800a770c
test dword [rbp + 0x70], 0x100
je 0x1800a770c
mov rcx, qword [rbp + 0x68]
call fcn.18013ab20
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x1800a7735
lea rdi, [rcx - 8]
lea r9, [0x1800eaea0]
mov r8d, dword [rdi]
mov edx, 8
call fcn.180139fd8
mov rcx, rdi
call fcn.18013a400
mov qword [rbp + 0x68], r12
test r14, r14
je 0x1800a7477
mov rdi, r14
cmp r14, rsi
je 0x1800a7777
nop word [rax + rax]
cmp qword [rdi + 0x18], 0x10
jb 0x1800a775f
mov rcx, qword [rdi]
call fcn.180139b7c
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r12
mov byte [rdi], 0
add rdi, 0x20
cmp rdi, rsi
jne 0x1800a7750
mov rcx, r14
call fcn.180139b7c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xa8], xmm0
mov qword [rbp + 0xb8], r12
jmp 0x1800a7477
cmp qword [rbp - 8], 8
jb 0x1800a77a6
mov rcx, qword [rbp - 0x20]
call fcn.180139b7c
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], r12
mov word [rbp - 0x20], r12w
cmp qword [rbp + 0x40], 0x10
jb 0x1800a77c7
mov rcx, qword [rbp + 0x28]
call fcn.180139b7c
mov byte [rbp + 0x28], 0
mov qword [rbp + 0x38], r12
mov qword [rbp + 0x40], 0xf
add rbx, 0x48
mov rax, qword [rbp + 0x98]
cmp rbx, rax
je 0x1800a782d
jmp 0x1800a6ec0
lea rcx, [0x1801a8aa8]
call fcn.180112354
int3
lea rcx, [0x1801a8aa8]
call fcn.180112354
int3
lea rcx, [0x1801a8aa8]
call fcn.180112354
nop
lea rcx, [0x1801a8aa8]
call fcn.180112354
int3
lea rcx, [0x1801a8aa8]
call fcn.180112354
nop
mov rbx, qword [rbp + 0x90]
test rbx, rbx
je 0x1800a785e
mov r8, rax
mov rdx, rbx
call fcn.1800b9680
mov rcx, rbx
call fcn.180139b7c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], r12
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.180139310
lea r11, [rsp + 0x3e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret