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

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x480
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rsp + 0x470], rax
xor ebx, ebx
mov rdi, qword [0x180278790]
test rdi, rdi
jne 0x180008c2d
mov ecx, 0x260
call fcn.1800b543c
mov rdi, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x180008c23
mov rcx, rax
call fcn.180001a60
mov dword [rdi + 0x258], ebx
jmp 0x180008c26
mov rdi, rbx
mov qword [0x180278790], rdi
add rdi, 0x128
cmp qword [rdi + 0x18], 8
jb 0x180008c3e
mov rdi, qword [rdi]
xor ecx, ecx
call fcn.1800ba5a4
mov ecx, eax
call fcn.18000de30
mov esi, eax
mov r9, rdi
or r8d, 0xffffffff
lea rdx, str.SrfUpOnlineData
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, esi
je 0x180008e75
mov word [rsp + 0x30], bx
xor eax, eax
mov qword [rsp + 0x32], rax
mov qword [rsp + 0x3a], rax
mov word [rsp + 0x42], ax
mov r8d, esi
lea rdx, [0x1801ebd34]
lea rcx, [rsp + 0x30]
call fcn.1800b5a54
mov r9, rdi
lea r8, [rsp + 0x30]
lea rdx, str.SrfUpOnlineData
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov word [rsp + 0x260], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x262]
call fcn.1800be330
mov word [rsp + 0x50], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x52]
call fcn.1800be330
mov rdi, qword [0x180278790]
test rdi, rdi
jne 0x180008d28
mov ecx, 0x260
call fcn.1800b543c
mov rdi, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x180008d1e
mov rcx, rax
call fcn.180001a60
mov dword [rdi + 0x258], ebx
jmp 0x180008d21
mov rdi, rbx
mov qword [0x180278790], rdi
lea rcx, [rdi + 0xc8]
cmp qword [rcx + 0x18], 8
jb 0x180008d39
mov rcx, qword [rcx]
lea rdx, [rsp + 0x50]
nop
movzx eax, word [rcx]
mov word [rdx], ax
lea rcx, [rcx + 2]
lea rdx, [rdx + 2]
test ax, ax
jne 0x180008d40
lea rcx, [rsp + 0x50]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x180008d60
mov rax, qword [str.WnCore.exe]
mov qword [rcx], rax
mov rax, qword [0x1801ebcb0]
mov qword [rcx + 8], rax
mov eax, dword [0x1801ebcb8]
mov dword [rcx + 0x10], eax
movzx eax, word [0x1801ebcbc]
mov word [rcx + 0x14], ax
lea rcx, [0x1801ebb00]
nop word [rax + rax]
movzx eax, word [rbx + rcx]
mov word [rsp + rbx + 0x260], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x180008da0
lea rcx, [rsp + 0x260]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x180008dc1
lea r8, [rsp + 0x50]
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 0x180008de0
lea rcx, [rsp + 0x260]
sub rcx, 2
nop
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x180008e00
mov rax, qword [str.__UpOnlineData_1]
mov qword [rcx], rax
mov rax, qword [0x1801ebd18]
mov qword [rcx + 8], rax
mov rax, qword [0x1801ebd20]
mov qword [rcx + 0x10], rax
mov rax, qword [0x1801ebd28]
mov qword [rcx + 0x18], rax
movzx eax, word [0x1801ebd30]
mov word [rcx + 0x20], ax
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180008e75
lea rcx, [rsp + 0x50]
call fcn.180010050
test eax, eax
je 0x180008e75
lea rcx, [rsp + 0x260]
call fcn.18000f6a0
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.1800b5370
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret