Function at 0x18000e030
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r13
push r15
lea rbp, [rsp - 0x420]
sub rsp, 0x520
mov rax, qword [0x1800a2078]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov r10d, dword [rsp + 0x34]
lea eax, [rdx + 0xb]
mov esi, dword [rsp + 0x34]
lea rdi, [0x180000000]
movzx r13d, byte [rsp + 0x30]
xor ebx, ebx
cmp edx, eax
mov qword [rsp + 0x70], rcx
mov eax, dword [rsp + 0x34]
mov r9d, edx
mov r11, rcx
jae 0x18000e1ba
mov ecx, dword [rsp + 0x34]
lea r8d, [rbx + 0xb]
mov dword [rsp + 0x50], eax
add edx, 0xffffffab
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x58], ecx
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x80], rcx
mov ecx, dword [rsp + 0x34]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x48], ecx
cmp edx, 0xf
ja case.0x18000e0e7.6
mov ecx, dword [rdi + rdx*4 + 0xe680]
add rcx, rdi
jmp rcx
mov dword [rsp + 0x58], 2
jmp case.0x18000e0e7.6
mov eax, 0x208
mov dword [rsp + 0x50], eax
jmp case.0x18000e0e7.6
cmp dword [r11 + 0x10], 0xfffffffe
mov ecx, ebx
mov eax, ebx
setb cl
cmp dword [r11 + 0x14], 0xffffffff
setb al
or ecx, eax
or r10d, ecx
jmp case.0x18000e0e7.6
cmp dword [r11 + 0x10], 0xfffffffe
mov ecx, ebx
mov eax, r10d
seta cl
not eax
and ecx, eax
or esi, ecx
mov ecx, ebx
cmp dword [r11 + 0xc], 0xbaaedce6
mov eax, esi
not eax
setb cl
and ecx, eax
or r10d, ecx
jmp case.0x18000e0e7.6
mov dword [rsp + 0x40], 1
mov qword [rbp - 0x80], rbx
jmp case.0x18000e0e7.6
mov esi, ebx
jmp case.0x18000e0e7.6
mov r10d, ebx
jmp case.0x18000e0e7.6
mov qword [rsp + 0x78], rbx
mov dword [rsp + 0x48], ebx
jmp case.0x18000e0e7.6
mov dword [rsp + 0x54], 0x40000
mov dword [rsp + 0x4c], 0x36
jmp case.0x18000e0e7.6
cmp dword [r11 + 0x1c], 0xffffffff
mov ecx, ebx
mov eax, ebx
setb cl
cmp dword [r11 + 0x18], 0xffffffff
setb al
or ecx, eax
or r10d, ecx
jmp case.0x18000e0e7.6
mov r13b, 1
mov qword [rsp + 0x60], rbx
inc edx
sub r8, 1
jne 0x18000e0d4
mov edx, dword [rsp + 0x40]
mov r8, qword [rbp - 0x80]
jmp 0x18000e1f9
mov r8, qword [rsp + 0x60]
mov edx, dword [rsp + 0x34]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x40], edx
mov qword [rbp - 0x80], r8
mov ebx, dword [rsp + 0x44]
lea r15d, [r9 - 0xa]
mov qword [rsp + 0x550], r12
mov byte [rsp + 0x30], r13b
mov dword [rsp + 0x3c], esi
mov dword [rsp + 0x38], r10d
mov qword [rsp + 0x558], r14
mov dword [rbp - 0x78], r15d
cmp r9d, r15d
jbe case.0x18000e25e.7
mov r14d, dword [rsp + 0x44]
lea edi, [r9 - 0x53]
movzx r12d, byte [rsp + 0x30]
mov dword [rsp + 0x34], edi
mov dword [rsp + 0x68], ebx
cmp edi, 0xd
ja case.0x18000e25e.3
lea r9, [0x180000000]
mov ecx, dword [r9 + rdi*4 + 0xe6c0]
add rcx, r9
jmp rcx
xor eax, eax
cmp dword [r11 + 4], 0xbfd25e8c
mov ecx, eax
seta cl
cmp dword [r11], 0xd0364141
setae al
or ecx, eax
mov eax, r10d
not eax
and ecx, eax
or esi, ecx
mov dword [rsp + 0x3c], esi
jmp case.0x18000e25e.3
xor eax, eax
cmp dword [r11 + 4], 0xbfd25e8c
mov ecx, eax
mov eax, esi
setb cl
not eax
and ecx, eax
or r10d, ecx
mov dword [rsp + 0x38], r10d
jmp case.0x18000e25e.3
mov r9d, dword [rsp + 0x48]
lea rax, [rbp - 0x10]
mov edx, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
xor eax, eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathAndSubDirW]
cmp qword [rsp + 0x78], 0
mov r11, qword [rsp + 0x70]
jne case.0x18000e25e.3
xor r13b, r13b
mov byte [rsp + 0x30], r13b
jmp case.0x18000e25e.3
test r13b, r13b
je 0x18000e571
mov ebx, dword [rsp + 0x50]
mov r15d, ILClone
lea r13d, [r15 + 1]
nop dword [rax + rax]
cmp r15d, 0xf
ja case.0x18000e328.3
mov eax, r15d
mov ecx, dword [r9 + rax*4 + 0xe6f8]
add rcx, r9
jmp rcx
mov dword [rbp - 0x5e], 0x640049
jmp case.0x18000e328.3
mov eax, 0x63
mov dword [rbp - 0x6c], 0x6e0075
mov word [rbp - 0x68], ax
jmp case.0x18000e328.3
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_SaferCloseLevel]
jmp case.0x18000e328.3
mov dword [rbp - 0x56], 0x690074
mov dword [rbp - 0x52], 0x690066
jmp case.0x18000e328.3
xor edx, edx
movzx eax, r12b
test r14d, r14d
mov ecx, edx
cmovne ecx, eax
movzx r12d, cl
test cl, cl
je case.0x18000e328.3
mov edi, 8
lea esi, [rdx + 9]
cmp edi, 8
ja case.default.0x18000e3a6
mov eax, edi
mov ecx, dword [r9 + rax*4 + 0xe738]
add rcx, r9
jmp rcx
lea rdx, [rbp - 0x40]
mov ecx, r14d
call qword [sym.imp.WINMM.dll_mciGetDeviceIDFromElementIDW]
xor edx, edx
lea r9, [0x180000000]
jmp case.default.0x18000e3a6
mov r8d, 4
lea rdx, [0x1800920e8]
lea rcx, [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
xor edx, edx
lea r9, [0x180000000]
mov word [rbp - 0x38], dx
jmp case.default.0x18000e3a6
mov word [rbp - 0x1c], dx
jmp case.default.0x18000e3a6
mov r8d, 2
lea rdx, [0x180092112]
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
xor edx, edx
lea r9, [0x180000000]
jmp case.default.0x18000e3a6
movsd xmm0, qword [0x180092178]
movzx eax, word [0x180092180]
movsd qword [rbp - 0x34], xmm0
mov word [rbp - 0x2c], ax
mov word [rbp - 0x2a], dx
jmp case.default.0x18000e3a6
movsd xmm0, qword [str.PostHttpUpgradeCallback]
movzx eax, word [0x1800921a8]
movsd qword [rbp - 0x2a], xmm0
mov word [rbp - 0x22], ax
jmp case.default.0x18000e3a6
mov r8d, 2
lea rdx, str.StopRedirectionOfThreadID
lea rcx, [rbp - 0x38]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
xor edx, edx
lea r9, [0x180000000]
mov word [rbp - 0x34], dx
jmp case.default.0x18000e3a6
mov r8d, 3
lea rdx, [0x18009223e]
lea rcx, [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
xor edx, edx
lea r9, [0x180000000]
jmp case.default.0x18000e3a6
mov word [rbp - 0x20], dx
dec edi
sub rsi, 1
jne 0x18000e390
jmp case.0x18000e328.3
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x44]
mov r9d, ebx
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x200]
mov edx, 3
call qword [sym.imp.ADVAPI32.dll_SaferGetLevelInformation]
lea rcx, [rbp - 0x70]
call qword [sym.imp.WINMM.dll_mciGetDeviceIDW]
mov r14d, eax
jmp case.0x18000e328.3
mov eax, 0x65
mov dword [rbp - 0x66], 0x740061
mov word [rbp - 0x62], ax
jmp case.0x18000e328.3
mov eax, 0x64
mov word [rbp - 0x60], ax
jmp case.0x18000e328.3
mov r12b, 1
jmp case.0x18000e328.3
xor eax, eax
mov word [rbp - 0x42], ax
jmp case.0x18000e328.3
mov dword [rbp - 0x46], 0x6f0066
jmp case.0x18000e328.3
mov eax, 0x72
mov dword [rbp - 0x4a], 0x6e0049
mov word [rbp - 0x4c], ax
jmp case.0x18000e328.3
mov dword [rbp - 0x70], 0x720054
jmp case.0x18000e328.3
mov dword [rbp - 0x5a], 0x6e0065
jmp case.0x18000e328.3
mov eax, 0x65
mov word [rbp - 0x4e], ax
dec r15d
lea r9, [0x180000000]
sub r13, 1
jne 0x18000e310
mov ebx, dword [rsp + 0x68]
mov edi, dword [rsp + 0x34]
mov r11, qword [rsp + 0x70]
mov esi, dword [rsp + 0x3c]
mov r15d, dword [rbp - 0x78]
movzx r13d, byte [rsp + 0x30]
mov rdx, qword [0x1800a3478]
cmp rdx, qword [0x1800a3480]
je 0x18000e594
mov rax, qword [r11]
mov qword [rdx], rax
add qword [0x1800a3478], 8
jmp case.0x18000e25e.3
mov r8, r11
lea rcx, [0x1800a3470]
call fcn.18000b820
mov r11, qword [rsp + 0x70]
jmp case.0x18000e25e.3
mov ecx, dword [rsp + 0x58]
lea r9, [rsp + 0x78]
xor eax, eax
mov r8d, edx
mov edx, dword [rsp + 0x54]
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_SaferCreateLevel]
mov r11, qword [rsp + 0x70]
jmp case.0x18000e25e.3
xor eax, eax
cmp dword [r11 + 0xc], 0xbaaedce6
mov ecx, eax
mov eax, r10d
seta cl
not eax
and ecx, eax
or esi, ecx
mov dword [rsp + 0x3c], esi
jmp case.0x18000e25e.3
xor eax, eax
cmp dword [r11 + 8], 0xaf48a03b
mov ecx, eax
mov eax, r10d
seta cl
not eax
and ecx, eax
or esi, ecx
mov dword [rsp + 0x3c], esi
jmp case.0x18000e25e.3
xor eax, eax
cmp dword [r11 + 8], 0xaf48a03b
jmp 0x18000e297
mov ebx, esi
mov dword [rsp + 0x68], ebx
dec edi
mov dword [rsp + 0x34], edi
lea eax, [rdi + 0x53]
cmp eax, r15d
jbe case.0x18000e25e.7
mov r10d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x40]
mov r8, qword [rbp - 0x80]
jmp 0x18000e243
mov r14, qword [rsp + 0x558]
mov eax, ebx
mov r12, qword [rsp + 0x550]
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.180084890
mov rbx, qword [rsp + 0x560]
add rsp, 0x520
pop r15
pop r13
pop rdi
pop rsi
pop rbp
ret