Function at 0x140007830
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov r14, rdx
mov rbp, rcx
lea rdi, [0x14012f498]
mov ecx, dword [0x14012f4a0]
xor esi, esi
test ecx, ecx
je 0x1400078a4
mov r9, rdi
lea ebx, [rsi + 2]
mov r8d, ebx
mov edx, 0x808
call qword [sym.imp.WINMM.dll_mciSendCommandW]
mov r9, rdi
mov r8d, ebx
mov edx, 0x804
mov ecx, dword [0x14012f4a0]
call qword [sym.imp.WINMM.dll_mciSendCommandW]
mov ebx, eax
mov dword [0x14012f4a0], esi
xor edx, edx
lea r8d, [rsi + 0x10]
mov rcx, rdi
call fcn.1400b15e0
test ebx, ebx
jne 0x140007aab
mov r8d, 5
lea rdx, [rsp + 0x90]
mov rcx, r14
call fcn.140003c04
nop
mov rcx, rax
call fcn.140008bfc
lea rdx, str..OPUS
mov rcx, qword [rax]
call fcn.1400b7028
mov ebx, eax
mov rdx, qword [rsp + 0x90]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400078f6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test ebx, ebx
jne 0x14000798f
call fcn.140077d4c
mov rcx, rax
test rax, rax
je 0x140007ac2
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x90], rax
lea rdi, [rbp + 0xc690]
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
mov r9, qword [r14]
mov r8, qword [rbp + 0xc030]
lea rdx, str.__s____s____s_
lea rcx, [rsp + 0x90]
call fcn.140002f84
lea edx, [rbx + 1]
mov rbx, qword [rsp + 0x90]
mov rcx, rbx
call fcn.140008b20
mov rdx, rdi
mov rcx, rbp
call fcn.140007830
mov edi, eax
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140007988
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, edi
jmp 0x140007aad
lea rdx, [0x1400e02c0]
mov rcx, qword [r14]
call fcn.1400b7028
mov r9, rdi
test eax, eax
jne 0x1400079cb
xor r8d, r8d
mov edx, 0x804
mov ecx, dword [0x14012f4a0]
call qword [sym.imp.WINMM.dll_mciSendCommandW]
test eax, eax
jne 0x140007aab
mov eax, 1
jmp 0x140007aad
lea rax, str.MPEGVideo
mov qword [0x14012f4a4], rax
mov rax, qword [r14]
mov qword [0x14012f4ac], rax
mov edx, 0x803
xor ecx, ecx
mov r8d, 0x2200
call qword [sym.imp.WINMM.dll_mciSendCommandW]
test eax, eax
jne 0x140007aab
mov r9, qword [rbp + 0x168]
lea ebx, [rax + 0x50]
mov r8d, ebx
lea rdx, str.AlertSoundVolume
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 0x64
cmova eax, ebx
mov qword [rsp + 0x30], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x38], 0x4002
lea eax, [rax + rax*4]
add eax, eax
mov dword [rsp + 0x3c], eax
lea r9, [rsp + 0x30]
mov edx, 0x873
mov r8d, 0x1800000
mov ecx, dword [0x14012f4a0]
call qword [sym.imp.WINMM.dll_mciSendCommandW]
lea r9, [0x14012f4d0]
mov edx, 0x807
mov r8d, 0x100
mov ecx, dword [0x14012f4a0]
call qword [sym.imp.WINMM.dll_mciSendCommandW]
test eax, eax
jne 0x140007aab
lea r9, [0x14012f4c0]
xor r8d, r8d
mov edx, 0x806
mov ecx, dword [0x14012f4a0]
call qword [sym.imp.WINMM.dll_mciSendCommandW]
test eax, eax
sete sil
mov eax, esi
jmp 0x140007aad
xor eax, eax
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.140001860
int3