Function at 0x140013430
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x360
mov rax, qword [0x140025100]
xor rax, rsp
mov qword [rsp + 0x350], rax
mov dword [rsp + 0xc0], 1
mov byte [rsp + 0xd0], 0
lea rax, [rsp + 0xd1]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov r8d, 0x105
lea rdx, [rsp + 0xd0]
xor ecx, ecx
call fcn.1400133b0
test eax, eax
jne 0x1400134a0
xor eax, eax
jmp 0x140013d52
lea r8, [0x1400041f8]
mov edx, 0x105
lea rcx, [rsp + 0xd0]
call fcn.14001f5e0
mov dword [rsp + 0x330], eax
cmp dword [rsp + 0x330], 0
je 0x1400134d1
xor eax, eax
jmp 0x140013d52
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0xd0]
call fcn.14001fb20
test eax, eax
jne 0x1400134f4
mov eax, 1
jmp 0x140013d52
mov eax, dword [rsp + 0x1e0]
and eax, 0x10
test eax, eax
jne 0x140013d30
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x80
lea r9, [rsp + 0x40]
lea r8, [0x140003fd0]
lea rdx, [0x140003fd8]
lea rcx, [0x140003fe8]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, eax
cmp rax, 0x7e
jae 0x1400135df
lea rdx, [0x140002e2c]
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcrt.dll__stricmp]
test eax, eax
jne 0x140013592
mov rax, qword [rsp + 0x370]
mov eax, dword [rax + 8]
and eax, 0x10
test eax, eax
je 0x140013592
lea r8, [0x140001768]
lea rdx, [0x140003ff8]
mov ecx, 1
call fcn.1400058d0
mov dword [rsp + 0xc0], 0
lea rdx, [0x140002e30]
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcrt.dll__stricmp]
test eax, eax
jne 0x1400135dd
mov rax, qword [rsp + 0x370]
mov eax, dword [rax + 8]
and eax, 0x10
test eax, eax
jne 0x1400135dd
lea r8, [0x140001774]
lea rdx, [0x140003ff8]
mov ecx, 1
call fcn.1400058d0
mov dword [rsp + 0xc0], 0
jmp 0x140013618
cmp dword [rsp + 0xc0], 0
je 0x14001360d
cmp dword [0x140025a38], 0
je 0x14001360d
lea r8, [rsp + 0xd0]
lea rdx, [0x140003fd8]
lea rcx, [0x140004038]
call fcn.140005ae0
mov dword [rsp + 0xc0], 0
cmp dword [rsp + 0xc0], 0
je 0x140013745
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x80
lea r9, [rsp + 0x40]
lea r8, [0x140003fd0]
lea rdx, [0x140004058]
lea rcx, [0x140003fe8]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, eax
cmp rax, 0x7e
jae 0x140013745
lea rdx, [0x140002a18]
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcrt.dll__stricmp]
test eax, eax
jne 0x1400136d5
mov rax, qword [rsp + 0x370]
mov eax, dword [rax + 8]
bts eax, 0xa
mov rcx, qword [rsp + 0x370]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x370]
mov eax, dword [rax + 8]
btr eax, 0xb
mov rcx, qword [rsp + 0x370]
mov dword [rcx + 8], eax
cmp dword [0x140025a38], 0
je 0x1400136d5
lea r8, [0x140004060]
lea rdx, [rsp + 0xd0]
lea rcx, [0x140004078]
call fcn.140005ae0
lea rdx, [0x140002a1c]
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcrt.dll__stricmp]
test eax, eax
jne 0x140013743
mov rax, qword [rsp + 0x370]
mov eax, dword [rax + 8]
bts eax, 0xb
mov rcx, qword [rsp + 0x370]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x370]
mov eax, dword [rax + 8]
btr eax, 0xa
mov rcx, qword [rsp + 0x370]
mov dword [rcx + 8], eax
cmp dword [0x140025a38], 0
je 0x140013743
lea r8, [0x1400040a4]
lea rdx, [rsp + 0xd0]
lea rcx, [0x140004078]
call fcn.140005ae0
jmp 0x14001377e
cmp dword [rsp + 0xc0], 0
je 0x140013773
cmp dword [0x140025a38], 0
je 0x140013773
lea r8, [rsp + 0xd0]
lea rdx, [0x140004058]
lea rcx, [0x140004038]
call fcn.140005ae0
mov dword [rsp + 0xc0], 0
cmp dword [rsp + 0xc0], 0
je 0x14001385b
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 0x14001385b
lea rdx, [0x140003fd0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcrt.dll__stricmp]
test eax, eax
je 0x140013859
mov rax, qword [rsp + 0x370]
add rax, 0x38
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140020820
test eax, eax
je 0x140013833
cmp dword [0x140025a38], 0
je 0x140013831
mov rax, qword [rsp + 0x370]
cmp qword [rax + 0x38], 0
je 0x140013831
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0xd0]
lea rcx, [0x1400040c0]
call fcn.140005ae0
jmp 0x140013859
mov dword [rsp + 0xc0], 0
lea rdx, [0x1400040f8]
xor ecx, ecx
call fcn.1400058d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140005800
jmp 0x140013894
cmp dword [rsp + 0xc0], 0
je 0x140013889
cmp dword [0x140025a38], 0
je 0x140013889
lea r8, [rsp + 0xd0]
lea rdx, [0x1400040b0]
lea rcx, [0x140004038]
call fcn.140005ae0
mov dword [rsp + 0xc0], 0
cmp dword [rsp + 0xc0], 0
je 0x1400139c1
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 0x1400139c1
lea rdx, [0x140002a18]
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcrt.dll__stricmp]
test eax, eax
jne 0x140013951
mov rax, qword [rsp + 0x370]
mov eax, dword [rax + 8]
bts eax, 8
mov rcx, qword [rsp + 0x370]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x370]
mov eax, dword [rax + 8]
btr eax, 9
mov rcx, qword [rsp + 0x370]
mov dword [rcx + 8], eax
cmp dword [0x140025a38], 0
je 0x140013951
lea r8, [0x140004060]
lea rdx, [rsp + 0xd0]
lea rcx, [0x140004130]
call fcn.140005ae0
lea rdx, [0x140002a1c]
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcrt.dll__stricmp]
test eax, eax
jne 0x1400139bf
mov rax, qword [rsp + 0x370]
mov eax, dword [rax + 8]
bts eax, 9
mov rcx, qword [rsp + 0x370]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x370]
mov eax, dword [rax + 8]
btr eax, 8
mov rcx, qword [rsp + 0x370]
mov dword [rcx + 8], eax
cmp dword [0x140025a38], 0
je 0x1400139bf
lea r8, [0x1400040a4]
lea rdx, [rsp + 0xd0]
lea rcx, [0x140004130]
call fcn.140005ae0
jmp 0x1400139fa
cmp dword [rsp + 0xc0], 0
je 0x1400139ef
cmp dword [0x140025a38], 0
je 0x1400139ef
lea r8, [rsp + 0xd0]
lea rdx, [0x140004120]
lea rcx, [0x140004038]
call fcn.140005ae0
mov dword [rsp + 0xc0], 0
cmp qword [rsp + 0x380], 0
je 0x140013d0d
cmp qword [rsp + 0x378], 0
je 0x140013d0d
mov ecx, 0x400
call qword [sym.imp.msvcrt.dll_malloc]
mov qword [rsp + 0x328], rax
cmp qword [rsp + 0x328], 0
je 0x140013d0b
lea r9, [rsp + 0xd0]
mov r8d, 0x400
mov rdx, qword [rsp + 0x328]
lea rcx, [0x140004158]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov dword [rsp + 0x340], eax
mov qword [rsp + 0x348], 0
mov qword [rsp + 0x338], 0
cmp dword [rsp + 0x340], 0x3fe
je 0x140013cfd
mov rax, qword [rsp + 0x328]
mov qword [rsp + 0x348], rax
mov rax, qword [rsp + 0x348]
mov qword [rsp + 0x338], rax
cmp dword [rsp + 0x340], 0
jbe 0x140013cfd
mov rax, qword [rsp + 0x338]
movsx eax, byte [rax]
cmp eax, 0x3d
je 0x140013afa
cmp dword [rsp + 0x340], 0
jbe 0x140013afa
mov rax, qword [rsp + 0x338]
inc rax
mov qword [rsp + 0x338], rax
mov eax, dword [rsp + 0x340]
dec eax
mov dword [rsp + 0x340], eax
jmp 0x140013abb
mov rax, qword [rsp + 0x338]
mov byte [rax], 0
mov rax, qword [rsp + 0x338]
inc rax
mov qword [rsp + 0x338], rax
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, qword [rsp + 0x348]
repne scasb al, byte [rdi]
not rcx
dec rcx
mov rax, rcx
test rax, rax
jbe 0x140013c87
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, qword [rsp + 0x338]
repne scasb al, byte [rdi]
not rcx
dec rcx
mov rax, rcx
test rax, rax
jbe 0x140013c87
mov rax, qword [rsp + 0x378]
mov eax, dword [rax]
imul rax, rax, 0x218
mov rcx, qword [rsp + 0x380]
add rcx, rax
mov rax, rcx
mov r8, qword [rsp + 0x348]
mov edx, 0x104
mov rcx, rax
call fcn.1400053e0
mov rax, qword [rsp + 0x378]
mov eax, dword [rax]
imul rax, rax, 0x218
mov rcx, qword [rsp + 0x380]
lea rax, [rcx + rax + 0x104]
mov r8, qword [rsp + 0x338]
mov edx, 0x104
mov rcx, rax
call fcn.1400053e0
mov rax, qword [rsp + 0x378]
mov eax, dword [rax]
imul rax, rax, 0x218
mov rcx, qword [rsp + 0x380]
mov qword [rcx + rax + 0x208], 0
mov rax, qword [rsp + 0x378]
mov eax, dword [rax]
imul rax, rax, 0x218
mov rcx, qword [rsp + 0x380]
mov qword [rcx + rax + 0x210], 0
cmp dword [0x140025a38], 0
je 0x140013c71
mov rax, qword [rsp + 0x378]
mov eax, dword [rax]
imul rax, rax, 0x218
mov rcx, qword [rsp + 0x380]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x378]
mov ecx, dword [rcx]
imul rcx, rcx, 0x218
mov rdx, qword [rsp + 0x380]
lea rcx, [rdx + rcx + 0x104]
mov r8, rax
mov rdx, rcx
lea rcx, [0x140004168]
call fcn.140005ae0
mov rax, qword [rsp + 0x378]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x378]
mov dword [rcx], eax
mov rax, qword [rsp + 0x338]
mov qword [rsp + 0x348], rax
mov rax, qword [rsp + 0x348]
movsx eax, byte [rax]
test eax, eax
je 0x140013cd5
cmp dword [rsp + 0x340], 0
jbe 0x140013cd5
mov rax, qword [rsp + 0x348]
inc rax
mov qword [rsp + 0x348], rax
mov eax, dword [rsp + 0x340]
dec eax
mov dword [rsp + 0x340], eax
jmp 0x140013c97
mov rax, qword [rsp + 0x348]
inc rax
mov qword [rsp + 0x348], rax
mov rax, qword [rsp + 0x348]
mov qword [rsp + 0x338], rax
jmp 0x140013aad
mov rcx, qword [rsp + 0x328]
call qword [sym.imp.msvcrt.dll_free]
jmp 0x140013d2e
cmp dword [0x140025a38], 0
je 0x140013d2e
mov rax, qword [rsp + 0x370]
mov rdx, qword [rax + 0x40]
lea rcx, [0x140004198]
call fcn.140005ae0
jmp 0x140013d4d
cmp dword [0x140025a38], 0
je 0x140013d4d
lea rdx, [rsp + 0xd0]
lea rcx, [0x140004208]
call fcn.140005ae0
mov eax, 1
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.140021740
add rsp, 0x360
pop rdi
ret