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

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0xd8]
sub rsp, 0x1d8
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rbx, rcx
mov rcx, qword [rcx + 0x80]
xor esi, esi
test rcx, rcx
je 0x140007d5e
cmp si, word [rcx]
je 0x140007d5e
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140007d83
mov rcx, qword [rbx + 0x78]
test rcx, rcx
je 0x140008017
cmp si, word [rcx]
je 0x140008017
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140008017
cmp qword [rbx + 0x78], rsi
jne 0x140007d93
mov eax, 0x57
jmp 0x140008019
cmp qword [rbx + 0x80], rsi
je 0x140007d89
lea rcx, [rbp + 0x10]
call fcn.140006690
nop
mov rdx, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
call fcn.1400062d0
nop
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x10]
call fcn.1400498d0
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140007de8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rsp + 0x50]
call fcn.140006690
nop
mov rdx, qword [rbx + 0x78]
lea rcx, [rsp + 0x40]
call fcn.1400062d0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.1400498d0
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140007e30
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rbp + 0x100]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
lea r9, str.Enable
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x10]
mov rcx, rbx
call fcn.140008890
test al, al
je 0x140007e71
cmp dword [rbp + 0x100], 0
setne sil
mov dword [rbx + 0x88], esi
lea rax, [rbp + 0x108]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x40000
lea r9, str.MaxSize
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x10]
mov rcx, rbx
call fcn.140008890
test al, al
je 0x140007eb0
mov rax, qword [rbx]
mov edx, dword [rbp + 0x108]
mov rcx, rbx
call qword [rax + 0x68]
lea rax, [rbp + 0x110]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
lea r9, str.MaxEntries
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x10]
mov rcx, rbx
call fcn.140008890
test al, al
je 0x140007eef
mov rax, qword [rbx]
mov edx, dword [rbp + 0x110]
mov rcx, rbx
call qword [rax + 0x58]
lea rax, [rbp + 0x118]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
lea r9, str.Severity
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x10]
mov rcx, rbx
call fcn.140008890
test al, al
je 0x140007f28
mov eax, dword [rbp + 0x118]
mov dword [rbx + 0x70], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x10
lea r9, str.Options
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x10]
mov rcx, rbx
call fcn.140008890
test al, al
je 0x140007f5d
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x74], eax
lea rbx, vtable.CoreTech::CObfuscatedIniReader.0
mov qword [rsp + 0x50], rbx
lea rcx, [rbp - 0x48]
call fcn.140008fc0
lea rcx, [rsp + 0x70]
call fcn.140008fa0
lea rsi, vtable.CoreTech::CBaseIniReader.0
mov qword [rsp + 0x50], rsi
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140007fa6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140007fc5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov qword [rbp + 0x10], rbx
lea rcx, [rbp + 0x78]
call fcn.140008fc0
lea rcx, [rbp + 0x30]
call fcn.140008fa0
mov qword [rbp + 0x10], rsi
mov rdx, qword [rbp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140007ffc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbp + 0x18]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140008017
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
add rsp, 0x1d8
pop rdi
pop rsi
pop rbx
pop rbp
ret