Function at 0x140038060
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 + 0x88]
xor edi, edi
test rcx, rcx
je 0x14003809e
cmp di, word [rcx]
je 0x14003809e
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400380c6
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x1400382e2
cmp di, word [rcx]
je 0x1400382e2
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400382e2
cmp qword [rbx + 0x80], rdi
jne 0x1400380d9
mov eax, 0x57
jmp 0x1400382e4
cmp qword [rbx + 0x88], rdi
je 0x1400380cf
mov dl, 1
lea rcx, [rbp + 0x10]
call fcn.140036640
nop
mov rdx, qword [rbx + 0x88]
lea rcx, [rsp + 0x38]
call fcn.140027f40
nop
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x10]
call fcn.1400fb9d0
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or esi, 0xffffffff
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140038130
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dl, 1
lea rcx, [rsp + 0x50]
call fcn.140036640
nop
mov rdx, qword [rbx + 0x80]
lea rcx, [rsp + 0x40]
call fcn.140027f40
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.1400fb9d0
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x14003817b
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]
call fcn.140038a80
test al, al
je 0x1400381b9
cmp dword [rbp + 0x100], 0
setne dil
mov dword [rbx + 0x90], edi
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]
call fcn.140038a80
test al, al
je 0x1400381f5
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]
call fcn.140038a80
test al, al
je 0x140038231
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]
call fcn.140038a80
test al, al
je 0x140038267
mov eax, dword [rbp + 0x118]
mov dword [rbx + 0x78], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
lea r9, str.Options
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x10]
call fcn.140038a80
test al, al
je 0x140038299
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x7c], eax
lea rbx, vtable.CoreTech::CObfuscatedIniReader.0
mov qword [rsp + 0x50], rbx
lea rcx, [rbp - 0x48]
call fcn.140039110
lea rcx, [rsp + 0x70]
call fcn.1400390f0
lea rcx, [rsp + 0x50]
call fcn.140036590
nop
mov qword [rbp + 0x10], rbx
lea rcx, [rbp + 0x78]
call fcn.140039110
lea rcx, [rbp + 0x30]
call fcn.1400390f0
lea rcx, [rbp + 0x10]
call fcn.140036590
xor eax, eax
add rsp, 0x1d8
pop rdi
pop rsi
pop rbx
pop rbp
ret