Function at 0x180011620
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x468]
sub rsp, 0x540
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
mov rax, qword [0x18017d2b8]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
lea r12d, [rdx - 0x13]
mov r14d, edx
mov r13, rcx
cmp edx, r12d
jbe 0x180011e13
movsd xmm6, qword [0x1801598f8]
lea r15d, [rdx - 0x3c]
movsd xmm9, qword [0x18015a2f8]
lea rdx, [0x180000000]
movsd xmm7, qword [0x180159978]
xor ebx, ebx
movsd xmm8, qword [0x18015d008]
movabs r11, 0x3200730077
movsd xmm11, qword [0x18015a310]
mov r10d, 0x4153
movsd xmm10, qword [0x18015cff8]
movsd xmm12, qword [0x18015a308]
lea r8d, [rbx + 0x57]
mov rsi, qword [rbp - 0x68]
lea r9d, [rbx + 0x70]
mov edi, dword [rbp - 0x80]
nop word [rax + rax]
cmp r15d, 0x1f
ja case.0x180011715.13
mov ecx, dword [rdx + r15*4 + 0x11ecc]
add rcx, rdx
jmp rcx
xor eax, eax
mov qword [rbp - 0x70], rbx
xorps xmm0, xmm0
mov qword [rbp - 0x40], rax
movups xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x38], eax
mov dword [rsp + 0x78], ebx
jmp case.0x180011715.13
mov ecx, 0x202
mov dword [rbp - 0x50], 0x1c
lea rdx, [rbp - 0x30]
call qword [rbp - 0x60]
test eax, eax
je 0x1800118f4
mov ebx, 6
nop dword [rax]
nop dword [rax + rax]
lea rdx, [0x180000000]
cmp ebx, 6
ja case.default.0x18001177c
mov eax, ebx
mov ecx, dword [rdx + rax*4 + 0x11f4c]
add rcx, rdx
jmp rcx
lea rcx, [rbp + 0x180]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x180011790
movzx eax, word [0x18015391c]
lea rdx, [0x180153920]
mov word [rcx], ax
mov r8d, 4
lea rcx, [rbp + 0x18e]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov r8d, 7
lea rdx, str.BN.res
lea rcx, [rbp + 0x191]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
jmp 0x18001187c
mov eax, 0x69
lea rdx, [0x180150a68]
mov word [rbp + 0x180], ax
mov eax, 0x63
mov word [rbp + 0x181], ax
mov r8d, 1
lea rcx, [rbp + 0x180]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
jmp 0x18001187c
mov eax, dword [str.l_la]
lea rdx, [0x180153934]
mov dword [rbp + 0x187], eax
lea rcx, [rbp + 0x180]
movzx eax, byte [0x180153930]
mov r8d, 1
mov byte [rbp + 0x18b], al
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
lea rdx, [0x18014dbd0]
jmp 0x1800117fc
xor esi, esi
jmp case.default.0x18001177c
mov eax, dword [str.dt51]
mov dword [rbp + 0x183], eax
movzx eax, byte [0x18015393c]
mov byte [rbp + 0x187], al
jmp case.default.0x18001177c
lea rdx, [rbp + 0x180]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_CopyMetaFileA]
lea rdx, [0x180000000]
dec ebx
lea eax, [rbx + 0xde]
cmp eax, 0xdd
ja 0x180011760
xor ebx, ebx
mov r8d, 0x57
mov r10d, 0x4153
movabs r11, 0x3200730077
lea r9d, [r8 + 0x19]
jmp case.0x180011715.13
mov r8d, 1
lea rdx, [0x1801533d0]
lea rcx, [rbp + 0x198]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
mov r8d, 2
lea rdx, [0x18014dfe8]
lea rcx, [rbp + 0x198]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
mov qword [rbp - 0x68], rbx
mov byte [rsp + 0x40], 1
lea rdx, [0x180000000]
jmp 0x180011898
movsd xmm0, qword [rsp + 0x70]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x50]
mov dword [rsp + 0x28], reloc.SHELL32.dll_SHTestTokenMembership
lea r8, [0x180153940]
lea rdx, str.eraEform
mov qword [rsp + 0x20], r13
lea rcx, [rsp + 0x58]
movsd qword [rsp + 0x58], xmm6
movsd qword [rsp + 0x48], xmm9
movsd qword [rsp + 0x50], xmm0
call fcn.1800fe9c0
xor r9d, r9d
mov dword [rsp + 0x58], 4
lea r8, [rsp + 0x68]
mov dword [rsp + 0x20], 0x12c
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.1800390a0
mov dword [rsp + 0x58], eax
lea rdx, [0x180000000]
jmp 0x180011898
xor r9d, r9d
mov dword [rsp + 0x58], 2
lea r8, [rsp + 0x68]
mov dword [rsp + 0x20], 0x12c
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.1800390a0
mov dword [rsp + 0x58], eax
lea r9, str.eraEform
mov dword [rsp + 0x48], eax
lea r8, [rsp + 0x50]
lea rax, [0x180152344]
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x48]
mov ecx, 0xd4
mov qword [rsp + 0x20], r13
call fcn.1800186b0
movsd xmm0, qword [rsp + 0x68]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x50]
mov dword [rsp + 0x28], reloc.SHELL32.dll_SHTestTokenMembership
lea r8, [0x180153954]
lea rdx, str.eraEform
mov qword [rsp + 0x20], r13
lea rcx, [rsp + 0x60]
movsd qword [rsp + 0x60], xmm7
movsd qword [rsp + 0x48], xmm8
movsd qword [rsp + 0x50], xmm0
call fcn.1800fe9c0
lea r8, [0x180153958]
movsd qword [rsp + 0x60], xmm11
movsd xmm0, qword [rsp + 0x70]
movsd qword [rsp + 0x50], xmm6
lea rax, [rsp + 0x60]
movsd qword [rsp + 0x48], xmm0
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x48]
mov dword [rsp + 0x28], reloc.SHELL32.dll_SHTestTokenMembership
lea rdx, str.eraEform
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], r13
call fcn.1800fe9c0
xor ebx, ebx
lea rdx, [0x180000000]
jmp 0x180011898
movsd xmm0, qword [str._32.]
movzx eax, word [0x180153968]
mov qword [rbp + 0x198], r11
movsd qword [rbp + 0x19e], xmm0
mov word [rbp + 0x1a6], ax
jmp case.0x180011715.13
mov eax, dword [rsp + 0x58]
lea r9, str.eraEform
mov dword [rsp + 0x50], eax
lea r8, [rsp + 0x48]
lea rax, [0x18015235c]
mov dword [rsp + 0x48], 0xffffffff
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x50]
mov ecx, 0xd4
mov qword [rsp + 0x20], r13
call fcn.1800186b0
lea rdx, [0x180000000]
jmp 0x180011898
mov word [rbp + 0x170], r8w
jmp case.0x180011715.13
lea r8, [rbp + 0x170]
mov dword [rbp - 0x80], ebx
mov edx, 0x29
mov qword [rbp - 0x58], rbx
lea rcx, [rbp + 0x198]
mov dword [rsp + 0x7c], 0x36
call fcn.180012590
mov qword [rbp - 0x60], rax
lea rdx, [0x180000000]
jmp 0x180011898
mov eax, 0x72
mov word [rbp + 0x176], ax
mov eax, 0x74
mov word [rbp + 0x177], ax
mov eax, 0x75
mov word [rbp + 0x178], ax
jmp case.0x180011715.13
mov word [rbp + 0x179], r9w
jmp case.0x180011715.13
xor r9d, r9d
mov dword [rsp + 0x48], ebx
lea r8, [rsp + 0x68]
mov dword [rsp + 0x20], 0x12c
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.1800390a0
mov dword [rsp + 0x58], eax
lea r9, str.eraEform
mov dword [rsp + 0x50], eax
lea r8, [rsp + 0x48]
lea rax, [0x180152340]
mov dword [rsp + 0x48], 0xffffffff
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x50]
mov ecx, 0xd4
mov qword [rsp + 0x20], r13
call fcn.1800186b0
lea rdx, [0x180000000]
jmp 0x180011896
xor r9d, r9d
mov dword [rsp + 0x48], 3
lea r8, [rsp + 0x68]
mov dword [rsp + 0x20], 0x12c
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.1800390a0
mov dword [rsp + 0x58], eax
lea r9, str.eraEform
mov dword [rsp + 0x50], eax
lea r8, [rsp + 0x48]
lea rax, [0x180152344]
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x50]
mov ecx, 0xd4
mov qword [rsp + 0x20], r13
call fcn.1800186b0
movsd xmm0, qword [rsp + 0x68]
lea r8, [0x18015396c]
movsd qword [rsp + 0x50], xmm7
movsd qword [rsp + 0x60], xmm10
jmp 0x180011a4b
mov r9d, dword [rsp + 0x78]
lea rax, [rbp + 0x1b0]
mov r8, qword [rbp - 0x70]
mov edx, dword [rsp + 0x7c]
mov rcx, qword [rbp - 0x58]
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [rbp - 0x7c], eax
lea rdx, [0x180000000]
jmp 0x180011898
mov eax, 0x53
mov word [rbp + 0x173], ax
mov eax, 0x6174
mov word [rbp + 0x174], ax
jmp case.0x180011715.13
xor r9d, r9d
mov dword [rbp - 0x78], 0x1c
mov r8, r13
mov qword [rsp + 0x20], rbx
xor ecx, ecx
lea edx, [r9 + 0x3d]
call fcn.1800cd930
test al, al
jne 0x180011d1b
mov ebx, 0x2d
nop word [rax + rax]
cmp ebx, 0x2d
je 0x180011d06
cmp ebx, 0x1248
je 0x180011cfc
cmp ebx, 0x367e
jne 0x180011d0b
xor al, al
jmp 0x180011e18
mov ecx, edi
call qword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x180011d0b
mov edi, 4
add ebx, 0x121b
cmp ebx, 0x486c
jbe 0x180011ce0
xor ebx, ebx
movzx eax, byte [rsp + 0x40]
lea rdx, [0x180000000]
cmp dword [rbp - 0x7c], 0
mov ecx, ebx
cmove ecx, eax
mov byte [rsp + 0x40], cl
jmp 0x180011898
xor r9d, r9d
mov dword [rsp + 0x48], 1
lea r8, [rsp + 0x68]
mov dword [rsp + 0x20], 0x12c
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.1800390a0
mov ebx, eax
mov dword [rsp + 0x58], eax
xor eax, eax
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x48], eax
lea r9, str.eraEform
lea rax, [0x180152324]
mov ecx, 0xd4
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], r13
call fcn.1800186b0
movsd xmm0, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x48]
mov dword [rsp + 0x28], reloc.SHELL32.dll_SHTestTokenMembership
lea r8, [0x180153970]
lea rdx, str.eraEform
mov qword [rsp + 0x20], r13
lea rcx, [rsp + 0x50]
movsd qword [rsp + 0x50], xmm7
movsd qword [rsp + 0x60], xmm8
movsd qword [rsp + 0x48], xmm0
call fcn.1800fe9c0
lea r8, [0x180153974]
movsd qword [rsp + 0x60], xmm12
jmp 0x180011a3f
mov word [rbp + 0x171], r10w
dec r14d
dec r15d
cmp r14d, r12d
ja 0x180011700
movzx eax, byte [rsp + 0x40]
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.180110960
lea r11, [rsp + 0x540]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov r9d, dword [rbp - 0x78]
lea r8, [rbp - 0x50]
mov edx, dword [rbp - 0x80]
mov rcx, qword [rbp - 0x68]
call sub.IMM32.dll_ImmGetCandidateListW
cmp byte [rsp + 0x40], 0
je 0x180011ea5
mov r8d, dword [rsp + 0x78]
lea r9, [rbp + 0x1b0]
mov rdx, qword [rbp - 0x70]
mov ecx, dword [rsp + 0x7c]
call qword [sym.imp.SHELL32.dll_SHSetFolderPathW]
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 0x5b
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rbx
xor ecx, ecx
call fcn.180106450
jmp 0x180011e18