Function at 0x140059c90
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x14044f8c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, r8
mov rsi, rdx
test r8, r8
jne 0x140059cd0
xor eax, eax
jmp 0x140059f1f
test rsi, rsi
je 0x140059cc9
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], eax
xor ebp, ebp
mov dword [r8], ebp
lea rbx, [0x140393240]
mov rdi, 0xffffffffffffffff
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp word [rbx + rax*2], bp
jne 0x140059d00
mov r8d, eax
mov rdx, rbx
lea rcx, [r14 + 8]
call fcn.140016ad0
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp word [rbx + rax*2], bp
jne 0x140059d20
mov r8d, eax
mov rdx, rbx
lea rcx, [r14 + 0x10]
call fcn.140016ad0
mov dword [r14 + 0x18], ebp
mov edx, 0x26
mov rcx, rsi
call fcn.1402ee8ec
test rax, rax
je 0x140059df3
mov edx, 0x26
mov rcx, rsi
call fcn.1402ee8ec
sub rax, rsi
sar rax, 1
inc rax
cmp rax, 0x7ffffffe
jbe 0x140059d77
mov word [rsp + 0x30], bp
jmp 0x140059dbe
mov edx, 0xa
lea rcx, [rsp + 0x30]
lea r9, [rax - 0xa]
lea rax, [rsp + 0x30]
mov r8, rsi
sub r8, rax
lea rax, [r9 + rdx]
test rax, rax
je 0x140059db0
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140059db0
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140059d90
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], bp
lea rcx, [rsp + 0x30]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], bp
jne 0x140059dc6
cmp rax, 8
jb 0x140059df3
xor edx, edx
lea r8d, [rdx + 0x10]
lea rcx, [rsp + 0x30]
call fcn.1402f4d40
mov ecx, eax
shr ecx, 0x10
mov word [r14], cx
mov word [r14 + 2], ax
mov edx, 0x26
mov rcx, rsi
call fcn.1402ee8ec
test rax, rax
je 0x140059ebb
mov edx, 0x5f
mov rcx, rsi
call fcn.1402ee8ec
test rax, rax
je 0x140059ebb
mov rax, rdi
inc rax
cmp word [rsi + rax*2], bp
jne 0x140059e22
mov r8d, eax
mov rdx, rsi
lea rcx, [r14 + 8]
call fcn.140016ad0
mov edx, 0x5f
mov rcx, rsi
call fcn.1402ee8ec
mov rbx, rax
mov edx, 0x26
mov rcx, rsi
call fcn.1402ee8ec
sub rbx, rax
sar rbx, 1
mov edx, 0x26
mov rcx, rsi
call fcn.1402ee8ec
sub rax, rsi
sar rax, 1
lea r8d, [rax + 1]
lea r9d, [rbx - 1]
lea rdx, [rsp + 0x20]
lea rcx, [r14 + 8]
call fcn.1400241b0
nop
mov rdx, rax
lea rcx, [r14 + 8]
call fcn.140016d50
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140059eb2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [r14 + 8]
call fcn.140023bf0
mov edx, 0x5f
mov rcx, rsi
call fcn.1402ee8ec
test rax, rax
je 0x140059efc
mov edx, 0x5f
mov rcx, rsi
call fcn.1402ee8ec
add rax, 2
je 0x140059eed
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140059ee0
mov rbp, rdi
mov r8d, ebp
mov rdx, rax
lea rcx, [r14 + 0x10]
call fcn.140016ad0
mov r9, qword [0x1404667c0]
xor r8d, r8d
lea rdx, str.MasterVol
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [r14 + 0x18], eax
mov eax, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1402ecc20
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret