Function at 0x4820e3
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 [0x51f5d0]
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.0045fb6e
test eax, eax
je 0x482117
xor eax, eax
jmp 0x482380
xor ebx, ebx
cmp dword [0x61ea38], ebx
mov esi, str..Sound.c
jne 0x4822db
cmp dword [0x61eb4c], ebx
jne 0x4822db
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.004c05d0
add esp, 0xc
lea edi, [esp + 0x50]
mov dword [0x61eb4c], 1
call fcn.0041c268
test eax, eax
jne 0x48227d
mov eax, edi
push str.TempDummySound.wav
push eax
call fcn.004bf9a0
pop ecx
pop ecx
push 0x52
push esi
mov edx, 0x4de3b8
lea ecx, [esp + 0x58]
call fcn.0041c35a
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
je 0x4822ae
push edi
push 0x3a
lea eax, [esp + 0x1c]
push 1
push eax
call fcn.004bf5f0
push edi
call fcn.0041c787
add esp, 0x14
lea eax, [esp + 0x50]
push eax
call fcn.004820e3
test eax, eax
pop ecx
jne 0x4822d5
lea eax, [esp + 0x50]
push str.SoundsNotifyWinIllegalKey.wav
push eax
call fcn.0045f646
push eax
call fcn.004820e3
add esp, 0xc
mov dword [0x61eb4c], ebx
push 1
push 0x724
call fcn.004bf452
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
je 0x482110
cmp dword [0x61ea38], ebx
jne 0x482305
call fcn.0046e649
mov dword [0x61ea38], eax
mov ebx, dword [0x61ea38]
push edi
call fcn.0046e6fb
cmp dword [0x61ea38], 0
pop ecx
jne 0x482327
push edi
call fcn.004bf2a6
pop ecx
jmp 0x482110
lea ebx, [edi + 0x564]
push esi
push ebx
call fcn.0041cee3
pop ecx
pop ecx
mov esi, str.A_Sound_handle_had_to_be_forced_to_unlock___
mov eax, ebx
call fcn.0041d0de
mov eax, 0xdac
mov ecx, ebx
call fcn.0041d107
mov eax, edi
call fcn.004842b6
mov edx, dword [esp + 0x10]
call fcn.00485754
test eax, eax
jne 0x48237e
push dword [esp + 0x10]
mov ecx, edi
call fcn.004828f4
test eax, eax
pop ecx
jne 0x48237e
mov eax, edi
call fcn.004823b1
jmp 0x482110
mov eax, edi
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004bfeb5
mov esp, ebp
pop ebp
ret