Function at 0x1800385e0
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
push rbp
push r12
push r15
lea rbp, [r11 - 0x228]
sub rsp, 0x310
mov rax, qword [0x18008a300]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
lea r12d, [rdx - 0xf]
mov qword [rsp + 0x70], r8
mov qword [rbp - 0x70], rcx
mov r15, r9
mov r9, rcx
cmp edx, r12d
jbe 0x1800389cb
mov qword [r11 + 0x10], rbx
lea r10, [0x1800192d0]
mov qword [r11 - 0x20], rsi
lea rbx, [0x18008b5b0]
mov esi, dword [rsp + 0x48]
mov qword [r11 - 0x28], rdi
mov edi, dword [rsp + 0x48]
mov qword [r11 - 0x30], r13
lea r13d, [rdx - 0x32]
mov qword [r11 - 0x38], r14
lea rdx, [0x180000000]
mov r14d, dword [rsp + 0x48]
lea r11, str.77:_:d:l::
cmp r13d, 0x2e
ja case.0x180038681.14
movzx eax, byte [rdx + r13 + 0x38a28]
mov ecx, dword [rdx + rax*4 + 0x389ec]
add rcx, rdx
jmp rcx
movups xmm0, xmmword [str.Property_cannot_be_found.]
movzx eax, word [0x18007b528]
movsd xmm1, qword [0x18007b520]
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x80], 0
mov dword [rsp + 0x50], 0x36
movsd qword [rbp - 0x48], xmm1
mov word [rbp - 0x40], ax
jmp case.0x180038681.14
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x54], 0
jmp case.0x180038681.14
mov r8d, dword [r8]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r15 + rax], 0
jne 0x1800386e3
cmp eax, r8d
lea rdx, str.____ds
lea rax, str.__._ds
cmovg rdx, rax
lea rcx, [rbp - 0x68]
call fcn.18006a870
mov r8, r15
lea rdx, [rbp - 0x68]
mov rcx, rbx
call fcn.18006a870
mov qword [rsp + 0x78], rbx
jmp case.0x180038681.14
mov qword [rsp + 0x60], 0
mov qword [r15], r10
jmp case.0x180038681.14
mov byte [rsp + 0x30], 1
jmp case.0x180038681.14
lea r9, [rsp + 0x38]
mov dword [rsp + 0x40], 7
mov r8d, 0x105
mov dword [rsp + 0x38], 6
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], r11
mov rcx, r15
call fcn.180035650
lea rax, str.________
mov dword [rsp + 0x38], 8
mov dword [rsp + 0x40], 7
jmp 0x180038958
mov r9d, dword [rsp + 0x4c]
lea rax, [rbp - 0x30]
mov r8, qword [rsp + 0x68]
mov edx, dword [rsp + 0x50]
mov rcx, qword [rbp - 0x80]
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea r9, [rsp + 0x60]
mov edx, edi
lea r8, [rsp + 0x54]
mov dword [rsp + 0x58], eax
lea rcx, [rbp - 0x58]
call sub.RPCRT4.dll_MesEncodeFixedBufferHandleCreate
mov dword [rsp + 0x48], eax
jmp case.0x180038681.14
movzx eax, byte [rsp + 0x30]
xor ecx, ecx
cmp dword [rsp + 0x58], ecx
cmove ecx, eax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], cl
xor ecx, ecx
cmp dword [rsp + 0x48], ecx
cmove ecx, eax
cmp byte [rsp + 0x30], 0
mov byte [rsp + 0x31], cl
je case.0x180038681.14
mov r8d, dword [rsp + 0x4c]
lea r9, [rbp - 0x30]
mov rdx, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_SHSetFolderPathW]
jmp case.0x180038681.14
cmp byte [rsp + 0x31], 0
je 0x180038896
mov ebx, 0x7f
cmp ebx, 0x7f
je 0x180038874
cmp ebx, 0x13f
je 0x180038849
cmp ebx, 0x1ff
jne 0x18003887c
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x18003887c
call sub.RPCRT4.dll_MesHandleFree
jmp 0x18003887c
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x78]
mov r8d, r14d
mov dword [rsp + 0x20], edi
mov edx, esi
mov qword [rbp - 0x78], 0
call sub.RPCRT4.dll_MesBufferHandleReset
jmp 0x18003887c
mov esi, 1
xor r14d, r14d
add ebx, 0xc0
cmp ebx, 0x2bf
jb 0x180038823
mov r8, qword [rsp + 0x70]
lea rbx, [0x18008b5b0]
lea rcx, [r15 + 0xa]
cmp rcx, r8
je case.0x180038681.14
cmp qword [r8 + 0x18], 0x10
mov rdx, r8
jb 0x1800388b0
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
call fcn.18001ed70
jmp case.0x180038681.14
movzx eax, word [r9]
lea rcx, [rsp + 0x38]
xor r9d, r9d
mov word [rsp + 0x38], ax
mov rdx, r15
lea r8d, [r9 + 0x7e]
call fcn.180003910
lea rax, [rbp - 0x58]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], 0
jne 0x1800388e6
jmp case.0x180038681.14
mov byte [rsp + 0x31], 1
jmp case.0x180038681.14
movsd xmm0, qword [r15 + 0x50]
cvtpd2ps xmm0, xmm0
movss dword [rsp + 0x78], xmm0
jmp case.0x180038681.14
lea rax, [0x18007b55c]
mov dword [rsp + 0x38], 9
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r8d, 0x105
mov dword [rsp + 0x40], 8
lea rdx, [rsp + 0x38]
mov rcx, r15
call fcn.180035650
lea rax, [0x18007b564]
mov dword [rsp + 0x38], 0xb
mov dword [rsp + 0x40], 9
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r8d, 0x105
lea rdx, [rsp + 0x38]
mov rcx, r15
call fcn.180035650
mov r8, qword [rsp + 0x70]
lea rdx, [0x180000000]
mov r9, qword [rbp - 0x70]
lea r10, [0x1800192d0]
dec r13d
lea r11, str.77:_:d:l::
lea eax, [r13 + 0x32]
cmp eax, r12d
ja 0x180038664
mov r13, qword [rsp + 0x2f8]
mov rdi, qword [rsp + 0x300]
mov rsi, qword [rsp + 0x308]
mov rbx, qword [rsp + 0x338]
mov r14, qword [rsp + 0x2f0]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.18006b180
add rsp, 0x310
pop r15
pop r12
pop rbp
ret