Function at 0x18006b930
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1801044f8]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r15, rcx
mov dword [rsp + 0x30], 0
mov ecx, dword [0x180109250]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov edi, 0xf
mov eax, dword [rdx + rax]
cmp dword [0x1801088c0], eax
jg 0x18006bca7
lea rbp, [0x1801088a0]
cmp qword [0x1801088b0], 0
jne 0x18006baa9
mov rax, qword [0x1801088b8]
cmp rax, 0x800
jb 0x18006b9e8
mov qword [0x1801088b0], 0x800
mov rbx, rbp
cmp rax, 0x10
cmovae rbx, qword [0x1801088a0]
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call fcn.180095d50
mov byte [rbx + 0x800], 0
jmp 0x18006ba01
mov byte [rsp + 0x20], 0
mov r9d, 0x800
xor r8d, r8d
mov edx, r9d
mov rcx, rbp
call fcn.1800409d0
mov rcx, rbp
cmp qword [0x1801088b8], 0x10
cmovae rcx, qword [0x1801088a0]
mov edx, dword [0x1801088b0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ecx, eax
mov rdx, qword [0x1801088b0]
cmp rcx, rdx
ja 0x18006ba4e
mov rax, rbp
cmp qword [0x1801088b8], 0x10
cmovae rax, qword [0x1801088a0]
mov qword [0x1801088b0], rcx
mov byte [rax + rcx], 0
jmp 0x18006baa9
mov rsi, rcx
sub rsi, rdx
mov r8, qword [0x1801088b8]
mov rax, r8
sub rax, rdx
cmp rsi, rax
ja 0x18006ba92
mov qword [0x1801088b0], rcx
mov rbx, rbp
cmp r8, 0x10
cmovae rbx, qword [0x1801088a0]
add rbx, rdx
mov r8, rsi
xor edx, edx
mov rcx, rbx
call fcn.180095d50
mov byte [rsi + rbx], 0
jmp 0x18006baa9
mov byte [rsp + 0x20], 0
mov r9, rsi
xor r8d, r8d
mov rdx, rsi
mov rcx, rbp
call fcn.1800409d0
nop
mov rsi, qword [0x1801088b0]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rsi
cmp rax, 1
jb 0x18006bd01
cmp qword [0x1801088b8], 0x10
cmovae rbp, qword [0x1801088a0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
lea r14, [rsi + 1]
lea rbx, [rsp + 0x38]
cmp r14, 0xf
jbe 0x18006bb74
mov rdi, r14
or rdi, 0xf
cmp rdi, rcx
jbe 0x18006bb36
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.18009354c
test rax, rax
je 0x18006bd07
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x18006bb6f
mov eax, 0x16
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x18006bb5e
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18006bca1
jmp 0x18006bb17
test rcx, rcx
je 0x18006bb6d
call fcn.18009354c
mov rbx, rax
jmp 0x18006bb6f
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], rdi
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.1800956b0
mov byte [rbx + rsi], 0x5c
mov byte [rbx + r14], 0
mov ebx, 1
mov dword [rsp + 0x30], ebx
mov r8, r15
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.180005da0
nop
and ebx, 0xfffffffe
mov dword [rsp + 0x30], ebx
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x18006bbf5
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006bbf0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18006bd0d
call fcn.180093588
movdqa xmm0, xmmword [0x1800e4080]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x18006bc5b
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006bc56
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18006bc9b
call fcn.180093588
movdqa xmm0, xmmword [0x1800e4080]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov rax, rbx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180093c30
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call fcn.18009a4c4
nop
call fcn.180001da0
nop
lea rcx, [0x1801088c0]
call fcn.1800939b8
cmp dword [0x1801088c0], 0xffffffff
jne 0x18006b991
xorps xmm0, xmm0
movups xmmword [0x1801088a0], xmm0
mov qword [0x1801088b0], 0
mov qword [0x1801088b8], rdi
mov byte [0x1801088a0], 0
lea rcx, [0x1800cbfd0]
call fcn.1800938f8
nop
lea rcx, [0x1801088c0]
call fcn.18009394c
jmp 0x18006b991
call fcn.180001ee0
int3
call fcn.18009a4c4
nop
call fcn.18009a4c4
int3