Function at 0x102753fb
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x103e1e90]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x10275423
mov esi, 0x80004003
jmp 0x102757ce
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x810]
xor ecx, ecx
push ecx
push eax
push ecx
push 0x20006
push ecx
push ecx
push ecx
push str.AudioEngineAudioProcessingObjects
push SysReAllocString
mov dword [ebp - 0x80c], ecx
call ebx
mov esi, eax
test esi, esi
je 0x10275469
jle 0x102757cd
movzx esi, si
or esi, 0x80070000
jmp 0x102757cd
push 0x200
lea eax, [ebp - 0x404]
push eax
push edi
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x10275487
mov esi, eax
jmp 0x102757c1
xor esi, esi
lea eax, [ebp - 0x404]
push esi
push esi
push eax
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
push esi
lea eax, [ebp - 0x808]
push eax
push esi
push 0x20006
push esi
push esi
push esi
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x810]
call ebx
mov esi, eax
test esi, esi
je 0x102754d8
jle 0x102757c1
movzx esi, si
or esi, 0x80070000
jmp 0x102757c1
lea edx, [edi + 0x14]
xor ebx, ebx
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x102754e2
sub ecx, esi
sar ecx, 1
lea ecx, [ecx*2 + 2]
cmp ecx, 0x200
jbe 0x1027550a
mov esi, 0x80070057
jmp 0x102757c1
push ecx
push edx
push 1
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push str.FriendlyName
push dword [ebp - 0x808]
call ebx
mov esi, eax
test esi, esi
jne 0x102757e2
lea edx, [edi + 0x214]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x80c]
jne 0x10275537
sub ecx, esi
sar ecx, 1
lea ecx, [ecx*2 + 2]
cmp ecx, 0x200
ja 0x102757ef
push ecx
push edx
push 1
xor eax, eax
push eax
push str.Copyright
push dword [ebp - 0x808]
call ebx
mov esi, eax
test esi, esi
jne 0x102757e2
push 4
lea eax, [edi + 0x414]
push eax
push 4
xor eax, eax
push eax
push str.MajorVersion
push dword [ebp - 0x808]
call ebx
mov esi, eax
test esi, esi
jne 0x102757e2
push 4
lea eax, [edi + 0x418]
push eax
push 4
xor eax, eax
push eax
push str.MinorVersion
push dword [ebp - 0x808]
call ebx
mov esi, eax
test esi, esi
jne 0x102757e2
push 4
lea eax, [edi + 0x10]
push eax
push 4
xor eax, eax
push eax
push str.Flags
push dword [ebp - 0x808]
call ebx
mov esi, eax
test esi, esi
jne 0x102757e2
push 4
lea eax, [edi + 0x41c]
push eax
push 4
xor eax, eax
push eax
push str.MinInputConnections
push dword [ebp - 0x808]
call ebx
mov esi, eax
test esi, esi
jne 0x102757e2
push 4
lea eax, [edi + 0x420]
push eax
push 4
xor eax, eax
push eax
push str.MaxInputConnections
push dword [ebp - 0x808]
call ebx
mov esi, eax
test esi, esi
jne 0x102757e2
push 4
lea eax, [edi + 0x424]
push eax
push 4
xor eax, eax
push eax
push str.MinOutputConnections
push dword [ebp - 0x808]
call ebx
mov esi, eax
test esi, esi
jne 0x102757e2
push 4
lea eax, [edi + 0x428]
push eax
push 4
xor eax, eax
push eax
push str.MaxOutputConnections
push dword [ebp - 0x808]
call ebx
mov esi, eax
test esi, esi
jne 0x102757e2
push 4
lea eax, [edi + 0x42c]
push eax
push 4
xor eax, eax
push eax
push str.MaxInstances
push dword [ebp - 0x808]
call ebx
mov esi, eax
test esi, esi
jne 0x102757e2
push 4
lea eax, [edi + 0x430]
push eax
push 4
mov dword [ebp - 0x814], eax
xor eax, eax
push eax
push str.NumAPOInterfaces
push dword [ebp - 0x808]
call ebx
mov esi, eax
test esi, esi
jne 0x102757e2
mov dword [ebp - 0x80c], eax
cmp dword [edi + 0x430], esi
jbe 0x10275773
add edi, 0x434
push eax
push str.APOInterface_u
lea eax, [ebp - 0x804]
push 0x400
push eax
call fcn.10274f65
mov esi, eax
add esp, 0x10
test esi, esi
js 0x102757cd
push 0x200
lea eax, [ebp - 0x404]
push eax
push edi
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
je 0x102757f6
add eax, eax
cmp eax, 0x400
ja 0x102757ef
push eax
lea eax, [ebp - 0x404]
push eax
push 1
xor eax, eax
push eax
lea eax, [ebp - 0x804]
push eax
push dword [ebp - 0x808]
call ebx
mov esi, eax
test esi, esi
jne 0x102757e2
mov eax, dword [ebp - 0x80c]
add edi, 0x10
mov ecx, dword [ebp - 0x814]
inc eax
mov dword [ebp - 0x80c], eax
cmp eax, dword [ecx]
jb 0x102756e3
mov eax, dword [0x103e6cb4]
mov dword [ebp - 0x80c], eax
test eax, eax
je 0x102757b5
lea eax, [ebp - 0x814]
mov ecx, 0x103e6cb4
push eax
lea eax, [ebp - 0x80c]
push eax
call fcn.10274948
test eax, eax
je 0x102757ac
mov eax, dword [ebp - 0x814]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [ebp - 0x80c], 0
jne 0x10275782
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.10295946
mov esp, ebp
pop ebp
ret 4
jle 0x102757b5
movzx esi, si
or esi, 0x80070000
jmp 0x102757b5
mov esi, 0x80070057
jmp 0x102757b5
xor eax, eax
mov esi, eax
jmp 0x102757b5