Function at 0x140012440
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 [0x1402d68f8]
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 0x1400124b1
mov r15, qword [r9]
jmp 0x1400124b4
mov r15, rsi
cmp qword [r8 + 0x18], 8
jb 0x1400124c0
mov r12, qword [r8]
jmp 0x1400124c3
mov r12, r14
or r13, 0xffffffffffffffff
cmp qword [rdi + 0x18], 8
jb 0x1400124d3
mov rax, qword [rdi]
jmp 0x1400124d6
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, [0x140288578]
mov rdx, r15
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, eax
test r12, r12
je 0x14001250a
test r15, r15
mov eax, 1
jne 0x14001250f
mov eax, 2
mov rbx, qword [rdi + 0x28]
add rax, rcx
cmp rax, rbx
jb 0x140012545
add rbx, rbx
mov qword [rdi + 0x28], rbx
mov rcx, qword [rdi + 0x20]
call fcn.14002bcb8
mov eax, 2
mul rbx
cmovo rax, r13
mov rcx, rax
call fcn.14002bcc0
mov qword [rdi + 0x20], rax
jmp 0x1400124c7
mov rdx, qword [rdi + 0x20]
cmp word [rdx], 0
jne 0x140012557
xor r12d, r12d
mov r8d, r12d
jmp 0x14001256e
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140012560
xor r12d, r12d
lea rcx, [rbp - 9]
call fcn.140003650
cmp qword [rbp + 7], 0
mov r13, qword [rbp - 0x71]
je 0x1400127d1
mov qword [rbp - 0x11], 7
mov qword [rbp - 0x19], r12
mov word [rbp - 0x29], r12w
cmp qword [rsi + 0x18], 8
jb 0x1400125a3
mov r15, qword [rsi]
jmp 0x1400125a6
mov r15, rsi
cmp qword [r14 + 0x18], 8
jb 0x1400125b2
mov r12, qword [r14]
jmp 0x1400125b5
mov r12, r14
or r13, 0xffffffffffffffff
nop dword [rax]
cmp qword [rdi + 0x18], 8
jb 0x1400125cc
mov rax, qword [rdi]
jmp 0x1400125cf
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, [0x140288578]
mov rdx, r15
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, eax
test r12, r12
je 0x140012603
test r15, r15
mov eax, 1
jne 0x140012608
mov eax, 2
mov rbx, qword [rdi + 0x28]
add rax, rcx
cmp rax, rbx
jb 0x14001263e
add rbx, rbx
mov qword [rdi + 0x28], rbx
mov rcx, qword [rdi + 0x20]
call fcn.14002bcb8
mov eax, 2
mul rbx
cmovo rax, r13
mov rcx, rax
call fcn.14002bcc0
mov qword [rdi + 0x20], rax
jmp 0x1400125c0
mov rdx, qword [rdi + 0x20]
cmp word [rdx], 0
jne 0x140012650
xor r12d, r12d
mov r8d, r12d
jmp 0x140012662
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140012654
xor r12d, r12d
lea rcx, [rbp - 0x29]
call fcn.140003650
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rdx, qword [rbp - 0x29]
lea rcx, [rbp - 0x69]
call fcn.14000b420
mov r9d, 3
lea rdx, [0x14028ca70]
mov rcx, rax
call fcn.140007c10
mov rbx, rax
mov r8, qword [rbp - 0x51]
cmp r8, 8
mov r13, qword [rbp - 0x71]
jb 0x1400126b8
inc r8
mov rdx, qword [rbp - 0x69]
lea rcx, [rbp - 0x69]
call fcn.1400037a0
mov qword [rbp - 0x51], 7
mov qword [rbp - 0x59], r12
mov word [rbp - 0x69], r12w
cmp rbx, 0xffffffffffffffff
je 0x1400127b6
mov rcx, qword [rbp - 0x19]
cmp rcx, rbx
jae 0x1400126e9
lea rcx, [0x140288310]
call fcn.1401e46b4
int3
mov rax, rcx
sub rax, rbx
cmp rax, 2
lea rax, [rbp - 0x29]
ja 0x14001270e
mov qword [rbp - 0x19], rbx
cmp qword [rbp - 0x11], 8
cmovae rax, qword [rbp - 0x29]
mov word [rax + rbx*2], r12w
jmp 0x14001275b
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 0x140012746
lea r8, [rax + rax]
lea rdx, [r9 + 4]
mov rcx, r9
call fcn.1401e6230
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.140007d20
lea r8, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae r8, qword [rbp - 0x29]
cmp qword [rsi + 0x18], 8
jb 0x140012790
mov rdx, qword [rsi]
jmp 0x140012793
mov rdx, rsi
cmp qword [r14 + 0x18], 8
jb 0x14001279f
mov rcx, qword [r14]
jmp 0x1400127a2
mov rcx, r14
cmp qword [rdi + 0x18], 8
jb 0x1400127ac
mov rdi, qword [rdi]
mov r9, rdi
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
nop
mov r8, qword [rbp - 0x11]
cmp r8, 8
jb 0x1400127d1
inc r8
mov rdx, qword [rbp - 0x29]
lea rcx, [rbp - 0x29]
call fcn.1400037a0
nop
mov r8, qword [rbp + 0xf]
cmp r8, 8
jb 0x1400127eb
inc r8
mov rdx, qword [rbp - 9]
lea rcx, [rbp - 9]
call fcn.1400037a0
mov qword [rbp + 0xf], 7
mov qword [rbp + 7], r12
mov word [rbp - 9], r12w
cmp qword [r14 + 0x18], 8
jb 0x140012815
mov r8, qword [r14 + 0x18]
inc r8
mov rdx, qword [r14]
mov rcx, r14
call fcn.1400037a0
mov qword [r14 + 0x18], 7
mov qword [r14 + 0x10], r12
cmp qword [r14 + 0x18], 8
jb 0x14001282b
mov r14, qword [r14]
mov word [r14], r12w
cmp qword [rsi + 0x18], 8
jb 0x140012848
mov r8, qword [rsi + 0x18]
inc r8
mov rdx, qword [rsi]
mov rcx, rsi
call fcn.1400037a0
mov qword [rsi + 0x18], 7
mov qword [rsi + 0x10], r12
cmp qword [rsi + 0x18], 8
jb 0x14001285e
mov rsi, qword [rsi]
mov word [rsi], r12w
mov r8, qword [r13 + 0x18]
cmp r8, 8
jb 0x14001287b
inc r8
mov rdx, qword [r13]
mov rcx, r13
call fcn.1400037a0
mov qword [r13 + 0x18], 7
mov qword [r13 + 0x10], r12
cmp qword [r13 + 0x18], 8
jb 0x140012892
mov r13, qword [r13]
mov word [r13], r12w
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1401e30a0
mov rbx, qword [rsp + 0x100]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret