Function at 0x40b6a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x615ac6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
or ebp, 0xffffffff
mov dword [esp + 0x18], esi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], 0x7fffffff
lea ecx, [esi + 0x34]
mov dword [esp + 0x50], edi
mov dword [esi], 0x6284d4
call fcn.0051a565
lea ebx, [esi + 0x74]
mov ecx, ebx
mov byte [esp + 0x50], 1
call fcn.0040d880
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x58]
push ebp
lea ecx, [esp + 0x30]
mov byte [esp + 0x54], 2
call fcn.00406850
add ebp, 0xc
push ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0x54], 3
call fcn.00405160
mov eax, dword [esp + 0x30]
mov ebp, dword [eax]
cmp ebp, eax
mov byte [esp + 0x50], 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x58], edi
je 0x40b78d
lea eax, [ebp + 8]
push 0x627e30
push eax
call fcn.004034e0
add esp, 8
test al, al
je 0x40b777
cmp dword [esp + 0x10], edi
jge 0x40b7ae
mov eax, dword [esp + 0x58]
push str.sink
lea ecx, [ebp + 8]
mov dword [esp + 0x14], eax
call fcn.004039e0
mov ebp, dword [ebp]
add dword [esp + 0x58], 1
cmp ebp, dword [esp + 0x14]
jne 0x40b747
mov ebp, dword [esp + 0x10]
cmp ebp, edi
jge 0x40b7cf
lea eax, [esp + 0x58]
push str.Audio_filter_graph_lacks_an_output_node.
push eax
call fcn.0051c348
add esp, 8
push 0x694d20
lea ecx, [esp + 0x5c]
push ecx
call fcn.005f8355
lea ecx, [esp + 0x58]
push str.Audio_filter_graph_contains_more_than_one_output_node.
push ecx
call fcn.0051c348
add esp, 8
push 0x694d20
lea edx, [esp + 0x5c]
push edx
call fcn.005f8355
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
push edi
lea eax, [esi + 0x34]
push eax
mov ecx, ebx
mov byte [esp + 0x58], 5
call fcn.0040bbd0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x30]
push eax
mov ecx, ebx
call fcn.0040f600
mov ecx, ebx
call fcn.0040fad0
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + ebp*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
push eax
call fcn.0050cd20
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
add esp, 4
push ecx
push edx
mov ecx, ebx
mov dword [esi + 0x30], eax
call fcn.0040d790
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [esi + 0x30]
mov ebp, eax
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov ebx, eax
cmp word [ebx], 1
jne 0x40b852
mov ebp, 0x10
mov eax, dword [esi + 8]
cmp eax, edi
je 0x40b865
push eax
call fcn.00461f70
add esp, 4
mov dword [esi + 8], edi
push ebp
call fcn.00461f60
add esp, 4
cmp eax, edi
mov dword [esi + 8], eax
jne 0x40b896
lea eax, [esp + 0x58]
push str.AudioStream:_Out_of_memory
push eax
call fcn.0051c348
add esp, 8
push 0x694d20
lea ecx, [esp + 0x5c]
push ecx
call fcn.005f8355
push ebp
push ebx
push eax
mov dword [esi + 0xc], ebp
call fcn.005f7b00
mov ecx, dword [esi + 0x30]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
add esp, 0xc
call eax
sub eax, dword [esp + 0x5c]
mov ecx, dword [ebx + 8]
sbb edx, dword [esp + 0x60]
push edi
push ecx
push edx
push eax
call fcn.005f8550
mov ebp, eax
mov eax, edx
mov dword [esp + 0x58], eax
movzx eax, word [ebx + 0xc]
push edi
cdq
push 0xf4240
push edx
push eax
call fcn.005f8550
push edx
push eax
mov eax, dword [esp + 0x60]
push eax
push ebp
call fcn.005f84a0
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x60]
mov dword [esi + 0xb4], eax
mov eax, dword [esp + 0x20]
cmp eax, edi
mov dword [esi + 0x24], edx
mov edx, dword [esp + 0x5c]
mov dword [esi + 0xb0], edx
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
je 0x40b920
push eax
call fcn.005f7e65
add esp, 4
mov eax, dword [esp + 0x3c]
cmp eax, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov byte [esp + 0x50], 2
je 0x40b942
push eax
call fcn.005f7e65
add esp, 4
mov eax, dword [esp + 0x30]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov ebx, dword [eax]
mov dword [eax], eax
mov eax, dword [esp + 0x30]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x30]
cmp ebx, eax
mov dword [esp + 0x34], edi
je 0x40b98d
lea esp, [esp]
mov edi, dword [ebx]
lea ecx, [ebx + 8]
call fcn.00405520
push ebx
call fcn.005f7e65
mov eax, dword [esp + 0x34]
add esp, 4
cmp edi, eax
mov ebx, edi
jne 0x40b970
push eax
call fcn.005f7e65
mov ecx, dword [esp + 0x4c]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 0xc