Function at 0x140010210
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x140030040]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r14, rcx
mov qword [rbp - 0x68], rcx
xor r15d, r15d
movdqa xmm0, xmmword [0x140020800]
movdqu xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [str.utionDownload_]
movdqu xmmword [rbp - 0x50], xmm1
mov edx, 0x100
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x70]
call fcn.140011a90
nop
lea r8, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova r8, qword [rsp + 0x70]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
mov r9d, dword [rbp - 0x80]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8, rbx
lea rcx, [rsp + 0x50]
call fcn.140012100
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rax, qword [rsp + 0x50]
lea r8, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova r8, qword [rsp + 0x70]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp - 0x80]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
lea rax, [rbp - 0x40]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140010330
movabs rsi, 0x7ffffffffffffffe
cmp rbx, rsi
ja 0x140010552
mov qword [rsp + 0x48], 7
cmp rbx, 7
ja 0x140010380
mov qword [rsp + 0x40], rbx
add rbx, rbx
mov r8, rbx
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x30], r15w
jmp 0x140010432
mov rax, rbx
or rax, 7
cmp rax, rsi
jbe 0x14001039c
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x1400103ce
mov rsi, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rsi, rcx
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140010558
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400103fa
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140010558
mov rcx, rax
call fcn.1400163ac
test rax, rax
je 0x14001047e
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14001040c
test rcx, rcx
je 0x140010409
call fcn.1400163ac
mov rdi, rax
jmp 0x14001040c
mov rdi, r15
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
add rbx, rbx
mov r8, rbx
lea rdx, [rbp - 0x40]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rdi + rbx], r15w
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
mov rcx, r14
call fcn.140012560
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x14001048b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010485
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140010485
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140016628
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x1400104d0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400104cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400104cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140016628
movdqa xmm0, xmmword [0x140020760]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r15w
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140010523
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001051e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001051e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140016628
mov rax, r14
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400160f0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1400101d0
nop
call fcn.140010130
int3