Function at 0x4a8990
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x5601cc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x28]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x40], eax
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x38], edi
test ebx, ebx
je 0x4a8c85
test edi, edi
je 0x4a8c85
test eax, eax
je 0x4a8c85
cmp dword [ebp + 0x1c], 0x10
jne 0x4a8c85
push esi
push 0x80
push 1
push ebx
call fcn.0043da90
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4a8c24
push edi
lea eax, [ebp - 0x50]
push eax
push ebx
call fcn.0043e150
push dword [ebp + 0x18]
lea eax, [ebp - 0x50]
push 0x10
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x50415757
push eax
push esi
call fcn.0043ee70
mov eax, dword [ebp + 0x20]
add esp, 0x28
mov dword [esi + 0x48], 0x4a8620
mov dword [esi + 0x44], 0x4a8800
mov dword [esi + 0x4c], 0x4a8630
cmp eax, 1
jne 0x4a8a3c
mov dword [esi + 0x50], 6
jmp 0x4a8a5b
cmp eax, 2
jne 0x4a8a4f
mov dword [esi + 0x50], 7
mov eax, 1
jmp 0x4a8a5b
mov dword [esi + 0x50], 1
mov eax, 2
lea edi, [esi + 0x68]
mov word [esi + 0x54], ax
push edi
push 0x1102
push dword [ebp - 0x38]
push ebx
call fcn.0049c1b0
add esp, 0x10
test eax, eax
jne 0x4a8bb2
mov edx, dword [ebp + 0x14]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], eax
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x30], 0x46464952
mov dword [ebp - 0x28], 0x45564157
mov dword [ebp - 0x24], 0x20746d66
mov dword [ebp - 0x20], 0x10
movzx eax, word [esi + 0x50]
mov word [ebp - 0x1c], ax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
movzx ecx, dx
mov word [ebp - 0x1a], cx
movzx eax, word [esi + 0x54]
imul eax, dword [ebp + 0x10]
imul eax, edx
mov dword [ebp - 0x14], eax
mov eax, ecx
movzx ecx, word [esi + 0x54]
imul ecx, eax
mov word [ebp - 0x10], cx
movzx eax, word [esi + 0x54]
shl ax, 3
mov word [ebp - 0xe], ax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0xc], 0x61746164
mov dword [ebp - 8], 0
call fcn.0043cfd0
add esp, 4
lea eax, [ebp - 0x34]
cmp dword [esi + 0x50], 1
push eax
lea eax, [ebp - 0x30]
push eax
je 0x4a8bc3
mov dword [ebp - 0x34], 0x24
push dword [edi]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x48], 0x74636166
mov dword [ebp - 0x44], 4
call fcn.0049c3e0
add esp, 0xc
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x4a8ba5
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 8
push eax
lea eax, [ebp - 0x48]
push eax
push dword [edi]
call fcn.0049c3e0
add esp, 0xc
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x4a8ba5
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 4
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [edi]
call fcn.0049c3e0
add esp, 0xc
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x4a8ba5
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 8
push eax
lea eax, [ebp - 0xc]
push eax
push dword [edi]
call fcn.0049c3e0
add esp, 0xc
mov dword [ebp - 0x38], eax
test eax, eax
je 0x4a8bf9
push dword [edi]
call fcn.0049c0f0
mov eax, dword [ebp - 0x38]
add esp, 4
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c187
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x34], 0x2c
push dword [edi]
call fcn.0049c3e0
add esp, 0xc
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x4a8bf9
push dword [edi]
call fcn.0049c0f0
mov eax, dword [ebp - 0x3c]
add esp, 4
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c187
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x24], 1
mov ecx, 0xfa0
cmovge ecx, dword [ebp + 0x24]
push ecx
push ebx
mov dword [esi + 0x58], ecx
call fcn.0043d920
add esp, 8
mov dword [esi + 0x5c], eax
test eax, eax
jne 0x4a8c3a
push dword [edi]
call fcn.0049c0f0
add esp, 4
pop esi
pop edi
mov eax, 0x11177
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c187
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x60], eax
mov eax, dword [ebp - 0x40]
mov dword [eax], esi
call fcn.004468c0
cmp eax, 4
jl 0x4a8c72
mov eax, 0x10624dd3
mul dword [esi + 0x58]
shr edx, 6
push edx
push dword [esi + 0x1c]
push dword [esi]
push dword [esi + 4]
push str.File_writer__.s_created:_samp.rate_d__bufsize_uKB
push str.wav_writer.c
call fcn.00446800
add esp, 0x18
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c187
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x11174
pop edi
xor ecx, ebp
pop ebx
call fcn.0043c187
mov esp, ebp
pop ebp
ret