Function at 0x423f70
Capabilities:
Enumerate devices by category
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x58b9e4
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x61c948]
xor eax, esp
mov dword [esp + 0xd4], eax
push ebx
push ebp
push esi
mov eax, dword [0x61c948]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xf8]
push eax
mov ecx, edi
mov dword [esp + 0x34], edi
call fcn.00420c10
mov eax, dword [esp + 0xfc]
xor ebp, ebp
mov dword [esp + 0xf0], ebp
mov dword [edi + 0xc4], eax
mov eax, 0x80
mov dword [edi + 0xcc], eax
mov dword [edi + 0xd4], eax
mov eax, dword [edi + 0x60]
cmp eax, ebp
mov dword [edi], vtable.CFGManagerPlayer.0
mov dword [edi + 0xc], vtable.CFGManagerPlayer.1.0
mov dword [edi + 0x10], vtable.CFGManagerPlayer.2.0
mov dword [edi + 0xc8], ebp
mov dword [edi + 0xd0], ebp
je 0x424172
mov dword [esp + 0x14], ebp
mov byte [esp + 0xf0], 1
mov edx, dword [0x59dbb8]
mov ecx, dword [0x59dbb4]
push ebp
push ebp
push ebp
push ebp
push ebp
mov dword [esp + 0x4c], edx
mov edx, dword [0x59dbc0]
push 1
mov dword [esp + 0x58], edx
mov edx, dword [0x59b9b4]
push ebp
mov dword [esp + 0x64], edx
mov edx, dword [0x59b9bc]
push ebp
mov dword [esp + 0x70], edx
lea edx, [esp + 0x54]
push edx
push 1
mov dword [esp + 0x5c], ecx
mov ecx, dword [0x59dbbc]
push 1
push 0x200001
mov dword [esp + 0x6c], ecx
mov ecx, dword [0x59b9b0]
push ebp
mov dword [esp + 0x78], ecx
mov ecx, dword [0x59b9b8]
push ebp
lea edx, [esp + 0x4c]
mov dword [esp + 0x84], ecx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
jl 0x42414a
mov dword [esp + 0x10], ebp
push ebp
mov byte [esp + 0xf4], 2
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x424132
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x58]
push edx
call fcn.0042c5c0
mov ecx, dword [edi + 0xcc]
mov edx, dword [esp + 0x78]
cmp ecx, edx
mov eax, dword [edi + 0xc8]
mov esi, dword [esp + 0x74]
jb 0x4240ed
ja 0x4240f1
cmp eax, esi
ja 0x4240f1
mov eax, esi
mov ecx, edx
mov dword [edi + 0xc8], eax
lea eax, [esp + 0x54]
mov dword [edi + 0xcc], ecx
call fcn.004245a0
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x42411a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push ebp
lea edx, [esp + 0x14]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
je 0x4240c0
mov byte [esp + 0xf0], 1
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x42414a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
add dword [edi + 0xc8], 0x100
adc dword [edi + 0xcc], ebp
mov byte [esp + 0xf0], 0
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x424172
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [edi + 0x60]
cmp eax, ebp
je 0x424411
mov dword [esp + 0x18], ebp
mov byte [esp + 0xf0], 3
mov edx, dword [0x59dbc8]
mov ecx, dword [0x59dbc4]
push ebp
push ebp
push ebp
push ebp
push ebp
mov dword [esp + 0x4c], edx
mov edx, dword [0x59dbd0]
push 1
mov dword [esp + 0x58], edx
mov edx, dword [0x59b9b4]
push ebp
mov dword [esp + 0x64], edx
mov edx, dword [0x59b9bc]
push ebp
mov dword [esp + 0x70], edx
lea edx, [esp + 0x54]
push edx
push 1
mov dword [esp + 0x5c], ecx
mov ecx, dword [0x59dbcc]
push 1
push 0x200001
mov dword [esp + 0x6c], ecx
mov ecx, dword [0x59b9b0]
push ebp
mov dword [esp + 0x78], ecx
mov ecx, dword [0x59b9b8]
push ebp
lea edx, [esp + 0x50]
mov dword [esp + 0x84], ecx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
jl 0x4242ba
mov dword [esp + 0x10], ebp
push ebp
mov byte [esp + 0xf4], 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x4242a2
mov edi, edi
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x58]
push edx
call fcn.0042c5c0
mov ecx, dword [edi + 0xd4]
mov edx, dword [esp + 0x78]
cmp ecx, edx
mov eax, dword [edi + 0xd0]
mov esi, dword [esp + 0x74]
jb 0x42425d
ja 0x424261
cmp eax, esi
ja 0x424261
mov eax, esi
mov ecx, edx
mov dword [edi + 0xd0], eax
lea eax, [esp + 0x54]
mov dword [edi + 0xd4], ecx
call fcn.004245a0
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x42428a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ebp
lea edx, [esp + 0x14]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
je 0x424230
mov byte [esp + 0xf0], 3
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x4242ba
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x1c], ebp
lea eax, [esp + 0x1c]
push eax
push 0x5ed410
push 0x17
push ebp
push 0x59de54
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [esp + 0x14], ebp
push ebp
lea edx, [esp + 0x18]
mov bl, 6
mov byte [esp + 0xf4], bl
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push edx
push 0x59de64
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jl 0x4243b9
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x4243bd
mov dword [esp + 0x10], ebp
push ebp
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0xf8], 7
mov ecx, dword [eax]
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x4243a2
mov edi, edi
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x58]
push edx
call fcn.0042c5c0
mov ecx, dword [edi + 0xd4]
mov edx, dword [esp + 0x78]
cmp ecx, edx
mov eax, dword [edi + 0xd0]
mov esi, dword [esp + 0x74]
jb 0x42435d
ja 0x424361
cmp eax, esi
ja 0x424361
mov eax, esi
mov ecx, edx
mov dword [edi + 0xd0], eax
lea eax, [esp + 0x54]
mov dword [edi + 0xd4], ecx
call fcn.004245a0
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x42438a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push ebp
lea edx, [esp + 0x14]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
je 0x424330
mov byte [esp + 0xf0], bl
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x4243b9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
cmp eax, ebp
mov byte [esp + 0xf0], 5
je 0x4243d1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xf0], 3
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x4243e9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
add dword [edi + 0xd0], 0x100
adc dword [edi + 0xd4], ebp
mov byte [esp + 0xf0], 0
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x424411
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp byte [0x654cbd], 0
je 0x42456b
push 0x88
call fcn.0044ff38
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
cmp esi, ebp
mov byte [esp + 0xf0], 8
je 0x42446c
mov eax, dword [edi + 0xd0]
mov ecx, dword [edi + 0xd4]
add eax, 0x100
adc ecx, ebp
push ecx
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.Audio_Switcher
call fcn.0040a190
mov ecx, esi
call fcn.00428ce0
mov ebp, eax
push 0x59b9b0
mov eax, 0x59dbc4
mov ecx, ebp
mov byte [esp + 0xf4], 0
call fcn.0042c310
mov ebx, dword [edi + 0x98]
lea esi, [edi + 0x94]
call fcn.00429aa0
mov eax, dword [esi + 0x10]
test eax, eax
mov ecx, dword [eax]
je 0x4244a2
mov dword [eax + 8], ebp
mov dword [esi + 0x10], ecx
mov dword [eax + 4], ebx
mov dword [eax], 0
mov ecx, dword [esi + 4]
add dword [esi + 8], 1
test ecx, ecx
je 0x4244bd
mov dword [ecx], eax
jmp 0x4244bf
mov dword [esi], eax
push 0x90
mov dword [esi + 4], eax
call fcn.0044ff38
mov ebx, eax
add esp, 4
mov dword [esp + 0x1c], ebx
test ebx, ebx
mov byte [esp + 0xf0], 9
je 0x42452d
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.D3CD7858_971A_4838_ACEC_40CA5D529DC8
call fcn.0040a190
lea edx, [esp + 0x38]
push edx
call fcn.00560740
mov ecx, dword [eax]
mov edx, dword [eax + 4]
add esp, 8
push 0x20
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 0xc]
push 0
lea eax, [esp + 0x28]
push eax
push ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
call fcn.0042c8b0
mov ebp, eax
jmp 0x42452f
xor ebp, ebp
mov byte [esp + 0xf0], 0
mov ebx, dword [esi + 4]
call fcn.00429aa0
mov eax, dword [esi + 0x10]
test eax, eax
mov ecx, dword [eax]
je 0x42454b
mov dword [eax + 8], ebp
mov dword [esi + 0x10], ecx
mov dword [eax + 4], ebx
mov dword [eax], 0
mov ecx, dword [esi + 4]
add dword [esi + 8], 1
test ecx, ecx
je 0x424566
mov dword [ecx], eax
jmp 0x424568
mov dword [esi], eax
mov dword [esi + 4], eax
mov eax, edi
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.004721e8
add esp, 0xe4
ret 8