Function at 0x18005bd80
Capabilities:
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
mov eax, 0x5068
call fcn.1802448f0
sub rsp, rax
mov rax, qword [0x180334940]
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 0x18005be39
cmp word [r9], bp
sete al
jmp 0x18005be41
cmp qword [rdx + 0x48], 2
setle al
test eax, eax
jne 0x18005bfec
mov rcx, qword [r11 + 0x18]
mov eax, ebp
test rcx, rcx
je 0x18005be5c
cmp word [rcx], bp
sete al
jmp 0x18005be64
cmp qword [r11 + 0x48], 2
setle al
test eax, eax
jne 0x18005bfec
mov rdx, qword [r10 + 0x18]
mov eax, ebp
test rdx, rdx
je 0x18005be7f
cmp word [rdx], bp
sete al
jmp 0x18005be87
cmp qword [r10 + 0x48], 2
setle al
test eax, eax
jne 0x18005bfec
mov word [rsp + 0x50], bp
test r9, r9
jne 0x18005beaa
cmp qword [r8 + 0x48], r9
lea r9, [0x1802d91d0]
je 0x18005beaa
mov r9, qword [r8 + 0x38]
mov r8, qword [rdi + 0x18]
test r8, r8
jne 0x18005bec4
cmp qword [rdi + 0x48], r8
lea r8, [0x1802d91d0]
je 0x18005bec4
mov r8, qword [rdi + 0x38]
test rdx, rdx
jne 0x18005beda
cmp qword [r10 + 0x48], rdx
lea rdx, [0x1802d91d0]
je 0x18005beda
mov rdx, qword [r10 + 0x38]
test rcx, rcx
jne 0x18005bef0
cmp qword [r11 + 0x48], rcx
lea rcx, [0x1802d91d0]
je 0x18005bef0
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 0x18005bf21
cmp qword [rsi + 0x48], rax
je 0x18005bf2f
cmp qword [rbx + 0x28], rax
je 0x18005bf2f
mov rax, qword [rbx + 0x18]
lea rcx, [rsp + 0x50]
cmp rcx, rax
je 0x18005bfec
mov qword [rsi + 0x18], rbp
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x18005bf45
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 0x18005bfec
lea rdx, [rsp + 0x50]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
lea rax, [rax + 1]
cmp word [rdx + rax*2], 0
jne 0x18005bf70
lea rdi, [rax*2 + 2]
test rdi, rdi
jg 0x18005bfd1
cmp rdi, 2
jne 0x18005bf9c
mov word [0], cx
add qword [rbx + 0x28], rdi
jmp 0x18005bfec
cmp rdi, 4
jne 0x18005bfb3
mov eax, dword [rsp + 0x50]
mov dword [0], eax
add qword [rbx + 0x28], rdi
jmp 0x18005bfec
cmp rdi, 8
jne 0x18005bfcc
mov rax, qword [rsp + 0x50]
mov qword [0], rax
add qword [rbx + 0x28], rdi
jmp 0x18005bfec
test rdi, rdi
jle 0x18005bfec
mov rdx, rdi
mov rcx, rbx
call fcn.1800a42b0
mov r8, rdi
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.180246360
mov rax, rsi
mov rcx, qword [rsp + 0x5050]
xor rcx, rsp
call fcn.1802439b0
add rsp, 0x5068
pop rdi
pop rsi
pop rbp
pop rbx
ret