Function at 0x18005b7b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x1802b92f8]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r14, rcx
mov qword [rsp + 0x38], rcx
xor r13d, r13d
mov dword [rsp + 0x34], r13d
mov edx, 0x104
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [rsp + 0x40], eax
cmp eax, 0x104
ja 0x18005b9e4
test eax, eax
je 0x18005ba2c
lea rdx, [rbp - 0x80]
lea rax, [rbp - 0x80]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], r13w
jne 0x18005b830
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
lea rcx, [rsp + 0x60]
call fcn.180003510
nop
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], 7
mov word [r14], r13w
mov dword [rsp + 0x34], select
cmp qword [rsp + 0x70], 0
je 0x18005b96d
mov word [rsp + 0x20], r13w
mov r9d, 0x104
movzx r8d, byte [rsp + 0x30]
mov edx, r9d
mov rcx, r14
call fcn.180006290
movzx esi, byte [rsp + 0x30]
nop dword [rax]
nop dword [rax + rax]
mov r15d, dword [r14 + 0x10]
mov r8, r14
cmp qword [r14 + 0x18], 8
jb 0x18005b8c1
mov r8, qword [r14]
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
mov edx, r15d
call fcn.180120c88
mov rbx, rax
mov r12, rax
shr r12, 0x20
mov r8d, eax
mov rdi, qword [r14 + 0x10]
mov rcx, qword [r14 + 0x18]
cmp r8, rdi
ja 0x18005b90b
mov rax, r14
cmp rcx, 8
jb 0x18005b900
mov rax, qword [r14]
mov qword [r14 + 0x10], r8
mov word [rax + r8*2], r13w
jmp 0x18005b95b
mov rdx, r8
sub rdx, rdi
mov rax, rcx
sub rax, rdi
cmp rdx, rax
ja 0x18005b946
mov qword [r14 + 0x10], r8
mov r9, r14
cmp rcx, 8
jb 0x18005b92c
mov r9, qword [r14]
lea rdi, [r9 + rdi*2]
test rdx, rdx
je 0x18005b93f
movzx eax, r13w
mov rcx, rdx
rep stosw word [rdi], ax
mov word [r9 + r8*2], r13w
jmp 0x18005b95b
mov word [rsp + 0x20], r13w
mov r9, rdx
movzx r8d, sil
mov rcx, r14
call fcn.180006290
cmp ebx, r15d
jae 0x18005b8b0
test r12d, r12d
jne 0x18005ba4f
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x18005b9ab
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005b9a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005b9de
call fcn.180118520
mov rax, r14
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.180118df0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180162b34
int3
mov dword [rsp + 0x38], 0x104
lea rax, str.GetSystemDirectory_path_length____is_greater_than_MAX_PATH___
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x41
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.180059780
lea rdx, [0x1802b5a40]
lea rcx, [rsp + 0x60]
call fcn.180152ccc
int3
lea rdx, str.Failed_to_get_the_path_of_the_system_directory
lea rcx, [rsp + 0x60]
call fcn.180059e20
lea rdx, [0x1802b5a40]
lea rcx, [rsp + 0x60]
call fcn.180152ccc
nop
lea r8, [rsp + 0x60]
mov edx, r12d
lea rcx, str.absolute
call fcn.1800219a0
int3