Function at 0x180007ff0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5d8]
sub rsp, 0x6c0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rbp + 0x5b0], rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
xor r12d, r12d
mov rcx, qword [0x180278788]
test rcx, rcx
jne 0x180008072
lea ecx, [r12 + 8]
call fcn.1800b543c
mov rcx, rax
test rax, rax
je 0x180008068
lea rax, vtable.CShareConfigManager.0
mov qword [rcx], rax
jmp 0x18000806b
mov rcx, r12
mov qword [0x180278788], rcx
mov rax, qword [rcx]
mov edx, 0x88
call qword [rax]
mov r14d, eax
test eax, eax
je 0x180008570
mov rbx, qword [0x180278790]
test rbx, rbx
jne 0x1800080c5
mov ecx, 0x260
call fcn.1800b543c
mov rbx, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1800080bb
mov rcx, rax
call fcn.180001a60
mov dword [rbx + 0x258], r12d
jmp 0x1800080be
mov rbx, r12
mov qword [0x180278790], rbx
lea rdx, [rbx + 0x48]
cmp qword [rdx + 0x18], 8
jb 0x1800080d3
mov rdx, qword [rdx]
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r12
mov word [rsp + 0x30], r12w
cmp word [rdx], 0
jne 0x1800080f2
mov r8, r12
jmp 0x18000810b
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x180008100
lea rcx, [rsp + 0x30]
call fcn.180005450
nop
mov r8d, 6
lea rdx, str.Config
lea rcx, [rsp + 0x30]
call fcn.180004d10
mov r8d, 1
lea rdx, [0x1801eb7c0]
lea rcx, [rsp + 0x30]
call fcn.180004d10
mov r8d, 0xe
lea rdx, str.UseVestige.ini
lea rcx, [rsp + 0x30]
call fcn.180004d10
lea r15, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae r15, qword [rsp + 0x30]
mov r9, r15
or r8d, 0xffffffff
lea rdx, str.LastUpdDay
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov r9, r15
or r8d, 0xffffffff
lea rdx, str.SoftUpdHour
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
mov r9, r15
or r8d, 0xffffffff
lea rdx, str.SoftUpdMinute
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
cmp ebx, 0xffffffff
je 0x1800081d1
cmp eax, 0xffffffff
jne 0x180008282
mov edx, 0x11
lea ecx, [rdx - 9]
call fcn.18000dc90
mov ebx, eax
mov word [rbp + 0x190], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x192]
call fcn.1800be330
mov r8d, ebx
lea rdx, [0x1801ebd34]
lea rcx, [rbp + 0x190]
call fcn.1800b5a54
mov r9, r15
lea r8, [rbp + 0x190]
lea rdx, str.SoftUpdHour
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, 0x3c
xor ecx, ecx
call fcn.18000dc90
mov edi, eax
mov word [rbp - 0x80], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0x7e]
call fcn.1800be330
mov r8d, edi
lea rdx, [0x1801ebd34]
lea rcx, [rbp - 0x80]
call fcn.1800b5a54
mov r9, r15
lea r8, [rbp - 0x80]
lea rdx, str.SoftUpdMinute
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
movzx eax, word [rsp + 0x56]
cmp esi, eax
je 0x18000855e
dec eax
cmp eax, esi
jne 0x1800082b3
movzx eax, word [rsp + 0x58]
cmp eax, ebx
jne 0x1800082ad
movzx eax, word [rsp + 0x5a]
cmp eax, edi
jl 0x18000855e
jmp 0x1800082b3
jle 0x18000855e
mov word [rbp - 0x80], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0x7e]
call fcn.1800be330
mov word [rbp + 0x190], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x192]
call fcn.1800be330
mov word [rbp + 0x3a0], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x3a2]
call fcn.1800be330
call fcn.180006b40
lea rcx, [rax + 0xc8]
cmp qword [rcx + 0x18], 8
jb 0x180008317
mov rcx, qword [rcx]
lea rdx, [rbp + 0x3a0]
nop
movzx eax, word [rcx]
mov word [rdx], ax
lea rcx, [rcx + 2]
lea rdx, [rdx + 2]
test ax, ax
jne 0x180008320
lea rcx, [rbp + 0x3a0]
sub rcx, 2
nop
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x180008340
mov rax, qword [str.WnUpd.exe]
mov qword [rcx], rax
mov rax, qword [0x1801ebb60]
mov qword [rcx + 8], rax
mov eax, dword [0x1801ebb68]
mov dword [rcx + 0x10], eax
lea rcx, [rbp - 0x80]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x180008370
mov eax, dword [0x1801ebb00]
mov dword [rcx], eax
lea rcx, [rbp - 0x80]
sub rcx, 2
nop word [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x180008390
lea r8, [rbp + 0x3a0]
xor edx, edx
nop word [rax + rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x1800083b0
lea rcx, [rbp - 0x80]
sub rcx, 2
nop word [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1800083d0
mov eax, dword [0x1801ebb6c]
mov dword [rcx], eax
movzx eax, word [0x1801ebb70]
mov word [rcx + 4], ax
mov rcx, r12
lea rdx, [0x180000000]
cmp r14d, 1
jne 0x18000841b
nop dword [rax]
movzx eax, word [rcx + rdx + 0x1ebb78]
mov word [rbp + rcx + 0x190], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180008400
jmp 0x180008469
cmp r14d, 2
jne 0x180008450
nop word [rax + rax]
movzx eax, word [rcx + rdx + 0x1ebb90]
mov word [rbp + rcx + 0x190], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180008430
jmp 0x180008469
movzx eax, word [rcx + rdx + 0x1f3ee0]
mov word [rbp + rcx + 0x190], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180008450
lea rcx, [rbp - 0x80]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x180008471
lea r8, [rbp + 0x190]
xor edx, edx
nop word [rax + rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x180008490
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1800084d7
lea rcx, [rbp + 0x3a0]
call fcn.180010050
test eax, eax
je 0x1800084d7
lea rcx, [rbp - 0x80]
call fcn.18000f6a0
mov word [rsp + 0x60], r12w
xor eax, eax
mov qword [rsp + 0x62], rax
mov qword [rsp + 0x6a], rax
mov word [rsp + 0x72], ax
movzx r8d, word [rsp + 0x56]
lea rdx, [0x1801ebd34]
lea rcx, [rsp + 0x60]
call fcn.1800b5a54
mov r9, r15
lea r8, [0x1801ebba0]
lea rdx, str.SoftUpdHour
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov r9, r15
lea r8, [0x1801ebba0]
lea rdx, str.SoftUpdMinute
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov r9, r15
lea r8, [rsp + 0x60]
lea rdx, str.LastUpdDay
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
nop
cmp qword [rsp + 0x48], 8
jb 0x180008570
mov rcx, qword [rsp + 0x30]
call fcn.1800b5354
mov rcx, qword [rbp + 0x5b0]
xor rcx, rsp
call fcn.1800b5370
lea r11, [rsp + 0x6c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret