Function at 0x140059860
Capabilities:
Read .ini file

Disassembly:
test rdx, rdx
je 0x140059c00
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov qword [rbp - 0x39], 0xfffffffffffffffe
mov qword [rsp + 0xd0], rbx
mov rbx, rdx
mov r15, rcx
call fcn.140162c14
mov rcx, rax
test rax, rax
je 0x140059c0c
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0xf], rax
call fcn.140162c14
mov rcx, rax
test rax, rax
je 0x140059c01
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x17], rax
xor esi, esi
mov dword [rbp + 7], esi
lea r14, [0x140393240]
mov rdi, 0xffffffffffffffff
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [r14 + rax*2], si
jne 0x1400598f0
mov r8d, eax
mov rdx, r14
lea rcx, [rbp + 0xf]
call fcn.140016ad0
mov rax, rdi
nop dword [rax]
inc rax
cmp word [r14 + rax*2], si
jne 0x140059910
mov r8d, eax
mov rdx, r14
lea rcx, [rbp + 0x17]
call fcn.140016ad0
mov dword [rbp + 0x1f], esi
mov qword [rbp - 0x41], rsi
lea r8, [rbp + 7]
mov rdx, rbx
call fcn.140059c90
test eax, eax
je 0x140059bae
movzx eax, word [rbp + 9]
movzx ecx, word [rbp + 7]
test cx, cx
jne 0x140059956
test ax, ax
je 0x140059974
mov rdx, qword [r15 + 8]
cmp cx, word [rdx + 0x412]
jne 0x140059bae
cmp ax, word [rdx + 0x410]
jne 0x140059bae
cmp dword [r15 + 0x10], 0
jle 0x1400599a3
xor r9d, r9d
mov r8, qword [rbp + 0xf]
lea rdx, str.DefLevel
lea rcx, [0x14046a640]
call fcn.140169d48
test eax, eax
jle 0x1400599a3
cmp eax, dword [r15 + 0x10]
jle 0x140059bae
lea r8, [rbp - 0x41]
lea rdx, [rbp + 7]
mov rcx, r15
call fcn.140059f50
test eax, eax
je 0x140059bae
mov r9, qword [0x1404667c0]
mov r8d, edi
lea rdx, str.Volume
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r12d, eax
mov r9, qword [0x1404667c0]
mov r8d, 0xffffd8f0
lea rdx, str.VolumeDB
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r14d, eax
mov dword [rbp + 0x77], eax
mov r9, qword [0x1404667c0]
mov r8d, edi
lea rdx, str.Mute
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r13d, eax
mov r9, qword [0x1404667c0]
mov r8d, edi
lea rdx, str.Boost
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rbp + 0x7f], eax
mov r9, qword [0x1404667c0]
mov r8d, edi
lea rdx, str.BoostVol
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rbp - 0x49], eax
mov rbx, qword [rbp - 0x41]
cmp r12d, 0xffffffff
je 0x140059ad9
cmp dword [rbx + 0x3c], 0
je 0x140059ad9
mov dword [rbp + 0x6f], esi
mov r8, qword [rbx]
lea rdx, [rbp + 0x6f]
mov rcx, rbx
call qword [r8 + 0x40]
test eax, eax
je 0x140059ad9
mov ecx, dword [rbp + 0x6f]
mov eax, 4
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.140153a84
mov r14, rax
test rax, rax
je 0x140059bae
mov edx, esi
mov r8d, dword [rbp + 0x6f]
test r8d, r8d
je 0x140059ac1
nop word [rax + rax]
mov ecx, edx
mov dword [rax + rcx*4], r12d
inc edx
mov r8d, dword [rbp + 0x6f]
cmp edx, r8d
jb 0x140059ab0
mov rax, qword [rbx]
mov rdx, r14
mov rcx, rbx
call qword [rax + 0x58]
mov rcx, r14
call fcn.140153a7c
mov r14d, dword [rbp + 0x77]
cmp r14d, 0xffffd8f0
je 0x140059b10
cmp dword [rbx + 0x3c], 0
je 0x140059b10
movd xmm1, r14d
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x1403d2a98]
movups xmm0, xmmword [0x1403920e0]
movaps xmmword [rbp - 0x29], xmm0
mov rax, qword [rbx]
lea r8, [rbp - 0x29]
mov rcx, rbx
call qword [rax + 0x60]
cmp r13d, 0xffffffff
je 0x140059b2e
cmp dword [rbx + 0x34], 0
je 0x140059b2e
mov rax, qword [rbx]
mov edx, esi
cmp r13d, 1
sete dl
mov rcx, rbx
call qword [rax + 0x38]
mov eax, dword [rbp + 0x7f]
cmp eax, 0xffffffff
je 0x140059b5c
cmp dword [rbx + 0x44], 0
je 0x140059b5c
movups xmm0, xmmword [0x140392178]
movaps xmmword [rbp - 0x19], xmm0
cmp eax, 1
sete sil
lea r8, [rbp - 0x19]
mov edx, esi
mov rcx, rbx
call fcn.1400efd50
mov eax, dword [rbp - 0x49]
cmp eax, 0xffffffff
je 0x140059b88
cmp dword [rbx + 0x4c], 0
je 0x140059b88
movups xmm0, xmmword [0x140392178]
movaps xmmword [rbp - 9], xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
lea r8, [rbp - 9]
mov rcx, rbx
call fcn.1400f0110
mov r9d, dword [r15 + 0x10]
inc r9d
mov r8, qword [rbp + 0xf]
lea rdx, str.DefLevel
lea rcx, [0x14046a640]
call fcn.14016a2dc
mov dword [r15 + 0x18], 1
mov rdx, qword [rbp + 0x17]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140059bcb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbp + 0xf]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140059be6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140012800
nop
mov ecx, 0x80004005
call fcn.140012800
int3