Function at 0x1800d5e30
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x380
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x18020d140]
xor rax, rsp
mov qword [rsp + 0x370], rax
mov dword [rsp + 0x34], 0
lea rcx, [rsp + 0x98]
call fcn.1800d4040
nop
lea rcx, [rsp + 0x98]
call fcn.180005080
movzx eax, al
test eax, eax
je 0x1800d5e9e
mov byte [rsp + 0x31], 0
lea rcx, [rsp + 0x98]
call fcn.180005100
movzx eax, byte [rsp + 0x31]
jmp 0x1800d61b8
lea rdx, str.config.ini
lea rcx, [rsp + 0xd8]
call fcn.180005180
nop
lea r8, [rsp + 0xd8]
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x78]
call fcn.180012c40
nop
lea rcx, [rsp + 0xd8]
call fcn.180005100
lea rcx, [rsp + 0x78]
call fcn.18000f1a0
movzx eax, al
test eax, eax
je 0x1800d6147
lea rax, [rsp + 0x160]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rcx, [rsp + 0x78]
call fcn.1800050a0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x160]
lea r8, [0x1801b0c58]
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 0x1800d5f54
mov rax, qword [rsp + 0x40]
test rax, rax
jbe 0x1800d5fb8
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0xf8]
call fcn.180005180
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.18000de90
test eax, eax
je 0x1800d5fb8
mov dword [rsp + 0x38], 1
jmp 0x1800d5fc0
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 0x1800d5fe6
and dword [rsp + 0x34], 0xfffffffe
lea rcx, [rsp + 0xf8]
call fcn.180005100
movzx eax, byte [rsp + 0x32]
test eax, eax
je 0x1800d607f
lea rcx, [rsp + 0x138]
call fcn.1800d3a60
nop
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x118]
call fcn.180005180
nop
lea r8, [rsp + 0x118]
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0xb8]
call fcn.180012c40
nop
lea rcx, [rsp + 0x118]
call fcn.180005100
lea rcx, [rsp + 0xb8]
call fcn.18000f060
movzx eax, al
test eax, eax
je 0x1800d6064
lea rcx, [rsp + 0xb8]
call fcn.18000f3e0
nop
lea rcx, [rsp + 0xb8]
call fcn.180005100
nop
lea rcx, [rsp + 0x138]
call fcn.180005100
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0x20a
jae 0x1800d609a
jmp 0x1800d609f
call fcn.1801485b8
xor eax, eax
mov rcx, qword [rsp + 0x50]
mov word [rsp + rcx + 0x160], ax
lea rcx, [rsp + 0x78]
call fcn.1800050a0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x160]
lea r8, [0x1801b0c58]
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 0x1800d60fe
mov rax, qword [rsp + 0x48]
test rax, rax
jbe 0x1800d6147
lea rcx, [rsp + 0x78]
call fcn.1800050a0
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.1800050a0
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x390]
call fcn.1800050a0
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 0x1800d618d
mov byte [rsp + 0x30], 1
jmp 0x1800d6192
mov byte [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x33], al
lea rcx, [rsp + 0x78]
call fcn.180005100
nop
lea rcx, [rsp + 0x98]
call fcn.180005100
movzx eax, byte [rsp + 0x33]
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.180147bf0
add rsp, 0x380
pop rdi
ret