Function at 0x4a46d0
Capabilities:
Contain obfuscated stackstrings
Get memory capacity
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x57c870]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x140], 0
mov dword [ebp - 8], 0x3e80
mov dword [ebp - 4], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x13c], 0
mov al, byte [0x5fcfef]
mov byte [ebp - 0x138], al
push 0xfe
push 0
lea ecx, [ebp - 0x137]
push ecx
call fcn.005323e0
add esp, 0xc
mov byte [ebp - 0x38], 0x52
mov byte [ebp - 0x37], 0x49
mov byte [ebp - 0x36], 0x46
mov byte [ebp - 0x35], 0x46
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x30], 0x57
mov byte [ebp - 0x2f], 0x41
mov byte [ebp - 0x2e], 0x56
mov byte [ebp - 0x2d], 0x45
mov byte [ebp - 0x2c], 0x66
mov byte [ebp - 0x2b], 0x6d
mov byte [ebp - 0x2a], 0x74
mov byte [ebp - 0x29], 0x20
mov dword [ebp - 0x28], 0x10
mov edx, 1
mov word [ebp - 0x24], dx
mov eax, 1
mov word [ebp - 0x22], ax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov ecx, 2
mov word [ebp - 0x18], cx
mov edx, 0x10
mov word [ebp - 0x16], dx
mov byte [ebp - 0x14], 0x64
mov byte [ebp - 0x13], 0x61
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x11], 0x61
mov dword [ebp - 0x10], 0
push str.BabelSaveWav_IN
push 4
call fcn.00436500
add esp, 8
mov eax, dword [0x5fcdac]
add eax, 1
mov dword [0x5fcdac], eax
cmp dword [0x5fcdac], 1
jne 0x4a4a64
push str.BabelSaveWav_2
push 4
call fcn.00436500
add esp, 8
lea ecx, [ebp - 0x164]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [0x5fcd94]
push edx
push str.BabelSaveWav:EarGetSamplesCount__ld
lea eax, [ebp - 0x268]
push eax
call fcn.00532706
add esp, 0xc
lea ecx, [ebp - 0x268]
push ecx
push 4
call fcn.00436500
add esp, 8
mov edx, dword [0x5fcd94]
push edx
call dword [0x7197d8]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
push eax
mov ecx, dword [ebp - 0x158]
push ecx
mov edx, dword [ebp - 0x15c]
push edx
push str.In__BabelSaveWav:GlobalMemoryStatus__ld__ld__ld
lea eax, [ebp - 0x268]
push eax
call fcn.00532706
add esp, 0x14
lea ecx, [ebp - 0x268]
push ecx
push 3
call fcn.00436500
add esp, 8
push 0x571af0
push 0x5c5ed8
push 0x571afc
lea edx, [ebp - 0x138]
push edx
call fcn.00532706
add esp, 0x10
push 2
lea eax, [ebp - 0x138]
push eax
call fcn.004869a0
add esp, 8
push eax
lea ecx, [ebp - 0x138]
push ecx
call fcn.00532580
add esp, 8
cmp dword [ebp - 0x144], 0x800
jle 0x4a48dc
push 0x571b04
lea edx, [ebp - 0x138]
push edx
call fcn.0042eaa0
add esp, 8
mov dword [ebp - 0x13c], eax
jmp 0x4a48eb
lea eax, [ebp - 0x138]
push eax
call fcn.00429360
add esp, 4
cmp dword [ebp - 0x13c], 0
je 0x4a4a18
mov ecx, dword [0x5fcd94]
push ecx
call dword [0x7197a8]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x144]
lea eax, [edx + edx + 0x24]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
shl edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x144]
shl eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x13c]
push ecx
push 0x2c
push 1
lea edx, [ebp - 0x38]
push edx
call fcn.005337fa
add esp, 0x10
mov eax, dword [ebp - 0x13c]
push eax
call fcn.005392c3
add esp, 4
mov ecx, dword [ebp - 0x13c]
push ecx
mov edx, dword [ebp - 0x144]
push edx
push 2
mov eax, dword [ebp - 4]
push eax
call fcn.005337fa
add esp, 0x10
mov ecx, dword [ebp - 0x13c]
push ecx
call fcn.005392c3
add esp, 4
mov edx, dword [ebp - 0x13c]
push edx
call fcn.00431d50
add esp, 4
mov dword [ebp - 0x13c], 0
call fcn.00484fa0
cmp dword [0x5f4d24], 0
je 0x4a49c2
mov eax, dword [0x5fda4c]
push eax
mov ecx, dword [0x5fda70]
push ecx
mov edx, dword [0x5fdb08]
push edx
call fcn.00462840
add esp, 0xc
mov dword [0x600c1c], 1
cmp dword [0x5fd96c], 1
jne 0x4a4a0c
call fcn.00483eb0
fsub dword [0x601408]
fstp dword [0x601408]
push 1
push 1
push 0
call fcn.004d7db0
add esp, 0xc
push 1
push 1
push 1
call fcn.004d7db0
add esp, 0xc
mov dword [0x5fdb2c], 1
mov dword [ebp - 0x140], 1
jmp 0x4a4a22
mov dword [0x5fdb2c], 0
lea eax, [ebp - 0x164]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [ebp - 0x158]
push ecx
mov edx, dword [ebp - 0x15c]
push edx
push str.out_BabelSaveWav:GlobalMemoryStatus__ld__ld
lea eax, [ebp - 0x268]
push eax
call fcn.00532706
add esp, 0x10
lea ecx, [ebp - 0x268]
push ecx
push 3
call fcn.00436500
add esp, 8
jmp 0x4a4a7d
mov edx, dword [ebp - 0x140]
mov dword [ebp - 0x140], edx
push str.No_Wav_samples
call fcn.004a6570
add esp, 4
push str.BabelSaveWav_OUT
push 4
call fcn.00436500
add esp, 8
mov eax, dword [ebp - 0x140]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00532783
mov esp, ebp
pop ebp
ret