Function at 0x401000
Capabilities:
Contain obfuscated stackstrings
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push str._nRendering_your_musical_masterpiece__may_take_a_min_..._n
call fcn.004012d2
push 0x20
pop ecx
shl ecx, 0
add eax, ecx
push eax
call fcn.0040175a
pop ecx
pop ecx
call fcn.004012d2
push 0x20
pop ecx
shl ecx, 0
add eax, ecx
push eax
call fcn.00401544
pop ecx
push 0x792f1a0
call section..g4kcody
push str.Writing_wav_file..._n
call fcn.004012d2
push 0x20
pop ecx
shl ecx, 0
add eax, ecx
push eax
call fcn.0040175a
pop ecx
pop ecx
call fcn.004012d2
push 0x20
pop ecx
shl ecx, 0
add eax, ecx
push eax
call fcn.00401544
pop ecx
mov byte [ebp - 0x3c], 0x52
mov byte [ebp - 0x3b], 0x49
mov byte [ebp - 0x3a], 0x46
mov byte [ebp - 0x39], 0x46
mov byte [ebp - 0x38], 0
mov byte [ebp - 0x37], 0
mov byte [ebp - 0x36], 0
mov byte [ebp - 0x35], 0
mov byte [ebp - 0x34], 0x57
mov byte [ebp - 0x33], 0x41
mov byte [ebp - 0x32], 0x56
mov byte [ebp - 0x31], 0x45
mov byte [ebp - 0x30], 0x66
mov byte [ebp - 0x2f], 0x6d
mov byte [ebp - 0x2e], 0x74
mov byte [ebp - 0x2d], 0x20
mov byte [ebp - 0x2c], 0x10
mov byte [ebp - 0x2b], 0
mov byte [ebp - 0x2a], 0
mov byte [ebp - 0x29], 0
mov byte [ebp - 0x28], 1
mov byte [ebp - 0x27], 0
mov byte [ebp - 0x26], 2
mov byte [ebp - 0x25], 0
mov byte [ebp - 0x24], 0x44
mov byte [ebp - 0x23], 0xac
mov byte [ebp - 0x22], 0
mov byte [ebp - 0x21], 0
mov byte [ebp - 0x20], 0x10
mov byte [ebp - 0x1f], 0xb1
mov byte [ebp - 0x1e], 2
mov byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 4
mov byte [ebp - 0x1b], 0
mov byte [ebp - 0x1a], 0x10
mov byte [ebp - 0x19], 0
mov byte [ebp - 0x18], 0x64
mov byte [ebp - 0x17], 0x61
mov byte [ebp - 0x16], 0x74
mov byte [ebp - 0x15], 0x61
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x13], 0
mov byte [ebp - 0x12], 0
mov byte [ebp - 0x11], 0
xor eax, eax
inc eax
shl eax, 2
mov dword [ebp + eax - 0x3c], 0x17c41a4
xor eax, eax
inc eax
imul eax, eax, 0x28
mov dword [ebp + eax - 0x3c], 0x17c4180
push 0x792984c
push str.music.wav
call fcn.00401745
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x401174
push str.Couldnt_open_the_wav_for_writing_:__n
call fcn.004012d2
push 0x20
pop ecx
shl ecx, 0
add eax, ecx
push eax
call fcn.0040175a
pop ecx
pop ecx
xor eax, eax
inc eax
jmp 0x401234
push dword [ebp - 0x10]
push 0x2c
push 1
lea eax, [ebp - 0x3c]
push eax
call fcn.004019c5
add esp, 0x10
and dword [ebp - 0xc], 0
jmp 0x401194
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xbe20c0
jge 0x4011f5
mov eax, dword [ebp - 0xc]
movss xmm0, dword [eax*4 + 0x792f1a0]
mulss xmm0, dword [0x79298d0]
cvttss2si eax, xmm0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x7fff
jle 0x4011c8
mov dword [ebp - 8], 0x7fff
cmp dword [ebp - 8], 0xffff8001
jge 0x4011d8
mov dword [ebp - 8], 0xffff8001
mov ax, word [ebp - 8]
mov word [ebp - 4], ax
push dword [ebp - 0x10]
push 1
push 2
lea eax, [ebp - 4]
push eax
call fcn.004019c5
add esp, 0x10
jmp 0x40118d
push dword [ebp - 0x10]
call fcn.0040141a
pop ecx
push str._Envelope_rendering_disabled_in_Options__n
call fcn.004012d2
push 0x20
pop ecx
shl ecx, 0
add eax, ecx
push eax
call fcn.0040175a
pop ecx
pop ecx
push str.4klang_render_complete_chief__n
call fcn.004012d2
push 0x20
pop ecx
shl ecx, 0
add eax, ecx
push eax
call fcn.0040175a
pop ecx
pop ecx
xor eax, eax
mov esp, ebp
pop ebp
ret