Function at 0x18001f330
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
mov eax, 0x5060
call fcn.1801c3c60
sub rsp, rax
mov rax, qword [0x18028b940]
xor rax, rsp
mov qword [rsp + 0x5050], rax
mov r10, r8
mov rsi, rcx
mov qword [rsp + 0x38], rcx
mov r11, qword [rsp + 0x50a0]
xor ebp, ebp
mov dword [rsp + 0x30], ebp
lea rcx, vtable.CVolObject.0
mov qword [rsi], rcx
mov qword [rsi + 8], rbp
mov qword [rsi + 0x10], rbp
lea rax, vtable.CWString.0
mov qword [rsi], rax
lea rbx, [rsi + 0x20]
mov qword [rsp + 0x40], rbx
mov qword [rbx], rcx
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
lea rax, vtable.CVolMem.0
mov qword [rbx], rax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x28], rbp
mov qword [rbx + 0x20], rbp
mov qword [rbx + 0x30], 0x40
mov qword [rsi + 0x18], rbp
mov qword [rsi + 0x50], 0xfe
mov dword [rsp + 0x30], 1
mov rdi, qword [0x18028c6d8]
mov r8, qword [0x18028c708]
mov eax, ebp
test rdi, rdi
je 0x18001f3ef
cmp word [rdi], bp
sete al
jmp 0x18001f3f6
cmp r8, 2
setle al
test eax, eax
jne 0x18001f59d
mov rcx, qword [r10 + 0x18]
mov eax, ebp
test rcx, rcx
je 0x18001f411
cmp word [rcx], bp
sete al
jmp 0x18001f419
cmp qword [r10 + 0x48], 2
setle al
test eax, eax
jne 0x18001f59d
mov rdx, qword [r9 + 0x18]
mov eax, ebp
test rdx, rdx
je 0x18001f434
cmp word [rdx], bp
sete al
jmp 0x18001f43c
cmp qword [r9 + 0x48], 2
setle al
test eax, eax
jne 0x18001f59d
mov word [rsp + 0x50], bp
test rdi, rdi
jne 0x18001f460
lea rdi, [0x18024c640]
test r8, r8
cmovne rdi, qword [0x18028c6f8]
mov r8, qword [r11 + 0x18]
test r8, r8
jne 0x18001f47a
cmp qword [r11 + 0x48], r8
lea r8, [0x18024c640]
je 0x18001f47a
mov r8, qword [r11 + 0x38]
test rdx, rdx
jne 0x18001f490
cmp qword [r9 + 0x48], rdx
lea rdx, [0x18024c640]
je 0x18001f490
mov rdx, qword [r9 + 0x38]
test rcx, rcx
jne 0x18001f4a6
cmp qword [r10 + 0x48], rcx
lea rcx, [0x18024c640]
je 0x18001f4a6
mov rcx, qword [r10 + 0x38]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x2800
lea r9, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov rax, qword [rsi + 0x18]
test rax, rax
jne 0x18001f4d7
cmp qword [rsi + 0x48], rax
je 0x18001f4e5
cmp qword [rbx + 0x28], rax
je 0x18001f4e5
mov rax, qword [rbx + 0x18]
lea rcx, [rsp + 0x50]
cmp rcx, rax
je 0x18001f59d
mov qword [rsi + 0x18], rbp
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x18001f4fb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x28], rbp
mov qword [rbx + 0x20], rbp
movzx ecx, word [rsp + 0x50]
test cx, cx
je 0x18001f59d
lea rdx, [rsp + 0x50]
mov rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp word [rdx + rax*2], 0
jne 0x18001f521
lea rdi, [rax*2 + 2]
test rdi, rdi
jg 0x18001f582
cmp rdi, 2
jne 0x18001f54d
mov word [0], cx
add qword [rbx + 0x28], rdi
jmp 0x18001f59d
cmp rdi, 4
jne 0x18001f564
mov eax, dword [rsp + 0x50]
mov dword [0], eax
add qword [rbx + 0x28], rdi
jmp 0x18001f59d
cmp rdi, 8
jne 0x18001f57d
mov rax, qword [rsp + 0x50]
mov qword [0], rax
add qword [rbx + 0x28], rdi
jmp 0x18001f59d
test rdi, rdi
jle 0x18001f59d
mov rdx, rdi
mov rcx, rbx
call fcn.180024440
mov r8, rdi
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.1801c54c0
mov rax, rsi
mov rcx, qword [rsp + 0x5050]
xor rcx, rsp
call fcn.1801c2d20
mov rbx, qword [rsp + 0x5088]
add rsp, 0x5060
pop rdi
pop rsi
pop rbp
ret