Function at 0x18016aa40
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x380
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x180267080]
xor rax, rsp
mov qword [rsp + 0x370], rax
mov dword [rsp + 0x34], 0
lea rcx, [rsp + 0x98]
call fcn.180167740
nop
lea rcx, [rsp + 0x98]
call fcn.1800095a0
movzx eax, al
test eax, eax
je 0x18016aaae
mov byte [rsp + 0x31], 0
lea rcx, [rsp + 0x98]
call fcn.180009660
movzx eax, byte [rsp + 0x31]
jmp 0x18016adc8
lea rdx, str.config.ini
lea rcx, [rsp + 0xd8]
call fcn.1800096e0
nop
lea r8, [rsp + 0xd8]
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x78]
call fcn.180016500
nop
lea rcx, [rsp + 0xd8]
call fcn.180009660
lea rcx, [rsp + 0x78]
call fcn.180011cd0
movzx eax, al
test eax, eax
je 0x18016ad57
lea rax, [rsp + 0x160]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rcx, [rsp + 0x78]
call fcn.1800095c0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x160]
lea r8, [0x1801d9f90]
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 0x18016ab64
mov rax, qword [rsp + 0x40]
test rax, rax
jbe 0x18016abc8
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0xf8]
call fcn.1800096e0
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.180010860
test eax, eax
je 0x18016abc8
mov dword [rsp + 0x38], 1
jmp 0x18016abd0
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 0x18016abf6
and dword [rsp + 0x34], 0xfffffffe
lea rcx, [rsp + 0xf8]
call fcn.180009660
movzx eax, byte [rsp + 0x32]
test eax, eax
je 0x18016ac8f
lea rcx, [rsp + 0x138]
call fcn.180167160
nop
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x118]
call fcn.1800096e0
nop
lea r8, [rsp + 0x118]
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0xb8]
call fcn.180016500
nop
lea rcx, [rsp + 0x118]
call fcn.180009660
lea rcx, [rsp + 0xb8]
call fcn.180011b90
movzx eax, al
test eax, eax
je 0x18016ac74
lea rcx, [rsp + 0xb8]
call fcn.180012050
nop
lea rcx, [rsp + 0xb8]
call fcn.180009660
nop
lea rcx, [rsp + 0x138]
call fcn.180009660
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0x20a
jae 0x18016acaa
jmp 0x18016acaf
call fcn.18017e8c8
xor eax, eax
mov rcx, qword [rsp + 0x50]
mov word [rsp + rcx + 0x160], ax
lea rcx, [rsp + 0x78]
call fcn.1800095c0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x160]
lea r8, [0x1801d9f90]
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 0x18016ad0e
mov rax, qword [rsp + 0x48]
test rax, rax
jbe 0x18016ad57
lea rcx, [rsp + 0x78]
call fcn.1800095c0
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.1800095c0
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x390]
call fcn.1800095c0
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 0x18016ad9d
mov byte [rsp + 0x30], 1
jmp 0x18016ada2
mov byte [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x33], al
lea rcx, [rsp + 0x78]
call fcn.180009660
nop
lea rcx, [rsp + 0x98]
call fcn.180009660
movzx eax, byte [rsp + 0x33]
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.18017df00
add rsp, 0x380
pop rdi
ret