Function at 0x140014b60
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x338
mov rax, qword [0x140025100]
xor rax, rsp
mov qword [rsp + 0x328], rax
mov dword [rsp + 0xc0], 1
mov rax, qword [rsp + 0x340]
mov r9, qword [rax + 0x40]
lea r8, [0x140003fb8]
mov edx, 0x105
lea rcx, [rsp + 0xd0]
call fcn.14001f670
mov dword [rsp + 0x324], eax
cmp dword [rsp + 0x324], 0
jne 0x140014ea2
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0xd0]
call fcn.14001fb20
test eax, eax
je 0x140014ea0
mov eax, dword [rsp + 0x1e0]
and eax, 0x10
test eax, eax
jne 0x140014e7f
cmp dword [rsp + 0xc0], 0
je 0x140014cfe
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x80
lea r9, [rsp + 0x40]
lea r8, [0x140003fd0]
lea rdx, [0x1400040b0]
lea rcx, [0x140003fe8]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, eax
cmp rax, 0x7e
jae 0x140014cfe
lea rdx, [0x140003fd0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcrt.dll__stricmp]
test eax, eax
je 0x140014cfc
mov rax, qword [rsp + 0x340]
add rax, 0x38
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140020820
test eax, eax
je 0x140014ca3
cmp dword [0x140025a38], 0
je 0x140014ca1
mov rax, qword [rsp + 0x340]
cmp qword [rax + 0x38], 0
je 0x140014ca1
lea rdx, [rsp + 0x40]
lea rcx, [0x140004790]
call fcn.140005ae0
jmp 0x140014cfc
mov dword [rsp + 0xc0], 0
lea rdx, [0x1400040f8]
xor ecx, ecx
call fcn.1400058d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x320], eax
cmp dword [rsp + 0x320], 0
je 0x140014ce1
mov ecx, dword [rsp + 0x320]
call fcn.140005800
jmp 0x140014cfc
mov rax, qword [sym.imp.msvcrt.dll__iob]
add rax, 0x30
lea rdx, [0x1400047d0]
mov rcx, rax
call qword [sym.imp.msvcrt.dll_fprintf]
jmp 0x140014d2f
cmp dword [rsp + 0xc0], 0
je 0x140014d24
cmp dword [0x140025a38], 0
je 0x140014d24
lea rdx, [0x1400040b0]
lea rcx, [0x1400047e8]
call fcn.140005ae0
mov dword [rsp + 0xc0], 0
cmp dword [rsp + 0xc0], 0
je 0x140014e4c
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x80
lea r9, [rsp + 0x40]
lea r8, [0x140003fd0]
lea rdx, [0x140004120]
lea rcx, [0x140003fe8]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, eax
cmp rax, 0x7e
jae 0x140014e4c
lea rdx, [0x140002a18]
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcrt.dll__stricmp]
test eax, eax
jne 0x140014de4
mov rax, qword [rsp + 0x340]
mov eax, dword [rax + 8]
bts eax, 8
mov rcx, qword [rsp + 0x340]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x340]
mov eax, dword [rax + 8]
btr eax, 9
mov rcx, qword [rsp + 0x340]
mov dword [rcx + 8], eax
cmp dword [0x140025a38], 0
je 0x140014de4
lea rdx, [0x140004060]
lea rcx, [0x140004810]
call fcn.140005ae0
lea rdx, [0x140002a1c]
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcrt.dll__stricmp]
test eax, eax
jne 0x140014e4a
mov rax, qword [rsp + 0x340]
mov eax, dword [rax + 8]
bts eax, 9
mov rcx, qword [rsp + 0x340]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x340]
mov eax, dword [rax + 8]
btr eax, 8
mov rcx, qword [rsp + 0x340]
mov dword [rcx + 8], eax
cmp dword [0x140025a38], 0
je 0x140014e4a
lea rdx, [0x1400040a4]
lea rcx, [0x140004810]
call fcn.140005ae0
jmp 0x140014e7d
cmp dword [rsp + 0xc0], 0
je 0x140014e72
cmp dword [0x140025a38], 0
je 0x140014e72
lea rdx, [0x140004120]
lea rcx, [0x1400047e8]
call fcn.140005ae0
mov dword [rsp + 0xc0], 0
jmp 0x140014ea0
cmp dword [0x140025a38], 0
je 0x140014ea0
mov rax, qword [rsp + 0x340]
mov rdx, qword [rax + 0x40]
lea rcx, [0x140004840]
call fcn.140005ae0
jmp 0x140014ee6
mov dword [rsp + 0xc0], 0
cmp dword [0x140025a38], 0
je 0x140014ee6
mov eax, dword [rsp + 0x324]
and eax, 0xffff
mov dword [rsp + 0x320], eax
lea rdx, [0x140004868]
mov ecx, 1
call fcn.1400058d0
mov ecx, dword [rsp + 0x320]
call fcn.140005800
mov eax, dword [rsp + 0xc0]
mov rcx, qword [rsp + 0x328]
xor rcx, rsp
call fcn.140021740
add rsp, 0x338
ret