Function at 0x18001dce0
Capabilities:
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
mov eax, 0x5068
call fcn.1801c2670
sub rsp, rax
mov rax, qword [0x18028b940]
xor rax, rsp
mov qword [rsp + 0x5050], rax
mov r10, r9
mov r11, r8
mov r8, rdx
mov rsi, rcx
mov qword [rsp + 0x38], rcx
mov rdi, qword [rsp + 0x50b0]
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 r9, qword [rdx + 0x18]
mov eax, ebp
test r9, r9
je 0x18001dd99
cmp word [r9], bp
sete al
jmp 0x18001dda1
cmp qword [rdx + 0x48], 2
setle al
test eax, eax
jne 0x18001df4c
mov rcx, qword [r11 + 0x18]
mov eax, ebp
test rcx, rcx
je 0x18001ddbc
cmp word [rcx], bp
sete al
jmp 0x18001ddc4
cmp qword [r11 + 0x48], 2
setle al
test eax, eax
jne 0x18001df4c
mov rdx, qword [r10 + 0x18]
mov eax, ebp
test rdx, rdx
je 0x18001dddf
cmp word [rdx], bp
sete al
jmp 0x18001dde7
cmp qword [r10 + 0x48], 2
setle al
test eax, eax
jne 0x18001df4c
mov word [rsp + 0x50], bp
test r9, r9
jne 0x18001de0a
cmp qword [r8 + 0x48], r9
lea r9, [0x18024d0f0]
je 0x18001de0a
mov r9, qword [r8 + 0x38]
mov r8, qword [rdi + 0x18]
test r8, r8
jne 0x18001de24
cmp qword [rdi + 0x48], r8
lea r8, [0x18024d0f0]
je 0x18001de24
mov r8, qword [rdi + 0x38]
test rdx, rdx
jne 0x18001de3a
cmp qword [r10 + 0x48], rdx
lea rdx, [0x18024d0f0]
je 0x18001de3a
mov rdx, qword [r10 + 0x38]
test rcx, rcx
jne 0x18001de50
cmp qword [r11 + 0x48], rcx
lea rcx, [0x18024d0f0]
je 0x18001de50
mov rcx, qword [r11 + 0x38]
mov qword [rsp + 0x28], r9
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 0x18001de81
cmp qword [rsi + 0x48], rax
je 0x18001de8f
cmp qword [rbx + 0x28], rax
je 0x18001de8f
mov rax, qword [rbx + 0x18]
lea rcx, [rsp + 0x50]
cmp rcx, rax
je 0x18001df4c
mov qword [rsi + 0x18], rbp
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x18001dea5
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 0x18001df4c
lea rdx, [rsp + 0x50]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
lea rax, [rax + 1]
cmp word [rdx + rax*2], 0
jne 0x18001ded0
lea rdi, [rax*2 + 2]
test rdi, rdi
jg 0x18001df31
cmp rdi, 2
jne 0x18001defc
mov word [0], cx
add qword [rbx + 0x28], rdi
jmp 0x18001df4c
cmp rdi, 4
jne 0x18001df13
mov eax, dword [rsp + 0x50]
mov dword [0], eax
add qword [rbx + 0x28], rdi
jmp 0x18001df4c
cmp rdi, 8
jne 0x18001df2c
mov rax, qword [rsp + 0x50]
mov qword [0], rax
add qword [rbx + 0x28], rdi
jmp 0x18001df4c
test rdi, rdi
jle 0x18001df4c
mov rdx, rdi
mov rcx, rbx
call fcn.180022e50
mov r8, rdi
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.1801c40e0
mov rax, rsi
mov rcx, qword [rsp + 0x5050]
xor rcx, rsp
call fcn.1801c1730
add rsp, 0x5068
pop rdi
pop rsi
pop rbp
pop rbx
ret