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

Disassembly:
sub esp, 0x90
mov eax, dword [0x698b9c]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x677b30]
mov edx, dword [0x677b38]
mov ecx, dword [0x677b34]
mov dword [esp + 0x6c], eax
mov eax, dword [0x677b3c]
mov dword [esp + 0x74], edx
mov edx, dword [0x677b44]
mov dword [esp + 0x78], eax
mov eax, dword [0x677b48]
mov dword [esp + 0x80], edx
mov edx, dword [0x677b50]
mov dword [esp + 0x70], ecx
mov ecx, dword [0x677b40]
mov dword [esp + 0x84], eax
mov eax, dword [0x677b54]
mov ebp, dword [esp + 0xa4]
mov ebx, dword [ebp + 0x64]
mov dword [esp + 0x5c], edx
mov edx, dword [0x677b5c]
mov dword [esp + 0x7c], ecx
mov ecx, dword [0x677b4c]
mov dword [esp + 0x60], eax
mov eax, dword [0x677b60]
mov dword [esp + 0x68], edx
mov edx, dword [0x677b68]
mov dword [esp + 0x88], ecx
mov ecx, dword [0x677b58]
xor esi, esi
mov dword [esp + 0x8c], eax
mov eax, dword [0x677b6c]
mov dword [esp + 0x94], edx
mov dword [esp + 0x64], ecx
mov ecx, dword [0x677b64]
mov dword [esp + 0x98], eax
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x80]
push eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x34], esi
mov ecx, dword [ebx + 4]
push 0x17
mov dword [esp + 0x58], ecx
push esi
lea ecx, [esp + 0x7c]
xor edi, edi
push ecx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x68], 0x80020000
mov dword [esp + 0x4c], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x41bcdf
mov eax, dword [esp + 0x30]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
lea ecx, [esp + 0x20]
push ecx
push esi
push esi
push eax
call edx
test eax, eax
jl 0x41bcdf
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push esi
push 0x17
lea edx, [esp + 0x68]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jl 0x41bcdf
jmp 0x41b9d4
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push esi
push ebx
push esi
push esi
push esi
push 0x989680
push edx
push esi
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp dword [0x69aaa4], 3
mov esi, eax
jg 0x41ba15
push esi
push str.INITIALIZE_hr0X_X
push 0xd4
push str.....media_tavAudioChannel.cpp
push 3
call fcn.00401310
add esp, 0x14
test esi, esi
jge 0x41baa8
test edi, edi
jne 0x41bcdd
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
test eax, eax
jne 0x41ba51
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 4]
mov dword [ebx + 4], eax
jmp 0x41ba58
mov dword [ebx + 4], 0xac44
movzx ecx, word [ebx + 0xc]
imul ecx, dword [ebx + 4]
mov dword [ebx + 8], ecx
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
mov dword [esp + 0x3c], 1
call eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x14]
push edx
push 0
push 0x17
lea edx, [esp + 0x68]
mov dword [esp + 0x20], 0
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
xor esi, esi
test eax, eax
jge 0x41b9d0
jmp 0x41bcdf
test edi, edi
je 0x41bad5
mov eax, dword [ebx + 4]
movzx ecx, word [ebx + 2]
lea edx, [esp + 0x48]
push edx
mov edx, dword [esp + 0x50]
push edx
push eax
push edx
push eax
push ecx
call fcn.0041e540
add esp, 0x18
mov dword [esp + 0x34], eax
test eax, eax
je 0x41bcdd
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x90]
push edx
push eax
mov eax, dword [ecx + 0x38]
call eax
test eax, eax
jl 0x41bcdd
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
imul eax, eax, 0x3e8
xor edx, edx
div dword [ebx + 4]
movzx ecx, word [ebx + 0xc]
xor edx, edx
mov dword [esp + 0x50], ecx
div ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push eax
call edx
test eax, eax
jl 0x41bcdd
cmp dword [ebp + 4], 0x7e
jne 0x41bcd1
mov eax, dword [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jl 0x41bcdd
cmp dword [esp + 0x2c], 0
je 0x41bcc7
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push 0
push 0
lea edx, [esp + 0x5c]
push edx
lea edx, [esp + 0x48]
push edx
lea edx, [esp + 0x2c]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jl 0x41bcdd
cmp dword [ebp + 0x4c], 0
je 0x41bc92
mov eax, dword [esp + 0x3c]
mov edi, dword [ebp + 0xc]
mov esi, eax
imul esi, dword [esp + 0x50]
cmp dword [esp + 0x38], 0
je 0x41bc34
imul eax, dword [esp + 0x4c]
add eax, eax
xor edx, edx
div dword [ebx + 4]
mov esi, eax
cmp esi, dword [esp + 0x40]
jbe 0x41bbf3
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41bbd3
push eax
call fcn.005c05f8
add esp, 4
movzx ecx, word [ebx + 0xc]
imul ecx, esi
push ecx
mov dword [esp + 0x44], esi
call fcn.005c052e
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
je 0x41bcc7
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
push edx
lea eax, [esp + 0x50]
push eax
push ecx
call fcn.0041ea60
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
add esp, 0x10
imul esi, dword [esp + 0x50]
mov dword [esp + 0x1c], edx
test esi, esi
jbe 0x41bc92
mov eax, dword [edi + 8]
mov ebx, dword [edi + 4]
sub ebx, eax
cmp ebx, esi
ja 0x41bc77
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi]
push ebx
push ecx
add edx, eax
push edx
call fcn.005bfdd0
add dword [edi + 8], ebx
mov ecx, dword [ebp + 0x4c]
add dword [esp + 0x28], ebx
mov eax, dword [ecx]
mov edx, dword [eax]
add esp, 0xc
push edi
sub esi, ebx
call edx
mov dword [edi + 8], 0
test esi, esi
ja 0x41bc38
jmp 0x41bc8e
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x1c]
add ecx, dword [edi]
push esi
push eax
push ecx
call fcn.005bfdd0
add esp, 0xc
add dword [edi + 8], esi
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ecx
push eax
call edx
test eax, eax
jl 0x41bcdd
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jl 0x41bcdd
cmp dword [esp + 0x2c], 0
jne 0x41bb64
cmp dword [ebp + 4], 0x7e
je 0x41bb35
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push eax
call edx
xor esi, esi
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x41bcf3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x41bd07
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x41bd1b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x41bd2f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], esi
mov edi, dword [esp + 0x34]
cmp edi, esi
je 0x41bd7c
mov eax, dword [edi + 0x48]
push eax
call fcn.005c05f8
mov ecx, dword [edi + 0x4c]
add esp, 4
push ecx
call fcn.005c05f8
mov edx, dword [edi + 0x3c]
add esp, 4
push edx
call fcn.005c05f8
mov eax, dword [edi + 0x44]
add esp, 4
push eax
call fcn.005c05f8
mov ecx, dword [edi + 0x40]
add esp, 4
push ecx
call fcn.005c05f8
add esp, 4
push edi
call fcn.005c05f8
add esp, 4
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x41bd8d
push eax
call fcn.005c05f8
add esp, 4
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005bfcb8
add esp, 0x90
ret 4