Function at 0x76b2690f
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x330
mov eax, dword [0x76b30340]
mov ecx, dword [ebp + 0x10]
and dword [ebp - 0x30c], 0
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x76b1d7b0
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x318], ecx
mov esi, 0xff
push esi
lea ecx, [ebp - 0x204]
push ecx
mov dword [ebp - 0x310], eax
mov dword [ebp - 0x330], eax
mov eax, dword [eax + 8]
mov ebx, 0x76b30638
push ebx
push eax
push 0x76b16a40
mov dword [ebp - 0x314], eax
call edi
test eax, eax
jne 0x76b26a76
push dword [ebp - 0x314]
call dword [sym.imp.ntdll.dll_wcslen]
mov dword [ebp - 0x308], eax
pop ecx
lea eax, [eax + eax + 4]
push eax
call fcn.76b2b29d
test eax, eax
mov dword [ebp - 0x30c], eax
je 0x76b26a42
push dword [ebp - 0x314]
push eax
call dword [sym.imp.ntdll.dll_wcscpy]
mov eax, dword [ebp - 0x308]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x30c]
lea eax, [ecx + eax*2]
and word [eax + 2], 0
mov dword [ebp - 0x32c], eax
mov dword [ebp - 0x308], 1
jmp 0x76b269e1
mov eax, dword [ebp - 0x32c]
mov ecx, dword [ebp - 0x308]
push 0x76b1d7b0
add ecx, 0x30
push esi
mov word [eax], cx
lea eax, [ebp - 0x204]
push eax
push ebx
push dword [ebp - 0x30c]
push 0x76b16a40
call edi
test eax, eax
jne 0x76b26a6a
inc dword [ebp - 0x308]
cmp dword [ebp - 0x308], 9
jle 0x76b269db
push dword [ebp - 0x30c]
push eax
push dword [0x76b300c8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0xa0
call fcn.76b2b29d
test eax, eax
mov dword [ebp - 0x30c], eax
jne 0x76b26a4c
mov eax, 0x108
jmp 0x76b26ce4
push esi
lea ecx, [ebp - 0x204]
push ecx
push eax
push dword [ebp - 0x314]
call fcn.76b25f24
mov esi, eax
test esi, esi
jne 0x76b26cc5
mov eax, dword [ebp - 0x30c]
mov dword [ebp - 0x314], eax
cmp word [ebp - 0x204], 0x20
lea eax, [ebp - 0x204]
je 0x76b26a9a
cmp word [eax], 0
je 0x76b26a94
inc eax
inc eax
cmp word [eax], 0x20
jne 0x76b26a86
cmp word [eax], 0x20
jne 0x76b26aa0
and word [eax], 0
inc eax
inc eax
push 0x80
lea ecx, [ebp - 0x304]
push ecx
push eax
push dword [ebp - 0x314]
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_GetProfileStringW]
test byte [ebp + 9], 0xa
mov esi, dword [ebp - 0x310]
je 0x76b26ad1
mov eax, dword [esi + 0xc]
jmp 0x76b26ada
mov eax, dword [ebp - 0x310]
mov eax, dword [eax + 8]
test byte [ebp + 9], 4
je 0x76b26b08
cmp dword [ebp + 0x14], 0
jne 0x76b26b05
mov eax, dword [ebp - 0x318]
push dword [eax + 8]
push dword [esi + 0x10]
call fcn.76b258be
test eax, eax
je 0x76b26b05
mov esi, 0x121
jmp 0x76b26cc5
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x308]
push ecx
push eax
push dword [ebp + 8]
call fcn.76b25eb0
mov edi, eax
test edi, edi
je 0x76b26b87
mov eax, dword [ebp - 0x318]
mov eax, dword [eax + 8]
test eax, eax
mov esi, dword [ebp - 0x308]
jne 0x76b26b37
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0x34], eax
cmp eax, dword [esi + 0x30]
je 0x76b26b43
or byte [esi + 0x3e], 2
or dword [ebp - 0x320], 0xffffffff
and dword [ebp - 0x31c], 0
lea eax, [ebp - 0x304]
mov dword [ebp - 0x324], eax
lea eax, [ebp - 0x328]
push eax
push 0x76b16a40
lea eax, [ebp - 0x204]
push eax
mov dword [ebp - 0x328], edi
call sym.WINMM.dll_OpenDriver
mov ebx, eax
test ebx, ebx
jne 0x76b26b91
push esi
call fcn.76b2636f
mov esi, 0x10a
jmp 0x76b26cc5
mov eax, dword [ebp - 0x310]
push ebx
mov dword [eax + 4], edi
call sym.WINMM.dll_DrvGetModuleHandle
mov dword [esi + 0x38], ebx
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x320]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x31c]
mov dword [esi + 0x20], eax
push dword [ebp - 0x31c]
call fcn.76b24da4
cmp eax, 0xffffffff
mov dword [esi + 0x24], eax
jne 0x76b26be8
push dword [ebp - 0x31c]
mov eax, dword [ebp - 0x310]
push dword [eax + 8]
push dword [0x76b300c0]
call sym.WINMM.dll_mciLoadCommandResource
mov dword [esi + 0x24], eax
push dword [ebp - 0x314]
call dword [sym.imp.ntdll.dll_wcslen]
pop ecx
lea eax, [eax + eax + 2]
push eax
call fcn.76b2b29d
xor ebx, ebx
cmp eax, ebx
mov dword [esi + 4], eax
jne 0x76b26c1b
push ebx
push ebx
push ebx
push edi
call fcn.76b264bf
mov esi, 0x108
jmp 0x76b26cc5
push dword [ebp - 0x314]
push eax
call dword [sym.imp.ntdll.dll_wcscpy]
mov eax, dword [ebp - 0x318]
cmp dword [eax], ebx
pop ecx
pop ecx
je 0x76b26c5d
push edi
lea ecx, [ebp - 0x310]
push ecx
lea ecx, [ebp + 8]
push ecx
push dword [esi + 0x24]
push dword [esi + 0x28]
push eax
call fcn.76b267f6
mov esi, eax
cmp esi, ebx
je 0x76b26c76
push ebx
push ebx
push ebx
push edi
call fcn.76b264bf
jmp 0x76b26cc5
cmp dword [eax + 0xc], ebx
je 0x76b26c76
push ebx
push ebx
push ebx
push edi
call fcn.76b264bf
mov eax, dword [ebp - 0x318]
mov esi, dword [eax + 0xc]
jmp 0x76b26cc5
push dword [ebp - 0x310]
push dword [ebp + 8]
push 0x801
push edi
call sym.WINMM.dll_mciSendCommandW
movzx esi, ax
cmp esi, ebx
push ebx
je 0x76b26c9c
push ebx
push ebx
push edi
call fcn.76b264bf
jmp 0x76b26ca4
push 3
push edi
call fcn.76b26783
mov eax, dword [ebp - 0x310]
cmp dword [ebp - 0x330], eax
je 0x76b26cc5
test eax, eax
je 0x76b26cc5
push eax
push 0
push dword [0x76b300c8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0x30c], 0
je 0x76b26ce2
push dword [ebp - 0x30c]
push 0
push dword [0x76b300c8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.76b128c0
leave
ret 0x10