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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x64786c]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov ecx, dword [0x6224e0]
mov edx, dword [0x6224e4]
mov eax, dword [ebp + 8]
mov dword [esp + 0x6c], ecx
mov ecx, dword [0x6224e8]
mov dword [esp + 0x70], edx
mov edx, dword [0x6224ec]
mov dword [esp + 0x74], ecx
mov ecx, dword [0x6224f0]
mov dword [esp + 0x78], edx
mov edx, dword [0x6224f4]
mov dword [esp + 0x7c], ecx
mov ecx, dword [0x6224f8]
mov dword [esp + 0x80], edx
mov edx, dword [0x6224fc]
mov dword [esp + 0x84], ecx
mov ecx, dword [0x622500]
mov dword [esp + 0x88], edx
mov edx, dword [0x622504]
mov dword [esp + 0x5c], ecx
mov ecx, dword [0x622508]
mov dword [esp + 0x60], edx
mov edx, dword [0x62250c]
mov dword [esp + 0x64], ecx
mov ecx, dword [0x622510]
mov esi, dword [eax + 0x3c]
mov dword [esp + 0x68], edx
mov edx, dword [0x622514]
mov dword [esp + 0x8c], ecx
mov ecx, dword [0x622518]
xor edi, edi
mov dword [esp + 0x90], edx
mov edx, dword [0x62251c]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x80]
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x34], edi
mov eax, dword [esi + 4]
push 0x17
mov dword [esp + 0x5c], eax
push edi
lea eax, [esp + 0x7c]
xor ebx, ebx
push eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x68], 0x80020000
mov dword [esp + 0x4c], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x41c369
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push edi
push edi
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jl 0x41c369
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push edi
push 0x17
lea edx, [esp + 0x68]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jl 0x41c369
jmp 0x41c044
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push edi
push esi
push edi
push edi
push edi
push 0x989680
push edx
push edi
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp dword [0x653730], 3
mov edi, eax
jg 0x41c085
push edi
push str.INITIALIZE_hr0X_X
push 0xcd
push str.....media_tavAudioChannel.cpp
push 3
call fcn.00401320
add esp, 0x14
test edi, edi
jge 0x41c118
test ebx, ebx
jne 0x41c367
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
test eax, eax
jne 0x41c0c1
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 4]
mov dword [esi + 4], eax
jmp 0x41c0c8
mov dword [esi + 4], 0xac44
movzx ecx, word [esi + 0xc]
imul ecx, dword [esi + 4]
mov dword [esi + 8], ecx
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
mov dword [esp + 0x3c], 1
call eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push edx
push 0
push 0x17
lea edx, [esp + 0x68]
mov dword [esp + 0x1c], 0
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
xor edi, edi
test eax, eax
jge 0x41c040
jmp 0x41c369
test ebx, ebx
je 0x41c145
mov eax, dword [esi + 4]
movzx ecx, word [esi + 2]
lea edx, [esp + 0x4c]
push edx
mov edx, dword [esp + 0x54]
push edx
push eax
push edx
push eax
push ecx
call fcn.00420fb0
add esp, 0x18
mov dword [esp + 0x3c], eax
test eax, eax
je 0x41c367
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x90]
push edx
push eax
mov eax, dword [ecx + 0x38]
call eax
test eax, eax
jl 0x41c367
mov edi, dword [esp + 0x24]
mov edx, dword [edi + 0xc]
mov eax, dword [edx + 4]
imul eax, eax, 0x3e8
xor edx, edx
div dword [esi + 4]
movzx ecx, word [esi + 0xc]
xor edx, edx
mov dword [esp + 0x48], ecx
div ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push eax
call edx
test eax, eax
jl 0x41c367
cmp dword [edi + 4], 0x7e
jne 0x41c35b
mov eax, dword [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jl 0x41c367
cmp dword [esp + 0x2c], 0
je 0x41c34d
jmp 0x41c1e4
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push 0
push 0
lea edx, [esp + 0x5c]
push edx
lea edx, [esp + 0x40]
push edx
lea edx, [esp + 0x28]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jl 0x41c367
cmp dword [edi + 0x24], 0
je 0x41c318
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0xc]
mov ebx, eax
imul ebx, dword [esp + 0x48]
cmp dword [esp + 0x38], 0
je 0x41c2bb
imul eax, dword [esp + 0x50]
add eax, eax
xor edx, edx
div dword [esi + 4]
mov ebx, eax
cmp ebx, dword [esp + 0x44]
jbe 0x41c277
mov eax, dword [esp + 0x20]
test eax, eax
je 0x41c257
push eax
call fcn.005975b8
add esp, 4
movzx edx, word [esi + 0xc]
imul edx, ebx
push edx
mov dword [esp + 0x48], ebx
call fcn.005974ee
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x41c34d
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x50]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x28]
push ecx
call fcn.004214e0
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x4c]
add esp, 0xc
imul ebx, dword [esp + 0x48]
mov dword [esp + 0x18], edx
test ebx, ebx
jbe 0x41c318
mov eax, dword [edi + 8]
mov esi, dword [edi + 4]
mov ecx, dword [esp + 0x18]
sub esi, eax
cmp esi, ebx
ja 0x41c302
mov edx, dword [edi]
push esi
push ecx
add edx, eax
push edx
call fcn.00597e30
add dword [edi + 8], esi
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x24]
add dword [esp + 0x24], esi
mov edx, dword [ecx]
mov eax, dword [edx]
add esp, 0xc
push edi
sub ebx, esi
call eax
mov dword [edi + 8], 0
test ebx, ebx
ja 0x41c2bf
jmp 0x41c314
mov edx, eax
add edx, dword [edi]
push ebx
push ecx
push edx
call fcn.00597e30
add esp, 0xc
add dword [edi + 8], ebx
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jl 0x41c367
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jl 0x41c367
cmp dword [esp + 0x2c], 0
jne 0x41c1e0
mov edi, dword [esp + 0x24]
cmp dword [edi + 4], 0x7e
je 0x41c1a9
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push eax
call edx
xor edi, edi
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x41c37d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x41c391
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x41c3a5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x41c3b9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], edi
mov esi, dword [esp + 0x3c]
cmp esi, edi
je 0x41c406
mov eax, dword [esi + 0x48]
push eax
call fcn.005975b8
mov ecx, dword [esi + 0x4c]
add esp, 4
push ecx
call fcn.005975b8
mov edx, dword [esi + 0x3c]
add esp, 4
push edx
call fcn.005975b8
mov eax, dword [esi + 0x44]
add esp, 4
push eax
call fcn.005975b8
mov ecx, dword [esi + 0x40]
add esp, 4
push ecx
call fcn.005975b8
add esp, 4
push esi
call fcn.005975b8
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x41c417
push eax
call fcn.005975b8
add esp, 4
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0059709c
mov esp, ebp
pop ebp
ret 4