Function at 0x1400b1c00
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x1403a73d0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14, r8
mov rsi, rcx
mov qword [rbp - 0x21], rcx
xor r12d, r12d
mov word [rbp - 0x29], r12w
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r12
mov qword [rbp - 1], 7
mov word [rbp - 0x19], r12w
lea rbx, [r12 - 1]
test rdx, rdx
je 0x1400b1cdf
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], r12
mov qword [rbp + 0x1f], 7
mov word [rbp + 7], r12w
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400b1c80
lea rcx, [rbp + 7]
call fcn.140003f50
nop
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rdx, qword [rbp + 7]
mov r8, qword [rbp + 0x17]
lea rcx, [rbp - 0x19]
call fcn.140003f50
nop
lea rcx, [rbp + 7]
call fcn.140011c90
test r14, r14
je 0x1400b1e80
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rcx, qword [rbp - 0x19]
call fcn.1400b1a10
cmp rax, r14
jae 0x1400b1e80
lea rdx, [rbp - 0x29]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
test eax, eax
jne 0x1400b1d2f
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 7
mov word [rsi], r12w
lea rax, [rbp - 0x29]
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400b1d10
mov r8, rbx
lea rdx, [rbp - 0x29]
mov rcx, rsi
call fcn.140003f50
nop
jmp 0x1400b20a0
mov edx, edi
lea rcx, [rbp - 0x19]
call fcn.1400adfd0
mov rdx, rax
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rcx, qword [rbp - 0x19]
call fcn.1400b0e50
movsxd rdx, eax
movzx r8d, r12w
lea rcx, [rbp - 0x19]
call fcn.1400118d0
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rcx, qword [rbp - 0x19]
call fcn.1400b1a10
cmp rax, r14
jae 0x1400b1e80
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r15d, eax
test eax, eax
je 0x1400b1e47
mov eax, 2
mul r15
cmovo rax, rbx
mov rcx, rax
call fcn.1400934b0
mov rdi, rax
mov rdx, rax
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x1400b1dca
mov rcx, rdi
call fcn.1400934c0
jmp 0x1400b1e47
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], r12
mov qword [rbp + 0x1f], 7
mov word [rbp + 7], r12w
mov r8, rbx
inc r8
cmp word [rdi + r8*2], 0
jne 0x1400b1de5
mov rdx, rdi
lea rcx, [rbp + 7]
call fcn.140003f50
nop
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rdx, qword [rbp + 7]
mov r8, qword [rbp + 0x17]
lea rcx, [rbp - 0x19]
call fcn.140003f50
nop
lea rcx, [rbp + 7]
call fcn.140011c90
mov rcx, rdi
call fcn.1400934c0
test r14, r14
je 0x1400b1e80
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rcx, qword [rbp - 0x19]
call fcn.1400b1a10
cmp rax, r14
jae 0x1400b1e80
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 7
mov word [rsi], r12w
lea rax, [rbp - 0x29]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400b1e61
mov r8, rbx
lea rdx, [rbp - 0x29]
mov rcx, rsi
call fcn.140003f50
nop
jmp 0x1400b20a0
lea rcx, [rbp - 0x19]
call fcn.14009faf0
mov edx, 1
lea r8d, [rdx + 0x5b]
lea rcx, [rbp + 7]
call fcn.140025a60
nop
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rdx, qword [rbp + 7]
mov r8, qword [rbp + 0x17]
lea rcx, [rbp - 0x19]
call fcn.140025900
nop
lea rcx, [rbp + 7]
call fcn.140011c90
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], r12
mov qword [rbp + 0x1f], 7
mov word [rbp + 7], r12w
mov r8d, 3
lea rdx, [0x140352108]
lea rcx, [rbp + 7]
call fcn.140003f50
nop
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rdx, qword [rbp + 7]
mov r8, qword [rbp + 0x17]
lea rcx, [rbp - 0x19]
call fcn.140025900
nop
lea rcx, [rbp + 7]
call fcn.140011c90
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], r12
mov qword [rbp + 0x1f], 7
mov word [rbp + 7], r12w
mov r8d, 6
lea rdx, str.XXXXXX
lea rcx, [rbp + 7]
call fcn.140003f50
nop
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rdx, qword [rbp + 7]
mov r8, qword [rbp + 0x17]
lea rcx, [rbp - 0x19]
call fcn.140025900
nop
lea rcx, [rbp + 7]
call fcn.140011c90
mov eax, dword [rbp - 9]
lea r14d, [rax + 1]
cmp eax, r14d
jge 0x1400b1ffa
movsxd rdx, r14d
mov r8, qword [rbp - 9]
cmp rdx, r8
ja 0x1400b1f9e
lea rax, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rax, qword [rbp - 0x19]
mov qword [rbp - 9], rdx
mov word [rax + rdx*2], r12w
jmp 0x1400b1ffa
sub rdx, r8
mov rcx, qword [rbp - 1]
mov rax, rcx
sub rax, r8
cmp rdx, rax
ja 0x1400b1fe3
lea rax, [rdx + r8]
mov qword [rbp - 9], rax
lea r9, [rbp - 0x19]
cmp rcx, 8
cmovae r9, qword [rbp - 0x19]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x1400b1fd8
movzx eax, r12w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r12w
jmp 0x1400b1ffa
mov word [rsp + 0x20], r12w
mov r9, rdx
movzx r8d, byte [rbp - 0x29]
lea rcx, [rbp - 0x19]
call fcn.1400165d0
mov rax, qword [rbp - 9]
lea rax, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rax, qword [rbp - 0x19]
movsxd rdx, r14d
mov rcx, rax
call fcn.1402b389c
mov edi, eax
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rcx, qword [rbp - 0x19]
call fcn.1400b0e50
movsxd rdx, eax
movzx r8d, r12w
lea rcx, [rbp - 0x19]
call fcn.1400118d0
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 7
mov word [rsi], r12w
test edi, edi
je 0x1400b207c
lea rax, [rbp - 0x29]
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400b2060
mov r8, rbx
lea rdx, [rbp - 0x29]
mov rcx, rsi
call fcn.140003f50
nop
jmp 0x1400b20a0
lea rax, [rbp - 0x19]
cmp rsi, rax
je 0x1400b20a0
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rdx, qword [rbp - 0x19]
mov r8, qword [rbp - 9]
mov rcx, rsi
call fcn.140003f50
nop
lea rcx, [rbp - 0x19]
call fcn.140011c90
mov rax, rsi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14010f500
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret