Function at 0x18016afb0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x380
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x180268080]
xor rax, rsp
mov qword [rsp + 0x370], rax
mov dword [rsp + 0x34], 0
lea rcx, [rsp + 0x98]
call fcn.1801677d0
nop
lea rcx, [rsp + 0x98]
call fcn.180009630
movzx eax, al
test eax, eax
je 0x18016b01e
mov byte [rsp + 0x31], 0
lea rcx, [rsp + 0x98]
call fcn.1800096f0
movzx eax, byte [rsp + 0x31]
jmp 0x18016b338
lea rdx, str.config.ini
lea rcx, [rsp + 0xd8]
call fcn.180009770
nop
lea r8, [rsp + 0xd8]
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x78]
call fcn.180016590
nop
lea rcx, [rsp + 0xd8]
call fcn.1800096f0
lea rcx, [rsp + 0x78]
call fcn.180011d60
movzx eax, al
test eax, eax
je 0x18016b2c7
lea rax, [rsp + 0x160]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rcx, [rsp + 0x78]
call fcn.180009650
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x160]
lea r8, [0x1801db0b8]
lea rdx, str.LastVersion
lea rcx, str.Upgrade
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rax, [rsp + 0x160]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x40], 0xffffffffffffffff
inc qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
cmp word [rax + rcx*2], 0
jne 0x18016b0d4
mov rax, qword [rsp + 0x40]
test rax, rax
jbe 0x18016b138
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0xf8]
call fcn.180009770
nop
mov eax, dword [rsp + 0x34]
or eax, 1
mov dword [rsp + 0x34], eax
lea rdx, [rsp + 0xf8]
mov rcx, qword [rsp + 0x390]
call fcn.1800108f0
test eax, eax
je 0x18016b138
mov dword [rsp + 0x38], 1
jmp 0x18016b140
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x32], al
mov eax, dword [rsp + 0x34]
and eax, 1
test eax, eax
je 0x18016b166
and dword [rsp + 0x34], 0xfffffffe
lea rcx, [rsp + 0xf8]
call fcn.1800096f0
movzx eax, byte [rsp + 0x32]
test eax, eax
je 0x18016b1ff
lea rcx, [rsp + 0x138]
call fcn.1801671f0
nop
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x118]
call fcn.180009770
nop
lea r8, [rsp + 0x118]
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0xb8]
call fcn.180016590
nop
lea rcx, [rsp + 0x118]
call fcn.1800096f0
lea rcx, [rsp + 0xb8]
call fcn.180011c20
movzx eax, al
test eax, eax
je 0x18016b1e4
lea rcx, [rsp + 0xb8]
call fcn.1800120e0
nop
lea rcx, [rsp + 0xb8]
call fcn.1800096f0
nop
lea rcx, [rsp + 0x138]
call fcn.1800096f0
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0x20a
jae 0x18016b21a
jmp 0x18016b21f
call fcn.18017f0a8
xor eax, eax
mov rcx, qword [rsp + 0x50]
mov word [rsp + rcx + 0x160], ax
lea rcx, [rsp + 0x78]
call fcn.180009650
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x160]
lea r8, [0x1801db0b8]
lea rdx, str.Version
lea rcx, str.Upgrade
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rax, [rsp + 0x160]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x48], 0xffffffffffffffff
inc qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
cmp word [rax + rcx*2], 0
jne 0x18016b27e
mov rax, qword [rsp + 0x48]
test rax, rax
jbe 0x18016b2c7
lea rcx, [rsp + 0x78]
call fcn.180009650
mov r9, rax
lea r8, [rsp + 0x160]
lea rdx, str.LastVersion
lea rcx, str.Upgrade
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rcx, [rsp + 0x78]
call fcn.180009650
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x390]
call fcn.180009650
mov rcx, qword [rsp + 0x68]
mov r9, rcx
mov r8, rax
lea rdx, str.Version
lea rcx, str.Upgrade
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0x18016b30d
mov byte [rsp + 0x30], 1
jmp 0x18016b312
mov byte [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x33], al
lea rcx, [rsp + 0x78]
call fcn.1800096f0
nop
lea rcx, [rsp + 0x98]
call fcn.1800096f0
movzx eax, byte [rsp + 0x33]
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.18017e6e0
add rsp, 0x380
pop rdi
ret