Function at 0x180014820
Capabilities:
Read .ini file

Disassembly:
test ecx, ecx
js 0x180014be1
mov r11, rsp
push rbp
push rbx
push rdi
push r15
lea rbp, [r11 - 0xd8]
sub rsp, 0x1b8
mov rax, qword [0x180037020]
xor rax, rsp
mov qword [rbp + 0xa0], rax
movsxd r15, edx
mov edi, r8d
mov ebx, ecx
test edx, edx
js 0x180014bc6
test r8d, r8d
js 0x180014bc6
cmp ecx, 0x3e7
jg 0x180014bc6
cmp r15d, 3
jg 0x180014bc6
cmp r8d, 1
jg 0x180014bc6
mov qword [r11 + 0x18], rsi
lea r8, str.pv._03d
movabs rax, 0x5800460053
mov qword [r11 + 0x20], r12
mov r9d, ecx
mov qword [r11 - 0x28], r14
lea rcx, [rbp + 0x20]
mov qword [rbp + 0x10], rax
mov edx, 0x20
call fcn.18000f120
lea r9, [rbp + 0x20]
mov edx, 0x20
lea r8, str._ls.btn
lea rcx, [rbp + 0x60]
call fcn.18000f120
lea r9, [0x180038c70]
xor r8d, r8d
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea r12, [0x180038f70]
mov r14d, eax
test eax, eax
jle 0x18001496e
lea rdx, [r15 + r15*2]
mov rcx, qword [r12 + rdx*8]
lea rsi, [r12 + rdx*8]
mov rdx, qword [r12 + rdx*8 + 8]
cmp rcx, rdx
je 0x180014925
nop
cmp dword [rcx], ebx
jne 0x180014919
cmp dword [rcx + 4], edi
je 0x180014967
add rcx, 0xe4
cmp rcx, rdx
jne 0x180014910
mov r8d, edi
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180012380
mov rdx, rax
mov rcx, rsi
call fcn.180015140
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
cmp rcx, rax
je 0x18001496e
nop dword [rax + rax]
cmp dword [rcx], ebx
jne 0x180014959
cmp dword [rcx + 4], edi
je 0x180014967
add rcx, 0xe4
cmp rcx, rax
jne 0x180014950
jmp 0x18001496e
mov dword [rcx + 0x9c], r14d
mov r9d, ebx
lea r8, str.pv._03d
mov edx, 0x20
lea rcx, [rbp + 0x20]
call fcn.18000f120
lea r9, [rbp + 0x20]
mov edx, 0x20
lea r8, str._ls.chain
lea rcx, [rbp + 0x60]
call fcn.18000f120
lea r9, [0x180038c70]
xor r8d, r8d
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r14d, eax
test eax, eax
jle 0x180014a2e
lea rdx, [r15 + r15*2]
mov rcx, qword [r12 + rdx*8]
lea rsi, [r12 + rdx*8]
mov rdx, qword [r12 + rdx*8 + 8]
cmp rcx, rdx
je 0x1800149e9
cmp dword [rcx], ebx
jne 0x1800149dd
cmp dword [rcx + 4], edi
je 0x180014a27
add rcx, 0xe4
cmp rcx, rdx
jne 0x1800149d4
mov r8d, edi
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180012380
mov rdx, rax
mov rcx, rsi
call fcn.180015140
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
cmp rcx, rax
je 0x180014a2e
nop
cmp dword [rcx], ebx
jne 0x180014a19
cmp dword [rcx + 4], edi
je 0x180014a27
add rcx, 0xe4
cmp rcx, rax
jne 0x180014a10
jmp 0x180014a2e
mov dword [rcx + 0xa4], r14d
mov r9d, ebx
lea r8, str.pv._03d
mov edx, 0x20
lea rcx, [rbp + 0x20]
call fcn.18000f120
lea r9, [rbp + 0x20]
mov edx, 0x20
lea r8, str._ls.slide
lea rcx, [rbp + 0x60]
call fcn.18000f120
lea r9, [0x180038c70]
xor r8d, r8d
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r14d, eax
test eax, eax
jle 0x180014aee
lea rdx, [r15 + r15*2]
mov rcx, qword [r12 + rdx*8]
lea rsi, [r12 + rdx*8]
mov rdx, qword [r12 + rdx*8 + 8]
cmp rcx, rdx
je 0x180014aa9
cmp dword [rcx], ebx
jne 0x180014a9d
cmp dword [rcx + 4], edi
je 0x180014ae7
add rcx, 0xe4
cmp rcx, rdx
jne 0x180014a94
mov r8d, edi
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180012380
mov rdx, rax
mov rcx, rsi
call fcn.180015140
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
cmp rcx, rax
je 0x180014aee
nop
cmp dword [rcx], ebx
jne 0x180014ad9
cmp dword [rcx + 4], edi
je 0x180014ae7
add rcx, 0xe4
cmp rcx, rax
jne 0x180014ad0
jmp 0x180014aee
mov dword [rcx + 0xa0], r14d
mov r9d, ebx
lea r8, str.pv._03d
mov edx, 0x20
lea rcx, [rbp + 0x20]
call fcn.18000f120
lea r9, [rbp + 0x20]
mov edx, 0x20
lea r8, str._ls.touch
lea rcx, [rbp + 0x60]
call fcn.18000f120
lea r9, [0x180038c70]
xor r8d, r8d
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r14d, eax
test eax, eax
jle 0x180014bae
lea rdx, [r15 + r15*2]
mov rcx, qword [r12 + rdx*8]
lea rsi, [r12 + rdx*8]
mov rdx, qword [r12 + rdx*8 + 8]
cmp rcx, rdx
je 0x180014b69
cmp dword [rcx], ebx
jne 0x180014b5d
cmp dword [rcx + 4], edi
je 0x180014ba7
add rcx, 0xe4
cmp rcx, rdx
jne 0x180014b54
mov r8d, edi
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180012380
mov rdx, rax
mov rcx, rsi
call fcn.180015140
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
cmp rcx, rax
je 0x180014bae
nop
cmp dword [rcx], ebx
jne 0x180014b99
cmp dword [rcx + 4], edi
je 0x180014ba7
add rcx, 0xe4
cmp rcx, rax
jne 0x180014b90
jmp 0x180014bae
mov dword [rcx + 0xa8], r14d
mov r12, qword [rsp + 0x1f8]
mov rsi, qword [rsp + 0x1f0]
mov r14, qword [rsp + 0x1b0]
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.180021d70
add rsp, 0x1b8
pop r15
pop rdi
pop rbx
pop rbp
ret