Function at 0x140009330
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]
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x140009559
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 0x14000946d
call fcn.140010a5c
mov qword [rsp + 0x50], rax
mov rbx, rax
test rax, rax
je 0x14000957a
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__202_.0
mov qword [rbx], rax
mov qword [rbx + 0x48], rsi
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea r14, [rbx + 0x10]
mov rbp, rax
test r14, r14
je 0x140009580
test rbx, rbx
je 0x140009580
mov qword [r14], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rcx, [0x14001c018]
mov dword [r14 + 8], eax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x14001c040]
lea rcx, [0x14001c018]
mov qword [r14 + 0x10], rax
mov qword [0x14001c040], r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [rbx + 0x40], 1
lea r9, [0x14000dec0]
mov dword [rbx + 0x44], edi
mov r8, rbp
mov rcx, qword [0x14001de80]
mov edx, 0xcf
mov qword [rsp + 0x20], rdi
call fcn.14000f1a0
mov ecx, dword [rbx + 0x44]
mov rdi, rax
test ecx, ecx
jns 0x140009461
cmp rax, 0xffffffffffffffff
jne 0x140009461
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbx]
mov rax, qword [rcx + 8]
jmp 0x140009545
call fcn.140010a5c
mov qword [rsp + 0x50], rax
mov rbx, rax
test rax, rax
je 0x14000957a
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__202_.0
mov qword [rbx], rax
mov qword [rbx + 0x48], rsi
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea r14, [rbx + 0x10]
mov rbp, rax
test r14, r14
je 0x140009580
test rbx, rbx
je 0x140009580
mov qword [r14], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rcx, [0x14001c018]
mov dword [r14 + 8], eax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x14001c040]
lea rcx, [0x14001c018]
mov qword [r14 + 0x10], rax
mov qword [0x14001c040], r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [rbx + 0x40], 1
lea r9, [0x14000dec0]
mov dword [rbx + 0x44], edi
mov r8, rbp
mov rcx, qword [0x14001de80]
mov edx, 0xce
mov qword [rsp + 0x20], rdi
call fcn.14000f1a0
mov ecx, dword [rbx + 0x44]
mov rdi, rax
test ecx, ecx
jns 0x14000953e
cmp rax, 0xffffffffffffffff
jne 0x14000953e
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov edx, 1
mov rcx, rbx
call qword [0x140013718]
cmp rdi, 1
je 0x140009565
mov rcx, qword [rsi + 8]
xor edx, edx
call qword [sym.imp.USER32.dll_EndDialog]
mov rbx, qword [rsp + 0x58]
xor eax, eax
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.140001310
int3