Function at 0x1400123b0
Capabilities:
Read .ini file

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xc0
mov qword [rbp - 0x49], 0xfffffffffffffffe
mov qword [rsp + 0x100], rbx
mov rax, qword [0x1402d48f8]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rsi, r9
mov r14, r8
mov rdi, rdx
mov qword [rbp - 0x41], r8
mov qword [rbp - 0x39], r9
mov r13, qword [rbp + 0x7f]
mov qword [rbp - 0x71], r13
mov qword [rbp - 0x31], r13
mov qword [rbp + 0xf], 7
xor eax, eax
mov qword [rbp + 7], rax
mov word [rbp - 9], ax
cmp qword [r9 + 0x18], 8
jb 0x140012421
mov r15, qword [r9]
jmp 0x140012424
mov r15, rsi
cmp qword [r8 + 0x18], 8
jb 0x140012430
mov r12, qword [r8]
jmp 0x140012433
mov r12, r14
or r13, 0xffffffffffffffff
cmp qword [rdi + 0x18], 8
jb 0x140012443
mov rax, qword [rdi]
jmp 0x140012446
mov rax, rdi
mov qword [rsp + 0x28], rax
mov eax, dword [rdi + 0x28]
mov dword [rsp + 0x20], eax
mov r9, qword [rdi + 0x20]
lea r8, [0x140287558]
mov rdx, r15
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, eax
test r12, r12
je 0x14001247a
test r15, r15
mov eax, 1
jne 0x14001247f
mov eax, 2
mov rbx, qword [rdi + 0x28]
add rax, rcx
cmp rax, rbx
jb 0x1400124b5
add rbx, rbx
mov qword [rdi + 0x28], rbx
mov rcx, qword [rdi + 0x20]
call fcn.14002a7b8
mov eax, 2
mul rbx
cmovo rax, r13
mov rcx, rax
call fcn.14002a7c0
mov qword [rdi + 0x20], rax
jmp 0x140012437
mov rdx, qword [rdi + 0x20]
cmp word [rdx], 0
jne 0x1400124c7
xor r12d, r12d
mov r8d, r12d
jmp 0x1400124de
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400124d0
xor r12d, r12d
lea rcx, [rbp - 9]
call fcn.140003640
cmp qword [rbp + 7], 0
mov r13, qword [rbp - 0x71]
je 0x140012741
mov qword [rbp - 0x11], 7
mov qword [rbp - 0x19], r12
mov word [rbp - 0x29], r12w
cmp qword [rsi + 0x18], 8
jb 0x140012513
mov r15, qword [rsi]
jmp 0x140012516
mov r15, rsi
cmp qword [r14 + 0x18], 8
jb 0x140012522
mov r12, qword [r14]
jmp 0x140012525
mov r12, r14
or r13, 0xffffffffffffffff
nop dword [rax]
cmp qword [rdi + 0x18], 8
jb 0x14001253c
mov rax, qword [rdi]
jmp 0x14001253f
mov rax, rdi
mov qword [rsp + 0x28], rax
mov eax, dword [rdi + 0x28]
mov dword [rsp + 0x20], eax
mov r9, qword [rdi + 0x20]
lea r8, [0x140287558]
mov rdx, r15
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, eax
test r12, r12
je 0x140012573
test r15, r15
mov eax, 1
jne 0x140012578
mov eax, 2
mov rbx, qword [rdi + 0x28]
add rax, rcx
cmp rax, rbx
jb 0x1400125ae
add rbx, rbx
mov qword [rdi + 0x28], rbx
mov rcx, qword [rdi + 0x20]
call fcn.14002a7b8
mov eax, 2
mul rbx
cmovo rax, r13
mov rcx, rax
call fcn.14002a7c0
mov qword [rdi + 0x20], rax
jmp 0x140012530
mov rdx, qword [rdi + 0x20]
cmp word [rdx], 0
jne 0x1400125c0
xor r12d, r12d
mov r8d, r12d
jmp 0x1400125d2
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400125c4
xor r12d, r12d
lea rcx, [rbp - 0x29]
call fcn.140003640
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rdx, qword [rbp - 0x29]
lea rcx, [rbp - 0x69]
call fcn.14000b3a0
mov r9d, 3
lea rdx, [0x14028ba50]
mov rcx, rax
call fcn.140007b90
mov rbx, rax
mov r8, qword [rbp - 0x51]
cmp r8, 8
mov r13, qword [rbp - 0x71]
jb 0x140012628
inc r8
mov rdx, qword [rbp - 0x69]
lea rcx, [rbp - 0x69]
call fcn.140003790
mov qword [rbp - 0x51], 7
mov qword [rbp - 0x59], r12
mov word [rbp - 0x69], r12w
cmp rbx, 0xffffffffffffffff
je 0x140012726
mov rcx, qword [rbp - 0x19]
cmp rcx, rbx
jae 0x140012659
lea rcx, [0x1402872f0]
call fcn.1401e3104
int3
mov rax, rcx
sub rax, rbx
cmp rax, 2
lea rax, [rbp - 0x29]
ja 0x14001267e
mov qword [rbp - 0x19], rbx
cmp qword [rbp - 0x11], 8
cmovae rax, qword [rbp - 0x29]
mov word [rax + rbx*2], r12w
jmp 0x1400126cb
mov rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x11]
cmp r8, 8
cmovae rax, rdx
lea r9, [rax + rbx*2]
lea r15, [rcx - 2]
mov rax, r15
sub rax, rbx
je 0x1400126b6
lea r8, [rax + rax]
lea rdx, [r9 + 4]
mov rcx, r9
call fcn.1401e4c80
mov r8, qword [rbp - 0x11]
mov rdx, qword [rbp - 0x29]
mov qword [rbp - 0x19], r15
lea rax, [rbp - 0x29]
cmp r8, 8
cmovae rax, rdx
mov word [rax + r15*2], r12w
or rax, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, r13
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.140007ca0
lea r8, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae r8, qword [rbp - 0x29]
cmp qword [rsi + 0x18], 8
jb 0x140012700
mov rdx, qword [rsi]
jmp 0x140012703
mov rdx, rsi
cmp qword [r14 + 0x18], 8
jb 0x14001270f
mov rcx, qword [r14]
jmp 0x140012712
mov rcx, r14
cmp qword [rdi + 0x18], 8
jb 0x14001271c
mov rdi, qword [rdi]
mov r9, rdi
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
nop
mov r8, qword [rbp - 0x11]
cmp r8, 8
jb 0x140012741
inc r8
mov rdx, qword [rbp - 0x29]
lea rcx, [rbp - 0x29]
call fcn.140003790
nop
mov r8, qword [rbp + 0xf]
cmp r8, 8
jb 0x14001275b
inc r8
mov rdx, qword [rbp - 9]
lea rcx, [rbp - 9]
call fcn.140003790
mov qword [rbp + 0xf], 7
mov qword [rbp + 7], r12
mov word [rbp - 9], r12w
cmp qword [r14 + 0x18], 8
jb 0x140012785
mov r8, qword [r14 + 0x18]
inc r8
mov rdx, qword [r14]
mov rcx, r14
call fcn.140003790
mov qword [r14 + 0x18], 7
mov qword [r14 + 0x10], r12
cmp qword [r14 + 0x18], 8
jb 0x14001279b
mov r14, qword [r14]
mov word [r14], r12w
cmp qword [rsi + 0x18], 8
jb 0x1400127b8
mov r8, qword [rsi + 0x18]
inc r8
mov rdx, qword [rsi]
mov rcx, rsi
call fcn.140003790
mov qword [rsi + 0x18], 7
mov qword [rsi + 0x10], r12
cmp qword [rsi + 0x18], 8
jb 0x1400127ce
mov rsi, qword [rsi]
mov word [rsi], r12w
mov r8, qword [r13 + 0x18]
cmp r8, 8
jb 0x1400127eb
inc r8
mov rdx, qword [r13]
mov rcx, r13
call fcn.140003790
mov qword [r13 + 0x18], 7
mov qword [r13 + 0x10], r12
cmp qword [r13 + 0x18], 8
jb 0x140012802
mov r13, qword [r13]
mov word [r13], r12w
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1401e1ba0
mov rbx, qword [rsp + 0x100]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret