Function at 0x18005bb60
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x18013a080]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rsi, rdx
mov qword [rsp + 0x28], rdx
xor ebx, ebx
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x60]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x104
ja 0x18005bc30
lea rcx, [rbp - 0x60]
mov r8, 0xffffffffffffffff
mov rax, r8
nop dword [rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], bx
jne 0x18005bbe0
cmp word [rbp + rax*2 - 0x62], 0x5c
jne 0x18005bc0b
lea rax, [rax*2 - 2]
cmp rax, 0x20a
jae 0x18005bf1e
mov word [rbp + rax - 0x60], bx
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], rbx
lea rax, [rbp - 0x60]
nop
inc r8
cmp word [rax + r8*2], bx
jne 0x18005bc20
lea rdx, [rbp - 0x60]
jmp 0x18005bc4a
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], rbx
xor r8d, r8d
lea rdx, [0x18011e058]
lea rcx, [rsp + 0x78]
call fcn.18007d240
nop
mov r15, qword [rbp - 0x78]
test r15, r15
jne 0x18005bcca
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], rbx
xor r8d, r8d
lea rdx, [0x18011e058]
mov rcx, rsi
call fcn.18007d240
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x18005bee5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005bee0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005bee0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rdx, [rsp + 0x58]
call fcn.18005b970
mov qword [rsp + 0x28], rax
movabs rax, 0x7ffffffffffffffe
mov rcx, rax
sub rcx, r15
cmp rcx, 1
jb 0x18005bf24
lea rdx, [rsp + 0x78]
mov r14, qword [rsp + 0x78]
mov r12, qword [rbp - 0x70]
cmp r12, 8
cmovae rdx, r14
mov qword [rsp + 0x20], rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea r13, [r15 + 1]
mov ebx, 7
lea rdi, [rsp + 0x30]
cmp r13, rbx
jbe 0x18005bdd0
mov rbx, r13
or rbx, 7
cmp rbx, rax
jbe 0x18005bd55
mov rbx, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x18005bd84
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x18005bf18
add rcx, rcx
cmp rcx, 0x1000
jb 0x18005bdb5
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18005bf18
mov rcx, rax
call fcn.1800e6c44
test rax, rax
je 0x18005be42
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
mov rdx, qword [rsp + 0x20]
jmp 0x18005bdcb
test rcx, rcx
je 0x18005bdc9
call fcn.1800e6c44
mov rdi, rax
mov rdx, qword [rsp + 0x20]
jmp 0x18005bdcb
xor edi, edi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], rbx
lea rbx, [r15 + r15]
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rdi + rbx], 0x5c
xor ebx, ebx
mov word [rdi + r13*2], bx
mov r9, qword [rsp + 0x28]
lea r8, [rsp + 0x30]
mov rcx, rsi
call fcn.18007e0b0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x18005be4f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005be49
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005be49
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e6490
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x18005be94
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005be8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005be8f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e6490
movdqa xmm0, xmmword [0x1801278f0]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], bx
cmp r12, 8
jb 0x18005bee5
lea rdx, [r12*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x18005bedd
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005bedd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.1800e6490
mov rax, rsi
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1800e63a0
lea r11, [rsp + 0x2c0]
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
call fcn.18002e7a0
nop
call fcn.1800e6730
nop
call fcn.1800425b0
int3