Function at 0x1400092f0
Capabilities:
Read .ini file

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x300], rbx
mov rax, qword [0x14027bbd0]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rsi, rdx
mov qword [rsp + 0x30], rdx
mov r13, rcx
mov qword [rsp + 0x28], rcx
mov r12d, 1
mov qword [rsp + 0x58], 7
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov word [rsp + 0x40], r14w
xor r8d, r8d
lea rdx, [0x1401c6ea8]
lea rcx, [rsp + 0x40]
call fcn.1400073e0
nop
lea rbx, [r13 + 0x28]
mov rax, qword [rbx + 8]
cmp qword [rbx], rax
jne 0x14000956e
mov r8d, 0x104
lea rdx, [rbp - 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140009524
lea edx, [r12 + 0x5b]
lea rcx, [rbp - 0x70]
call fcn.140193dc0
lea rdx, [0x1401c78e4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [0x1401c7444]
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, str.DebugSettings.ini
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov qword [rsp + 0x20], rax
lea edx, [r12 + 7]
mov r8d, 0xfffe
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15, rax
test rax, rax
je 0x140009524
lea r9, [rbp - 0x70]
mov r8d, 0x7fff
mov rdx, rax
lea rcx, str.Non_Display_Message
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
mov rsi, r15
cmp word [r15], r14w
je 0x14000950f
movabs r13, 0x6666666666666667
nop word [rax + rax]
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.1400073e0
mov r11, qword [rbx + 8]
lea rax, [rsp + 0x40]
cmp rax, r11
jae 0x1400094c5
mov rax, qword [rbx]
lea rcx, [rsp + 0x40]
cmp rax, rcx
ja 0x1400094c5
lea rcx, [rsp + 0x40]
sub rcx, rax
mov rax, r13
imul rcx
mov rdi, rdx
sar rdi, 4
mov rax, rdi
shr rax, 0x3f
add rdi, rax
cmp r11, qword [rbx + 0x10]
jne 0x1400094ab
mov rdx, r12
mov rcx, rbx
call fcn.14000a450
lea rcx, [rdi + rdi*4]
mov rax, qword [rbx]
lea r8, [rax + rcx*8]
mov rdx, qword [rbx + 8]
lea rcx, [rbx + 0x18]
call fcn.140009ef0
jmp 0x1400094e8
cmp r11, qword [rbx + 0x10]
jne 0x1400094d6
mov rdx, r12
mov rcx, rbx
call fcn.14000a450
lea r8, [rsp + 0x40]
mov rdx, qword [rbx + 8]
lea rcx, [rbx + 0x18]
call fcn.14000a080
add qword [rbx + 8], 0x28
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, eax
lea rsi, [rsi + rdx*2 + 2]
cmp word [rsi], 0
jne 0x140009440
mov r13, qword [rsp + 0x28]
xor r14d, r14d
mov r8, r15
xor edx, edx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rsi, qword [rsp + 0x30]
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], r14
mov word [rsp + 0x68], r14w
mov r8d, 7
lea rdx, str.MSG_END
lea rcx, [rsp + 0x68]
call fcn.1400073e0
nop
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.14000a500
nop
cmp qword [rbp - 0x80], 8
jb 0x14000956e
mov rcx, qword [rsp + 0x68]
call fcn.140050e78
mov rdi, qword [rbx]
cmp rdi, qword [r13 + 0x30]
je 0x1400095c1
nop word [rax + rax]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.1400072b0
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400095be
add rdi, 0x28
cmp rdi, qword [r13 + 0x30]
jne 0x140009580
jmp 0x1400095c1
mov r12d, r14d
cmp qword [rsp + 0x58], 8
jb 0x1400095d3
mov rcx, qword [rsp + 0x40]
call fcn.140050e78
mov eax, r12d
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1401945b0
mov rbx, qword [rsp + 0x300]
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret