Function at 0x6c542ab0
Capabilities:
Enumerate pe sections
Set registry value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0xe8
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov ebx, dword [ecx + 8]
mov dword [ebp - 0xac], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xb4], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xb8], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0xbc], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0xc0], eax
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0xc4], eax
test byte [0x6c546018], 8
jne 0x6c542f50
mov eax, dword [0x6c54ef34]
cmp dword [ebx], eax
je 0x6c542f18
mov edi, dword [sym.imp.advapi32.dll_RegCreateKeyExW]
lea eax, [ebp - 0xa8]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x20006
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.DirectShowMediaObjects
mov dword [esp], 0x80000000
mov dword [ebp - 0xb0], edi
call edi
sub esp, 0x24
test eax, eax
jne 0x6c543130
mov edx, esi
lea eax, [ebp - 0x98]
call fcn.6c541420
lea edx, [ebp - 0xa4]
mov dword [esp + 0x20], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa8]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x20006
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], eax
call edi
sub esp, 0x24
mov edi, eax
test eax, eax
je 0x6c542c90
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x6c542c1f
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x6c542c35
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x6c542c4b
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x6c542c61
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovg edi, eax
test byte [0x6c546018], 8
jne 0x6c543090
lea esp, [ebp - 0x10]
mov eax, edi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x20
mov edi, dword [ebp - 0xac]
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcslen]
mov dword [esp + 0x10], edi
mov edi, dword [sym.imp.advapi32.dll_RegSetValueExW]
lea eax, [eax + eax + 2]
mov dword [esp + 0xc], 1
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xa4]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0xb8]
sub esp, 0x18
shl eax, 5
mov dword [esp + 0xc], 3
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xbc]
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xa4]
mov dword [esp + 4], str.InputTypes
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0xc0]
sub esp, 0x18
shl eax, 5
mov dword [esp + 0xc], 3
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xc4]
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xa4]
mov dword [esp + 4], str.OutputTypes
mov dword [esp], eax
call edi
lea ecx, [ebp - 0xa0]
sub esp, 0x18
test byte [ebp - 0xb4], 1
je 0x6c542dde
mov eax, dword [ebp - 0xa4]
lea ecx, [ebp - 0xa0]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], ecx
mov dword [esp], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xac], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x20006
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.Keyed
call eax
sub esp, 0x24
mov edi, eax
test eax, eax
jne 0x6c542c09
mov eax, dword [ebp - 0xa0]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xac]
sub esp, 4
mov eax, dword [ebp - 0xa8]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], ecx
mov dword [esp], eax
mov eax, dword [ebp - 0xb0]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x20006
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.Categories
call eax
sub esp, 0x24
mov edi, eax
test eax, eax
jne 0x6c542c09
mov eax, dword [ebp - 0xa4]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea ecx, [ebp - 0x98]
mov edx, ebx
sub esp, 4
mov eax, ecx
call fcn.6c541420
lea edx, [ebp - 0xa4]
mov dword [esp + 0x20], 0
mov ebx, dword [ebp - 0xb0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x20006
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], eax
call ebx
sub esp, 0x24
mov edi, eax
test eax, eax
jne 0x6c542c09
mov edx, esi
lea eax, [ebp - 0x98]
call fcn.6c541420
lea edx, [ebp - 0x9c]
mov dword [esp + 0x20], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa4]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x20006
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], eax
call ebx
sub esp, 0x24
mov edi, eax
jmp 0x6c542c09
mov eax, dword [0x6c54ef38]
cmp dword [ebx + 4], eax
jne 0x6c542b44
mov eax, dword [0x6c54ef3c]
cmp dword [ebx + 8], eax
jne 0x6c542b44
mov eax, dword [0x6c54ef40]
mov edi, 0x80070057
cmp dword [ebx + 0xc], eax
jne 0x6c542b44
jmp 0x6c542c7b
test ebx, ebx
je 0x6c543120
mov eax, ebx
shr eax, 0x10
je 0x6c5430d0
movzx eax, byte [ebx + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [ebx + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [ebx + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [ebx + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [ebx + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebx + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [ebx + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [ebx + 8]
mov dword [esp + 0x10], eax
movzx eax, word [ebx + 6]
mov dword [esp + 0xc], eax
movzx eax, word [ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp], str._08x__04x__04x__02x_02x__02x_02x_02x_02x_02x_02x
mov dword [esp + 4], eax
call fcn.6c541370
mov edi, eax
test esi, esi
je 0x6c543110
mov eax, esi
shr eax, 0x10
je 0x6c5430f0
movzx eax, byte [esi + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [esi + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [esi + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [esi + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [esi + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [esi + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [esi + 8]
mov dword [esp + 0x10], eax
movzx eax, word [esi + 6]
mov dword [esp + 0xc], eax
movzx eax, word [esi + 4]
mov dword [esp + 8], eax
mov eax, dword [esi]
mov dword [esp], str._08x__04x__04x__02x_02x__02x_02x_02x_02x_02x_02x
mov dword [esp + 4], eax
call fcn.6c541370
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xac]
call fcn.6c5414a0
mov edx, dword [ebp - 0xb0]
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], str._s__s__s_n
mov dword [esp + 8], 0x6c5484e0
mov dword [esp + 4], 0x6c546018
mov dword [esp], 3
call fcn.6c541730
jmp 0x6c542b37
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str._hresult0x_08lx_n
mov dword [esp + 8], 0x6c5484e0
mov dword [esp + 4], 0x6c546018
mov dword [esp], 3
call fcn.6c541730
lea esp, [ebp - 0x10]
mov eax, edi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x20
movzx eax, bx
mov dword [esp], str._guid_0x_04hx_
mov dword [esp + 4], eax
call fcn.6c541370
mov edi, eax
jmp 0x6c542fc7
movzx eax, si
mov dword [esp], str._guid_0x_04hx_
mov dword [esp + 4], eax
call fcn.6c541370
mov dword [ebp - 0xb0], eax
jmp 0x6c543042
mov dword [ebp - 0xb0], str._null_
jmp 0x6c543042
mov edi, str._null_
jmp 0x6c542fc7
mov edi, 0x80004005
jmp 0x6c542c7b