Function at 0x18001dc90
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x460
mov rax, qword [0x180142d48]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rbx, rcx
cmp edx, 1
jne 0x18001de29
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_DefWindowProcW]
lea rcx, [rsp + 0x28]
mov dword [rsp + 0x28], 8
mov dword [rsp + 0x2c], 0x604
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov r8, qword [0x1801530b8]
lea rcx, [0x1801530d0]
xor r9d, r9d
xor edx, edx
call fcn.180019850
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor edx, edx
mov qword [0x1801530b8], rbx
mov r8d, 0x208
lea rcx, [rsp + 0x30]
call fcn.18009b170
xor r9d, r9d
lea rdx, [rsp + 0x30]
xor ecx, ecx
lea r8d, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rdx, str.ludashi
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
xor edx, edx
lea rcx, [rsp + 0x240]
mov r8d, 0x208
call fcn.18009b170
lea r8, str.LogComputerZ7.log.on
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x240]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea rcx, [rsp + 0x240]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea rdx, str.LogComputerZ7.log
mov dword [0x180153000], eax
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.180011c30
mov rcx, rax
test rax, rax
je 0x18001df2d
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x30]
cmp rax, 0x10000
jae 0x18001dde4
lea rax, [rsp + 0x30]
movzx edx, ax
call fcn.180012460
jmp 0x18001ddee
lea rdx, [rsp + 0x30]
call fcn.180011f90
lea rdx, [rsp + 0x20]
lea rcx, [0x180153010]
call fcn.180013580
mov rdx, qword [rsp + 0x20]
mov eax, 0xffffffff
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x18001df07
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x18001df07
test edx, edx
jne 0x18001df07
mov rdi, qword [0x180156038]
lea rcx, [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x180153130]
test rbx, rbx
je 0x18001de67
cmp dword [rbx + 8], 0
jle 0x18001de67
mov rcx, qword [rbx]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rbx, qword [0x180153130]
mov qword [rsp + 0x478], rsi
xor esi, esi
test rbx, rbx
je 0x18001de97
mov rcx, qword [rbx]
test rcx, rcx
je 0x18001de86
call fcn.18009e048
mov qword [rbx], rsi
mov edx, 0x10
mov qword [rbx + 8], rsi
mov rcx, rbx
call fcn.180050640
lea rcx, [rdi + 0x18]
mov qword [0x180153130], rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [0x180153128]
test rbx, rbx
je 0x18001dee6
mov rcx, qword [rbx]
test rcx, rcx
je 0x18001dec4
call fcn.18009e048
mov qword [rbx], rsi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x18001ded6
call fcn.18009e048
mov qword [rbx + 8], rsi
mov edx, 0x18
mov dword [rbx + 0x10], esi
mov rcx, rbx
call fcn.180050640
lea rcx, [0x1801530d0]
call fcn.18001ba70
call qword [sym.imp.ole32.dll_CoUninitialize]
mov qword [0x1801530b8], rsi
mov rsi, qword [rsp + 0x478]
mov eax, 1
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.180050ad0
mov rbx, qword [rsp + 0x480]
add rsp, 0x460
pop rdi
ret
mov ecx, 0x80004005
call fcn.180010480
int3