Function at 0x180067e10
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x80d8
call fcn.18004e0f0
sub rsp, rax
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov rax, qword [0x1800881a0]
xor rax, rsp
mov qword [rsp + 0x80c0], rax
mov eax, SafeArrayGetDim
mov word [rsp + 0x40], ax
movsx rax, word [rsp + 0x40]
lea rcx, [0x180087d00]
cmp dword [rcx + rax*4], 1
jne 0x180067e8e
movsx rax, word [rsp + 0x40]
lea rcx, [0x180087d00]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x40]
lea rdx, [0x180087d00]
mov dword [rdx + rcx*4], eax
mov dword [rsp + 0x68], 1
mov eax, dword [rsp + 0x68]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x180067ebd
xor r9d, r9d
lea r8, [0x180089ffc]
lea rdx, [0x18008a004]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rsp + 0x70], 0x80004005
mov dword [rsp + 0x6c], 1
mov eax, dword [rsp + 0x6c]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x180067ef5
xor r9d, r9d
lea r8, [0x180089ffc]
lea rdx, [0x18008a004]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
mov eax, SafeArrayGetDim
mov word [rsp + 0x44], ax
movsx rax, word [rsp + 0x44]
lea rcx, [0x180087d00]
cmp dword [rcx + rax*4], 1
jne 0x180067f34
movsx rax, word [rsp + 0x44]
lea rcx, [0x180087d00]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x44]
lea rdx, [0x180087d00]
mov dword [rdx + rcx*4], eax
mov rax, qword [rsp + 0x80e0]
add rax, 0x28
mov edx, 0xffffffff
mov rcx, rax
call fcn.180030fd0
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x70], eax
jmp 0x180067f5b
mov rax, qword [rsp + 0x80f8]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8, qword [0x18008be48]
mov rdx, qword [rsp + 0x80e8]
mov rcx, qword [rsp + 0x80e0]
call fcn.180067dd0
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
ja 0x180067f9d
mov dword [rsp + 0x4c], 1
mov r8, 0xffffffffffffffff
lea rdx, [0x18008a388]
mov rcx, qword [rsp + 0x8100]
call fcn.1800215b0
mov dword [rsp + 0x48], 0
jmp 0x180067fcc
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x48], eax
jae 0x1800682a2
mov edx, 1
lea rcx, [rsp + 0x98]
call fcn.180019030
lea rcx, [rsp + 0x98]
call fcn.18001bf00
nop
cmp dword [rsp + 0x48], 0
jne 0x18006801e
mov r8, 0xffffffffffffffff
mov rdx, qword [0x18008be78]
lea rcx, [rsp + 0x98]
call fcn.1800215b0
jmp 0x18006803e
mov r9d, dword [rsp + 0x48]
mov r8, qword [0x18008be78]
lea rdx, [0x18008c098]
lea rcx, [rsp + 0x98]
call fcn.1800245a0
mov dword [rsp + 0x54], 1
mov eax, dword [rsp + 0x54]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x18006806d
xor r9d, r9d
lea r8, [0x180089ffc]
lea rdx, [0x18008a004]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0x8004
jae 0x18006808e
jmp 0x180068093
call fcn.18004e464
xor eax, eax
mov rcx, qword [rsp + 0x80]
mov word [rsp + rcx + 0xb0], ax
lea rcx, [rsp + 0x98]
call fcn.1800324c0
mov rcx, qword [rsp + 0x80f8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x4002
lea r9, [rsp + 0xb0]
lea r8, [0x18008a388]
mov rdx, rax
mov rcx, qword [rsp + 0x80e8]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
cmp rax, 0x4002
jb 0x180068205
mov rcx, qword [rsp + 0x8100]
call fcn.1800324c0
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x98]
call fcn.1800324c0
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x80f8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x50]
mov r8, qword [rsp + 0x80e0]
lea rdx, [0x18008c0b0]
mov ecx, 4
call fcn.180040a70
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0x80f0]
mov rcx, qword [rsp + 0x8100]
call fcn.1800215b0
nop
lea rcx, [rsp + 0x98]
call fcn.180011730
jmp 0x1800682a2
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x8100]
call fcn.180020f70
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087d00]
mov eax, dword [rcx + rax]
xor edx, edx
mov ecx, SafeArrayGetElement
div rcx
mov rax, rdx
mov dword [rsp + 0x74], eax
movsxd rax, dword [rsp + 0x74]
lea rcx, [0x180087d00]
mov edx, 4
imul rdx, rdx, 0
lea r8, [0x180087d00]
mov edx, dword [r8 + rdx]
mov dword [rcx + rax*4], edx
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087d00]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0
lea rdx, [0x180087d00]
mov dword [rdx + rcx], eax
lea rcx, [rsp + 0x98]
call fcn.180011730
jmp 0x180067fc2
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087d00]
mov eax, dword [rcx + rax]
xor edx, edx
mov ecx, SafeArrayGetElement
div rcx
mov rax, rdx
mov dword [rsp + 0x58], eax
movsxd rax, dword [rsp + 0x58]
lea rcx, [0x180087d00]
mov edx, 4
imul rdx, rdx, 0
lea r8, [0x180087d00]
mov edx, dword [r8 + rdx]
mov dword [rcx + rax*4], edx
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087d00]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0
lea rdx, [0x180087d00]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087d00]
mov eax, dword [rcx + rax]
xor edx, edx
mov ecx, SafeArrayGetElement
div rcx
mov rax, rdx
mov dword [rsp + 0x5c], eax
movsxd rax, dword [rsp + 0x5c]
lea rcx, [0x180087d00]
mov edx, 4
imul rdx, rdx, 0
lea r8, [0x180087d00]
mov edx, dword [r8 + rdx]
mov dword [rcx + rax*4], edx
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087d00]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0
lea rdx, [0x180087d00]
mov dword [rdx + rcx], eax
mov rax, qword [rsp + 0x80e0]
add rax, 0x28
mov rcx, rax
call fcn.180031030
nop
jmp 0x180068397
mov rcx, qword [rsp + 0x8100]
call fcn.180007c90
jmp 0x1800683d6
mov rcx, qword [rsp + 0x80c0]
xor rcx, rsp
call fcn.18004d370
add rsp, 0x80d8
ret