Function at 0x140010ec8
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x1400a48d0]
xor rax, rsp
mov qword [rbp + reloc.MFC42u.dll_CMapStringToPtr::operator__], rax
mov r15, qword [rbp + 0x3f0]
xor eax, eax
xorps xmm0, xmm0
mov qword [rsp + 0x78], rax
xor r13d, r13d
mov r14, rdx
mov ebx, r13d
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
mov rcx, qword [str._b0_n_]
lea rsi, str._b0_n_
cmp rcx, rsi
je 0x140010f50
test byte [rcx + 0x1c], 2
je 0x140010f50
cmp byte [rcx + 0x19], 5
jb 0x140010f50
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x11]
lea r8, [0x140084e28]
call fcn.1400043e4
test r14, r14
jne 0x140010fc5
lea rdx, [rbp - 0x80]
mov ecx, 0x208
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
nop dword [rax + rax]
test eax, eax
jne 0x140010fc1
mov rax, qword [str._b0_n_]
cmp rax, rsi
je 0x140011240
test byte [rax + 0x1c], 2
je 0x140011240
cmp byte [rax + 0x19], 2
jb 0x140011240
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._b0_n_]
lea edx, [r14 + 0x12]
mov r9d, eax
lea r8, [0x140084e28]
mov rcx, qword [rcx + 0x10]
call fcn.140004410
jmp 0x140011240
lea r14, [rbp - 0x80]
mov edx, 0x5c
mov rcx, r14
call qword [sym.imp.msvcrt.dll_wcsrchr]
nop dword [rax + rax]
test rax, rax
je 0x140010ffa
cmp word [rax + 2], r13w
jne 0x140010ffa
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 1]
call qword [sym.imp.msvcrt.dll__wcsnset]
nop dword [rax + rax]
mov edi, r13d
test edi, edi
jne 0x140011043
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
nop dword [rax + rax]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
nop dword [rax + rax]
test eax, eax
je 0x1400110e4
mov ebx, dword [rsp + 0x44]
mov eax, dword [rsp + 0x40]
shl rbx, 0x20
or rbx, rax
shr rbx, 8
mov edx, dword [rbp + 0x3f8]
lea rax, [0x140085ce8]
mov qword [rsp + 0x38], rax
lea r8, str._s_s_s_I64X._s
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov r9, r14
lea rax, [0x1400835a0]
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.140006aa0
mov esi, eax
test eax, eax
js 0x1400111f9
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 1
mov rcx, r15
call fcn.140011334
cmp rax, 0xffffffffffffffff
jne 0x14001119e
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0xb7
je 0x1400110ce
cmp eax, 0x50
jne 0x14001113f
inc rbx
inc edi
cmp edi, 0x100
jae 0x1400111b3
jmp 0x140010ffd
mov rax, qword [str._b0_n_]
lea rdx, str._b0_n_
cmp rax, rdx
je 0x140011240
test byte [rax + 0x1c], 2
je 0x140011240
cmp byte [rax + 0x19], 2
jb 0x140011240
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._b0_n_]
lea r8, [0x140084e28]
mov r9d, eax
mov edx, 0x14
mov rcx, qword [rcx + 0x10]
call fcn.140004410
jmp 0x140011240
mov rax, qword [str._b0_n_]
lea rdx, str._b0_n_
cmp rax, rdx
je 0x140011240
test byte [rax + 0x1c], 2
je 0x140011240
cmp byte [rax + 0x19], 2
jb 0x140011240
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._b0_n_]
lea r8, [0x140084e28]
mov edx, 0x16
mov dword [rsp + 0x20], eax
mov r9, r15
mov rcx, qword [rcx + 0x10]
call fcn.140004454
jmp 0x140011240
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
cmp edi, 0x100
jne 0x1400111f4
mov rcx, qword [str._b0_n_]
lea rdx, str._b0_n_
cmp rcx, rdx
je 0x1400111ed
test byte [rcx + 0x1c], 2
je 0x1400111ed
cmp byte [rcx + 0x19], 2
jb 0x1400111ed
mov rcx, qword [rcx + 0x10]
mov r9d, 0x100
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rbx
call fcn.140010a9c
mov ecx, 4
jmp 0x140011234
mov rax, rbx
jmp 0x140011242
mov rcx, qword [str._b0_n_]
lea rdx, str._b0_n_
cmp rcx, rdx
je 0x140011231
test byte [rcx + 0x1c], 2
je 0x140011231
cmp byte [rcx + 0x19], 2
jb 0x140011231
mov rcx, qword [rcx + 0x10]
lea r8, [0x140084e28]
movzx r9d, si
mov edx, 0x15
call fcn.140004410
movzx ecx, si
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
mov rcx, qword [rbp + reloc.MFC42u.dll_CMapStringToPtr::operator__]
xor rcx, rsp
call fcn.14006e550
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret