Function at 0x4c55b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x60ea20
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x6ac9e8]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x18]
push eax
push str.PropertyType
mov ecx, ebx
call fcn.004e7fe0
test al, al
je 0x4c56ae
lea ecx, [esp + 0x1c]
push ecx
push str.PropertyName
mov ecx, ebx
call fcn.004e7fe0
test al, al
je 0x4c56ae
mov ecx, dword [esp + 0x18]
mov edx, str.Ambience
lea ecx, [ecx]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4c5640
test al, al
je 0x4c563c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4c5640
add ecx, 2
add edx, 2
test al, al
jne 0x4c5620
xor eax, eax
jmp 0x4c5645
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4c56ae
mov edx, dword [esp + 0x1c]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c5652
sub eax, esi
mov esi, dword [ebp + 0xc]
push eax
push edx
mov ecx, esi
call fcn.00416460
lea ecx, [esp + 0x44]
mov dword [esp + 0x14], 0
call fcn.004b6ad0
mov edi, vtable.CTokenVector.0
mov dword [esp + 0x40], edi
lea edx, [esp + 0x20]
push edx
push str.PlayType
mov ecx, ebx
mov dword [esp + 0x90], 0
call fcn.004e7fe0
test al, al
jne 0x4c56c6
lea ecx, [esp + 0x44]
mov dword [esp + 0x40], edi
call fcn.0044b280
xor al, al
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x24]
push eax
push str.PlayInterval
mov ecx, ebx
call fcn.004e7fe0
test al, al
je 0x4c56a1
lea ecx, [esp + 0x28]
push ecx
push str.PlayIntervalVariation
mov ecx, ebx
call fcn.004e7fe0
test al, al
je 0x4c56a1
lea edx, [esp + 0x14]
push edx
push str.MaxVolumeAreaPercentage
mov ecx, ebx
call fcn.004e7fe0
test al, al
jne 0x4c570a
fldz
fstp dword [esi + 0x40]
lea eax, [esp + 0x40]
push eax
push str.AmbienceSoundVector
mov ecx, ebx
call fcn.004e8210
test al, al
je 0x4c56a1
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esi + 0x1c]
call fcn.00445ab0
mov edx, dword [esp + 0x24]
push edx
call fcn.005c6b16
fstp dword [esi + 0x38]
mov eax, dword [esp + 0x2c]
push eax
call fcn.005c6b16
fstp dword [esi + 0x3c]
mov eax, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x4c575d
push eax
call fcn.005c6b16
fstp dword [esi + 0x40]
add esp, 4
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x48]
call fcn.00583ce0
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x48]
call fcn.004511f0
push eax
lea ecx, [esp + 0x34]
call fcn.0047cf70
mov bl, 1
test al, al
je 0x4c57fa
add esi, 0x44
lea esp, [esp]
lea ecx, [esp + 0x30]
call fcn.00583be0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.00416a30
lea ecx, [esp + 0x78]
call fcn.004c1220
lea eax, [esp + 0x5c]
push eax
mov ecx, esi
mov byte [esp + 0x8c], bl
call fcn.004c5530
lea ecx, [esp + 0x5c]
mov byte [esp + 0x88], 0
call fcn.0046bae0
lea ecx, [esp + 0x30]
call fcn.0046d480
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x48]
call fcn.004511f0
push eax
lea ecx, [esp + 0x34]
call fcn.0047cf70
test al, al
jne 0x4c5790
lea ecx, [esp + 0x44]
mov dword [esp + 0x40], edi
call fcn.0044b280
mov al, bl
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret