Function at 0x140009000
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rsi, rcx
mov edx, 1
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
nop
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindowEnabled]
nop
test eax, eax
je 0x14000922f
lea r9, [rsi + 0x280]
xor r8d, r8d
lea rdx, str.RightToLeft
lea rcx, str.labels
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, 0x50
test eax, eax
je 0x140009141
call fcn.14001062c
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140009250
xor edi, edi
mov qword [rax + 8], rdi
mov qword [rax + 0x28], rdi
mov qword [rax + 0x30], rdi
mov dword [rax + 0x38], edi
mov byte [rax + 0x40], dil
mov dword [rax + 0x44], edi
lea rax, vtable.CDlgDecl_207__201_.0
mov qword [rbx], rax
mov qword [rbx + 0x48], rsi
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rbp, rax
lea r14, [rbx + 0x10]
test r14, r14
je 0x140009256
test rbx, rbx
je 0x140009256
mov qword [r14], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [r14 + 8], eax
lea rcx, [0x14001c018]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rax, qword [0x14001c040]
mov qword [r14 + 0x10], rax
mov qword [0x14001c040], r14
lea rcx, [0x14001c018]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov byte [rbx + 0x40], 1
mov dword [rbx + 0x44], edi
mov qword [rsp + 0x20], rdi
lea r9, [0x14000def0]
mov r8, rbp
mov edx, 0xcf
mov rcx, qword [0x14001dea0]
call fcn.14000f1c0
mov rdi, rax
mov ecx, dword [rbx + 0x44]
test ecx, ecx
jns 0x140009135
cmp rax, 0xffffffffffffffff
jne 0x140009135
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbx]
mov rax, qword [rcx + 8]
jmp 0x14000921b
call fcn.14001062c
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140009250
xor edi, edi
mov qword [rax + 8], rdi
mov qword [rax + 0x28], rdi
mov qword [rax + 0x30], rdi
mov dword [rax + 0x38], edi
mov byte [rax + 0x40], dil
mov dword [rax + 0x44], edi
lea rax, vtable.CDlgDecl_206__201_.0
mov qword [rbx], rax
mov qword [rbx + 0x48], rsi
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rbp, rax
lea r14, [rbx + 0x10]
test r14, r14
je 0x140009256
test rbx, rbx
je 0x140009256
mov qword [r14], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [r14 + 8], eax
lea rcx, [0x14001c018]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rax, qword [0x14001c040]
mov qword [r14 + 0x10], rax
mov qword [0x14001c040], r14
lea rcx, [0x14001c018]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov byte [rbx + 0x40], 1
mov dword [rbx + 0x44], edi
mov qword [rsp + 0x20], rdi
lea r9, [0x14000def0]
mov r8, rbp
mov edx, 0xce
mov rcx, qword [0x14001dea0]
call fcn.14000f1c0
mov rdi, rax
mov ecx, dword [rbx + 0x44]
test ecx, ecx
jns 0x140009214
cmp rax, 0xffffffffffffffff
jne 0x140009214
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov edx, 1
mov rcx, rbx
call qword [0x140013710]
cmp rdi, 1
je 0x14000923b
xor edx, edx
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_EndDialog]
xor eax, eax
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov edx, 1
mov ecx, 0xc0000005
call fcn.14000e630
int3