Function at 0x140007a60
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r14d, r9d
mov rdi, r8
mov rbp, rdx
mov r15, rcx
call fcn.140007150
test rax, rax
je 0x140007cf9
mov r9, qword [rax]
mov rcx, rax
call qword [r9 + 0x18]
mov r12, qword [r15]
mov esi, 1
mov ecx, esi
sub ecx, dword [rax + 0x10]
lea rbx, [rax + 0x18]
mov eax, dword [rax + 0xc]
add eax, 0xffffff80
mov qword [rsp + 0x30], rbx
or ecx, eax
jge 0x140007ad2
lea edx, [rsi + 0x7f]
lea rcx, [rsp + 0x30]
call fcn.140007980
mov rbx, qword [rsp + 0x30]
cmp dword [rbx - 0xc], 0x80
jl 0x140007cee
mov dword [rbx - 0x10], 0x80
xor r13d, r13d
mov qword [rsp + 0x28], r12
mov r9, rbx
xor r8d, r8d
mov word [rbx + 0x100], r13w
mov rdx, rdi
mov dword [rsp + 0x20], 0x80
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movsxd rdi, eax
test eax, eax
js 0x140007cee
mov ecx, dword [rbx - 0xc]
sub esi, dword [rbx - 8]
sub ecx, edi
or esi, ecx
jge 0x140007b38
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140007980
mov rbx, qword [rsp + 0x30]
cmp edi, dword [rbx - 0xc]
jg 0x140007cee
mov dword [rbx - 0x10], edi
mov ebp, 0xffffffff
mov word [rbx + rdi*2], r13w
mov eax, dword [rbx - 0x10]
test eax, eax
je 0x140007cb4
cmp eax, 2
jg 0x140007b6d
lea rcx, [rbx - 0x18]
call fcn.140006dc0
lea rdi, [rax + 0x18]
jmp 0x140007be9
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x140007b84
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x140007b9e
call fcn.140007150
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x20]
mov rcx, rax
test rax, rax
je 0x140007cf9
mov rax, qword [rcx]
mov edx, 2
mov r8d, edx
call qword [rax]
test rax, rax
je 0x140007d04
cmp dword [rax + 0xc], 2
lea rdi, [rax + 0x18]
jl 0x140007cee
mov dword [rdi - 0x10], 2
mov word [rdi + 4], r13w
test rdi, rdi
jne 0x140007be5
call fcn.1400ad9e4
mov dword [rax], 0x16
call fcn.1400ad838
jmp 0x140007be9
mov eax, dword [rbx]
mov dword [rdi], eax
movzx esi, word [rdi]
sub esi, 0x30
jne 0x140007c04
movzx esi, word [rdi + 2]
sub esi, 0x78
jne 0x140007c04
movzx esi, word [rdi + 4]
movzx eax, r13w
sub esi, eax
lea rdx, [rdi - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140007c1d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, dword [rbx - 0x10]
test esi, esi
jne 0x140007c70
lea r9d, [rax - 2]
lea r8d, [rsi + 2]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.140007420
lea rdx, [rsp + 0x38]
mov rcx, r15
call fcn.1400077a0
mov rdx, qword [rsp + 0x38]
mov r14d, eax
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140007c69
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x30]
jmp 0x140007cb4
mov rbx, qword [rsp + 0x30]
test eax, eax
jle 0x140007ca4
mov edx, 0x2c
mov rcx, rbx
call fcn.140086364
test rax, rax
je 0x140007ca4
sub rax, rbx
sar rax, 1
test eax, eax
jne 0x140007ca4
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.1400077a0
jmp 0x140007cb1
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.1400075b0
mov r14d, eax
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], ebp
sub ebp, 1
jg 0x140007ccb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x70]
mov eax, r14d
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov ecx, 0x80070057
call fcn.140006d80
int3
mov ecx, 0x80004005
call fcn.140006d80
int3
call fcn.140008450
int3