Function at 0x4bef3e
Capabilities:
Contain obfuscated stackstrings
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x154
mov eax, dword [0x5c4e68]
xor eax, esp
mov dword [esp + 0x150], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [esp + 0x10], eax
call fcn.0048a508
test eax, eax
je 0x4bef72
xor eax, eax
jmp 0x4bf1fe
xor ebx, ebx
cmp dword [0x6d6b68], ebx
mov esi, str..Sound.c
jne 0x4bf14c
cmp dword [0x6d6c7c], ebx
jne 0x4bf14c
push 0x103
lea eax, [esp + 0x55]
push ebx
push eax
mov byte [esp + 0x20], 0x52
mov byte [esp + 0x21], 0x49
mov byte [esp + 0x22], 0x46
mov byte [esp + 0x23], 0x46
mov byte [esp + 0x24], 0x32
mov byte [esp + 0x25], bl
mov byte [esp + 0x26], bl
mov byte [esp + 0x27], bl
mov byte [esp + 0x28], 0x57
mov byte [esp + 0x29], 0x41
mov byte [esp + 0x2a], 0x56
mov byte [esp + 0x2b], 0x45
mov byte [esp + 0x2c], 0x66
mov byte [esp + 0x2d], 0x6d
mov byte [esp + 0x2e], 0x74
mov byte [esp + 0x2f], 0x20
mov byte [esp + 0x30], 0x10
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], bl
mov byte [esp + 0x33], bl
mov byte [esp + 0x34], 1
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], 1
mov byte [esp + 0x37], bl
mov byte [esp + 0x38], 0x22
mov byte [esp + 0x39], 0x56
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], 0x44
mov byte [esp + 0x3d], 0xac
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3f], bl
mov byte [esp + 0x40], 2
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], 0x10
mov byte [esp + 0x43], bl
mov byte [esp + 0x44], 0x64
mov byte [esp + 0x45], 0x61
mov byte [esp + 0x46], 0x74
mov byte [esp + 0x47], 0x61
mov byte [esp + 0x48], 0xe
mov byte [esp + 0x49], bl
mov byte [esp + 0x4a], bl
mov byte [esp + 0x4b], bl
mov byte [esp + 0x4c], 1
mov byte [esp + 0x4d], 0xfe
mov byte [esp + 0x4e], bl
mov byte [esp + 0x4f], 0xfe
mov byte [esp + 0x50], bl
mov byte [esp + 0x51], 0xff
mov byte [esp + 0x52], bl
mov byte [esp + 0x53], bl
mov byte [esp + 0x54], 0xff
mov byte [esp + 0x55], 0xff
mov byte [esp + 0x56], bl
mov byte [esp + 0x57], bl
mov byte [esp + 0x58], 1
mov byte [esp + 0x59], bl
mov byte [esp + 0x5c], bl
call fcn.005117f0
add esp, 0xc
lea edi, [esp + 0x50]
mov dword [0x6d6c7c], 1
call fcn.0042d1ae
test eax, eax
jne 0x4bf0d8
mov eax, edi
push str.TempDummySound.wav
push eax
call fcn.005123e0
pop ecx
pop ecx
push 0x52
push esi
mov edx, 0x530484
lea ecx, [esp + 0x58]
call fcn.0042d2c6
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
je 0x4bf10a
push edi
push 0x3a
lea eax, [esp + 0x1c]
push 1
push eax
call fcn.005110f1
add esp, 0x10
mov ecx, edi
call fcn.0042d70e
lea eax, [esp + 0x50]
push eax
call fcn.004bef3e
cmp eax, ebx
pop ecx
jne 0x4bf146
lea eax, [esp + 0x50]
push str.SoundsNotifyWinIllegalKey.wav
push eax
call fcn.00489f49
push eax
call fcn.004bef3e
add esp, 0xc
cmp eax, ebx
jne 0x4bf146
lea eax, [esp + 0x50]
push eax
push str.:7:CreateSound___FAILED_to_create_the_dummy_protection_sound___s_.
call fcn.004265da
pop ecx
pop ecx
mov dword [0x6d6c7c], ebx
push 1
push 0x724
call fcn.00511988
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
je 0x4bef6b
cmp dword [0x6d6b68], ebx
jne 0x4bf176
call fcn.004a8f27
mov dword [0x6d6b68], eax
mov eax, dword [0x6d6b68]
push edi
call fcn.004a9020
cmp dword [0x6d6b68], ebx
pop ecx
jne 0x4bf196
push edi
call fcn.00511758
pop ecx
jmp 0x4bef6b
lea ebx, [edi + 0x564]
push esi
push ebx
call fcn.0043266e
test eax, eax
pop ecx
pop ecx
jne 0x4bf1b4
push str.:5:CreateSound___EAP:_InitializeLock___FAILED.
call fcn.004265da
pop ecx
mov esi, str.A_Sound_handle_had_to_be_forced_to_unlock___
mov eax, ebx
call fcn.0043296d
mov eax, 0xdac
mov ecx, ebx
call fcn.004329aa
mov eax, edi
call fcn.004c1725
mov edx, dword [esp + 0x10]
call fcn.004c3b34
test eax, eax
jne 0x4bf1fc
push dword [esp + 0x10]
mov ecx, edi
call fcn.004bf8db
test eax, eax
pop ecx
jne 0x4bf1fc
mov eax, edi
call fcn.004bf22f
jmp 0x4bef6b
mov eax, edi
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0051291c
mov esp, ebp
pop ebp
ret