Function at 0x18009da70
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rax, qword [0x1803320c0]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor r14d, r14d
lea rdx, str.reaimgui
lea rcx, str.prefpage
call qword [0x180337408]
call qword [0x180337440]
mov rsi, rax
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], r14b
jne 0x18009dac5
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
mov r9d, edi
mov r8, rsi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x41], r14
mov qword [rbp - 0x39], r14
mov r8, rbx
xor edx, edx
lea rcx, [rbp - 0x51]
call fcn.180095a00
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 7
cmova rdx, qword [rbp - 0x51]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdx
mov r9d, edi
mov r8, rsi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop
lea rdi, [rbp - 0x51]
cmp qword [rbp - 0x39], 7
cmova rdi, qword [rbp - 0x51]
lea rbx, [0x1802799b0]
lea r14, [0x1802e143c]
lea r15, [0x1802e1440]
lea rsi, [0x180279b38]
movsx rax, byte [rbx + 0x30]
add rax, 1
je 0x18009dd35
mov rdx, qword [rbx + 0x10]
lea rcx, [0x1802e1200]
cmp rax, 1
je 0x18009dc71
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x20
lea r9, [rbp - 9]
lea r8, [0x1802dfbbc]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rax, [rbp - 9]
mov qword [rbp - 0x71], rax
lea rcx, [rbp - 9]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x18009dbb5
mov qword [rbp - 0x69], rax
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x31]
call fcn.18009cb20
mov r10, rax
cmp qword [rax + 0x18], 0xf
jbe 0x18009dbdd
mov r10, qword [rax]
mov r11, qword [0x180354850]
mov r9, r11
test r11, r11
je 0x18009dc20
nop dword [rax]
mov rax, r10
mov r8, qword [r9 + 8]
sub r8, r10
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18009dc13
inc rax
test ecx, ecx
jne 0x18009dc00
test edx, edx
je 0x18009dc23
mov r9, qword [r9 + 0x28]
test r9, r9
jne 0x18009dbf0
mov r9, r11
mov rax, qword [rbx]
mov qword [rax], r9
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x18009dc64
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009dc5f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009dd2f
call fcn.1801e578c
mov rdx, rdi
mov rcx, rbx
call fcn.18009ccc0
jmp 0x18009dcbd
movzx r8d, byte [rbx + 8]
mov r9, rdi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
setne cl
mov rax, qword [rbx]
mov byte [rax], cl
lea rcx, [rbx + 0x28]
mov rdx, rbx
call fcn.18009d080
mov qword [rbp - 0x61], r14
mov qword [rbp - 0x59], r15
mov rax, qword [rbx]
movzx r8d, byte [rax]
mov r9, rdi
mov r8, qword [rbp + r8*8 - 0x61]
mov rdx, qword [rbx + 0x10]
lea rcx, [0x1802e1200]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add rbx, 0x38
cmp rbx, rsi
jne 0x18009db60
mov rdx, qword [rbp - 0x39]
cmp rdx, 7
jbe 0x18009dd06
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009dd01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009dd3b
call fcn.1801e578c
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1801e5610
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1801efd10
nop
call fcn.18006a000
nop
call fcn.1801efd10
int3