Function at 0x1401c5e84
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp + 0x27], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov r13, rdx
and qword [rbp - 0x21], 0
and qword [rbp - 0x19], 0
and qword [rbp - 0x11], 0
lea rdx, [rbp - 0x21]
call fcn.1401c58d4
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rbp - 0x69], rdi
mov rax, qword [rbp - 0x21]
mov rcx, qword [rbp - 0x19]
mov qword [rbp + 0xf], rcx
or r15d, 0xffffffff
lea rsi, [0x140330de8]
mov qword [rbp - 0x59], rax
cmp rax, rcx
je 0x1401c6269
mov rdx, rax
lea rcx, [rbp - 0x69]
call fcn.14000c244
lea r8, str.Profiles
lea rdx, [rbp - 0x69]
lea rcx, [rbp + 0x17]
call fcn.14001c3e0
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne dil
mov rdx, qword [rbp + 0x17]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x1401c5f52
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test dil, dil
jne 0x1401c5f98
mov rdi, qword [rbp - 0x69]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401c5fa4
shr eax, 4
and al, 1
je 0x1401c5fa4
lea rdx, str.k_meleon
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x1401c5fa4
lea rdx, str.Program_Files
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
jne 0x1401c5fa4
lea rdx, [rbp - 0x69]
mov rcx, r13
call fcn.140038190
lea r8, str.profiles.ini
lea rdx, [rbp - 0x69]
lea rcx, [rbp + 7]
call fcn.14001c3e0
nop
mov rdx, rax
lea rcx, [rbp - 0x69]
call fcn.14000c244
nop
mov rdx, qword [rbp + 7]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x1401c5fe6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rbp - 0x69]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
test al, al
jne 0x1401c60a1
lea rdx, [0x140367828]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x1401c6258
lea rdx, str.Program_Files
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x1401c6258
mov r8, rsi
lea rdx, str.profiles.ini
lea rcx, [rbp - 0x69]
call fcn.14000b658
lea r8, str.Profilesprofiles.ini
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 1]
call fcn.14001c3e0
nop
mov rdx, rax
lea rcx, [rbp - 0x69]
call fcn.14000c244
nop
mov rdx, qword [rbp - 1]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x1401c6086
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rbp - 0x69]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
test al, al
je 0x1401c6258
call fcn.14006e884
mov rsi, qword [rax]
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rdi
lea rdx, [rbp - 0x51]
mov rcx, rax
call qword [rsi + 0x50]
nop
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x1401c6218
and qword [rbp - 0x41], 0
and qword [rbp - 0x39], 0
and qword [rbp - 0x31], 0
mov rax, qword [rcx]
lea r8, [rbp - 0x41]
xor edx, edx
call qword [rax + 0x48]
xor r12d, r12d
mov rbx, qword [rbp - 0x39]
mov rax, rbx
mov rsi, qword [rbp - 0x41]
sub rax, rsi
sar rax, 3
test rax, rax
je 0x1401c61f0
mov rcx, qword [rbp - 0x51]
mov rax, qword [rcx]
lea rbx, [0x140330de8]
mov qword [rsp + 0x20], rbx
lea r9, str.IsRelative
mov r8, qword [rsi + r12*8]
lea rdx, [rbp + 0x1f]
call qword [rax + 0x28]
xor edx, edx
lea rdi, [0x14034e610]
mov rsi, qword [rax]
lea ecx, [rdx + 2]
repe cmpsw word [rsi], word [rdi]
je 0x1401c6144
sbb edx, edx
sbb edx, r15d
test edx, edx
sete dil
mov rdx, qword [rbp + 0x1f]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x1401c616a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test dil, dil
je 0x1401c61ce
mov rax, qword [rbp - 0x41]
mov rcx, qword [rbp - 0x51]
mov rdi, qword [rcx]
mov qword [rsp + 0x20], rbx
lea r9, [0x140361108]
mov r8, qword [rax + r12*8]
lea rdx, [rbp - 0x61]
call qword [rdi + 0x28]
nop
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401c61ae
lea rdx, [rbp - 0x61]
mov rcx, r13
call fcn.140038190
nop
mov rdx, qword [rbp - 0x61]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x1401c61ce
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc r12
mov rbx, qword [rbp - 0x39]
mov rax, rbx
mov rsi, qword [rbp - 0x41]
sub rax, rsi
sar rax, 3
cmp r12, rax
jb 0x1401c6106
mov rdi, qword [rbp - 0x69]
test rsi, rsi
je 0x1401c6218
cmp rsi, rbx
je 0x1401c620f
mov rcx, rsi
call fcn.140082b80
add rsi, 8
cmp rsi, rbx
jne 0x1401c61fa
mov rsi, qword [rbp - 0x41]
mov rcx, rsi
call fcn.1400be0f4
nop
mov rsi, qword [rbp - 0x49]
test rsi, rsi
je 0x1401c6251
mov eax, r15d
lock xadd dword [rsi + 8], eax
add eax, r15d
jne 0x1401c624d
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, r15d
lock xadd dword [rsi + 0xc], eax
add eax, r15d
jne 0x1401c624d
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
mov rdi, qword [rbp - 0x69]
lea rsi, [0x140330de8]
mov rax, qword [rbp - 0x59]
add rax, 8
mov rcx, qword [rbp + 0xf]
jmp 0x1401c5ef5
lea rdx, [rdi - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x1401c6286
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdi, qword [rbp - 0x21]
test rdi, rdi
je 0x1401c62b5
mov rsi, qword [rbp - 0x19]
cmp rdi, rsi
je 0x1401c62ad
mov rcx, rdi
call fcn.140082b80
add rdi, 8
cmp rdi, rsi
jne 0x1401c6298
mov rdi, qword [rbp - 0x21]
mov rcx, rdi
call fcn.1400be0f4
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret