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

Disassembly:
push 0xffffffffffffffff
push 0x45ba30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [0x47b258]
xor eax, dword [esp + 0x60]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x5c], eax
push edi
mov dword [esp + 0x14], esi
xor ebx, ebx
mov dword [esp + 0x6c], ebx
call fcn.00437860
mov dword [esi], 0x46c1a8
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov byte [esi + 0x28], bl
mov dword [esi + 0x2c], ebx
mov eax, dword [0x47c170]
mov ecx, dword [eax + 0x8c]
cmp dword [ecx + 8], ebx
mov byte [esp + 0x6c], 1
push ecx
jne 0x42b697
mov ecx, esp
mov dword [esp + 0x14], esp
push str.DirectSound_object_not_available__skipping_streaming_sound.
call fcn.00402330
mov eax, dword [0x47c170]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.0042d820
add esp, 0xc
mov ecx, dword [eax]
push ecx
push str.StreamingSound::StreamingSound
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str._s__:__s
mov byte [esp + 0x7c], 2
call fcn.00402330
mov edx, dword [0x47c170]
mov eax, dword [edx + 4]
push eax
call fcn.0041fde0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x6c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b893
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x42b893
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov edi, esp
push eax
call fcn.00406c30
add eax, 0x10
add esp, 4
lea ecx, [esp + 0x20]
mov dword [edi], eax
call fcn.00421930
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x24], 0x61746164
mov byte [esp + 0x6c], 3
mov ebp, eax
je 0x42b707
push 0x1c
push str.gameStreamingSound.cpp
push str.StreamingSound::StreamingSound
push str.header__dIdMAKEFOURCC_d_a_t_a_
push str.Assertion_failed.
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.Error:__s_n_Statement:__s_n_Function:__s___n_File:__s_n_Line:__d
call fcn.00402330
mov eax, dword [0x47c170]
mov ecx, dword [eax + 0x10]
push ecx
call fcn.00413050
add esp, 0x1c
xor eax, eax
mov ecx, 9
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
mov dword [esp + 0x3c], 0x24
mov dword [esp + 0x40], 0x10000
lea edx, [esp + 0x28]
mov dword [esp + 0x4c], edx
add ebp, 0x14
mov eax, dword [ebp]
mov dword [esp + 0x28], eax
mov ecx, dword [ebp + 4]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x30], ecx
mov ax, word [ebp + 0xc]
mov word [esp + 0x34], ax
movzx eax, ax
cdq
shr edi, 0x10
idiv edi
mov edx, dword [0x47c170]
shl ecx, 5
mov dword [esp + 0x44], ecx
push ebx
mov word [esp + 0x3c], bx
lea ecx, [esi + 0x18]
push ecx
lea ecx, [esp + 0x44]
push ecx
shl eax, 3
mov word [esp + 0x42], ax
mov eax, dword [edx + 0x8c]
mov eax, dword [eax + 8]
mov edx, dword [eax]
push eax
call dword [edx + 0xc]
cmp eax, ebx
jge 0x42b806
push 0x2a
push str.gameStreamingSound.cpp
push str.StreamingSound::StreamingSound
push str.uve__pUveSound__dxSound__CreateSoundBuffer_dsbdesc__dxSoundBuffer__NULL_
push eax
mov eax, dword [0x47c170]
mov ecx, dword [eax + 0x10]
lea edx, [esp + 0x24]
push edx
call fcn.0040f8c0
mov ecx, dword [eax]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.Error:__s_n_Statement:__s_n_Function:__s___n_File:__s_n_Line:__d
mov byte [esp + 0x88], 4
call fcn.00402330
mov edx, dword [0x47c170]
mov eax, dword [edx + 0x10]
push eax
call fcn.00413050
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0x1c
mov byte [esp + 0x6c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b806
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x44]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Created_streaming_buffer___d_bytes.
mov dword [esi + 0x20], eax
call fcn.00402330
mov ecx, dword [0x47c170]
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.0042d820
add esp, 0x10
mov edx, dword [eax]
push edx
push str.StreamingSound::StreamingSound
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str._s__:__s
mov byte [esp + 0x7c], 5
call fcn.00402330
mov eax, dword [0x47c170]
mov ecx, dword [eax + 4]
push ecx
call fcn.0041fde0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x6c], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42b885
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 1
call fcn.004218e0
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
mov dword [esp + 0x6c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b8b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x60]
xor ecx, dword [esp + 0x70]
mov eax, esi
call fcn.0043eeae
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 4