Function at 0x14000bfbc
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x1940
call fcn.140015820
sub rsp, rax
mov rdi, rsp
mov ecx, 0x650
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1950]
mov rax, qword [0x140056008]
xor rax, rsp
mov qword [rsp + 0x1938], rax
mov byte [rsp + 0x20], 0
mov byte [rsp + 0x21], 0
call fcn.140012ccc
movzx eax, al
test eax, eax
je 0x14000c01c
mov al, byte [rsp + 0x20]
jmp 0x14000c324
mov edx, 0x400
lea rcx, [rsp + 0x40]
call fcn.14000aa40
test eax, eax
je 0x14000c064
mov edx, 0x400
lea rcx, [rsp + 0x860]
call fcn.14000a860
movzx eax, al
test eax, eax
je 0x14000c064
lea rdx, [rsp + 0x860]
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000c064
mov byte [rsp + 0x21], 1
call fcn.140012aac
test eax, eax
jne 0x14000c07a
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14000c307
lea rax, [rsp + 0x1080]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rax, [rsp + 0x12b0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rsp + 0x12b0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, 0x104
jb 0x14000c0c8
mov al, byte [rsp + 0x20]
jmp 0x14000c324
mov byte [rsp + 0x14c4], 0
mov edx, 0x104
lea rcx, [rsp + 0x12b0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
lea rdx, str.adelrcp.exe
lea rcx, [rsp + 0x12b0]
call fcn.140003bb0
test rax, rax
jne 0x14000c10d
mov byte [rsp + 0x14c4], 1
mov al, byte [rsp + 0x20]
jmp 0x14000c324
movzx eax, byte [0x1400566b9]
test eax, eax
je 0x14000c11f
mov al, 1
jmp 0x14000c324
lea rdx, [rsp + 0x1080]
lea rcx, [rsp + 0x12b0]
call fcn.140011d90
test eax, eax
jne 0x14000c141
mov al, byte [rsp + 0x20]
jmp 0x14000c324
mov dword [rsp + 0x14c8], 0
lea rdx, [0x1400340a0]
lea rcx, [rsp + 0x1080]
call fcn.140003bb0
test rax, rax
je 0x14000c170
mov dword [rsp + 0x14c8], 1
mov edx, 0x104
lea rcx, [rsp + 0x12b0]
call fcn.140011f78
movzx eax, al
test eax, eax
je 0x14000c1a2
mov edx, 0x104
lea rcx, [rsp + 0x12b0]
call fcn.140011f78
movzx eax, al
test eax, eax
jne 0x14000c1ab
mov al, byte [rsp + 0x20]
jmp 0x14000c324
cmp dword [rsp + 0x14c8], 0
je 0x14000c1d1
lea r8, str.ESLAiodlite.dll__CreateReaderUserSettings
mov edx, 0x104
lea rcx, [rsp + 0x12b0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
jmp 0x14000c1eb
lea r8, str.ESLAiod.dll__CreateAcroUserSettings
mov edx, 0x104
lea rcx, [rsp + 0x12b0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rax, [rsp + 0x14e0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov edx, 0x104
lea rcx, [rsp + 0x14e0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, 0x104
jb 0x14000c222
mov al, byte [rsp + 0x20]
jmp 0x14000c324
lea r8, str._rundll32.exe
mov edx, 0x104
lea rcx, [rsp + 0x14e0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
test eax, eax
je 0x14000c249
mov al, byte [rsp + 0x20]
jmp 0x14000c324
lea rax, [rsp + 0x1710]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea r8, [0x140034074]
mov edx, 0x104
lea rcx, [rsp + 0x1710]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, [rsp + 0x14e0]
mov edx, 0x104
lea rcx, [rsp + 0x1710]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, [0x140034108]
mov edx, 0x104
lea rcx, [rsp + 0x1710]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, [rsp + 0x12b0]
mov edx, 0x104
lea rcx, [rsp + 0x1710]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rcx, [rsp + 0x1710]
call fcn.140013258
test eax, eax
je 0x14000c2e2
mov byte [rsp + 0x1930], 1
jmp 0x14000c2ea
mov byte [rsp + 0x1930], 0
mov al, byte [rsp + 0x1930]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14000c305
mov byte [0x1400566b9], 1
jmp 0x14000c320
mov rdx, qword [rsp + 0x1958]
mov rcx, qword [rsp + 0x1950]
call fcn.140001574
mov byte [rsp + 0x20], al
mov al, byte [rsp + 0x20]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140036940]
call fcn.140015370
mov rax, rdi
mov rcx, qword [rsp + 0x1938]
xor rcx, rsp
call fcn.140015470
add rsp, 0x1940
pop rdi
ret