Function at 0x10081180
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f2f59
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x10275008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2a4], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x298], eax
mov dword [ebp - 0x29c], edx
mov dword [ebp - 0x2a0], ebx
test eax, eax
jne 0x100811da
xor al, al
jmp 0x10081550
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
cmp esi, edi
je 0x100811f3
mov ecx, esi
call fcn.1000abd0
add esi, 0x40
cmp esi, edi
jne 0x100811e3
mov esi, dword [ebx]
xorps xmm0, xmm0
mov dword [ebx + 4], esi
movlpd qword [ebp - 0x220], xmm0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
call fcn.10082e70
mov dword [ebp - 0x220], eax
push 0x208
xor esi, esi
mov dword [ebp - 4], 2
lea eax, [ebp - 0x218]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
mov ebx, dword [ebp - 0x298]
lea eax, [ebp - 0x224]
add esp, 0xc
mov dword [ebp - 0x224], 0x104
push esi
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
test edi, edi
jne 0x10081306
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x254]
call fcn.10005290
mov byte [ebp - 4], 3
cmp dword [ebp - 0x244], 8
jne 0x100812c4
xor edx, edx
lea ecx, [ebp - 0x218]
call fcn.100dd860
push dword [ebp - 0x2a0]
mov dword [ebp - 0x298], eax
lea eax, [ebp - 0x298]
push eax
push ecx
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x220]
call fcn.100833a0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], 0x104
push eax
lea eax, [ebp - 0x218]
inc esi
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 2
mov edi, eax
call fcn.10005250
test edi, edi
je 0x10081272
cmp edi, 0x103
je 0x10081315
xor bl, bl
jmp 0x100814ef
mov ebx, dword [ebp - 0x29c]
lea eax, [ebp - 0x23c]
push ebx
push eax
call fcn.10081590
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x220]
mov esi, dword [eax]
cmp esi, eax
je 0x100814de
nop dword [eax]
push dword [esi + 0x10]
lea eax, [ebp - 0x23c]
push str.34745C63_B2F0_4784_8B67_5E12C8701A31
push ebx
push str.SoftwareMicrosoftCTFSortOrderAssemblyItem
push str._s0x_08x_s_08d
push eax
call fcn.100de1f0
add esp, 0x18
mov dword [ebp - 0x298], 0
cmp dword [ebp - 0x228], 8
lea ecx, [ebp - 0x298]
lea eax, [ebp - 0x23c]
cmovae eax, dword [ebp - 0x23c]
push ecx
push 0x20019
push 0
push eax
mov eax, dword [ebp - 0x2a4]
push dword [eax + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1008157d
lea ecx, [ebp - 0x294]
call fcn.1000ab20
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x254]
push str.CLSID
mov dword [ebp - 0x294], ebx
call fcn.10005290
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x298]
call fcn.10081600
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0xf
mov bl, al
call fcn.10005250
push dword [ebp - 0x298]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x1008156e
mov ebx, dword [ebp - 0x2a0]
mov edi, dword [ebx + 4]
cmp dword [ebx + 8], edi
je 0x10081470
mov eax, dword [ebp - 0x294]
lea ecx, [edi + 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x290]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x28c]
mov dword [edi + 8], eax
mov al, byte [ebp - 0x288]
mov byte [edi + 0xc], al
lea eax, [ebp - 0x284]
push eax
mov dword [ebp - 0x2ac], edi
call fcn.100086d0
lea eax, [ebp - 0x26c]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [edi + 0x28]
call fcn.100086d0
mov byte [ebp - 4], 0xf
add dword [ebx + 4], 0x40
jmp 0x1008147f
lea eax, [ebp - 0x294]
mov ecx, ebx
push eax
push edi
call fcn.10082fc0
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 9
call fcn.1000abd0
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x100814b4
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100814b0
cmp esi, dword [eax + 8]
jne 0x100814b0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100814a0
mov esi, eax
jmp 0x100814cc
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x100814cc
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x100814c0
mov ebx, dword [ebp - 0x29c]
cmp esi, dword [ebp - 0x220]
jne 0x10081340
mov bl, 1
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 2
call fcn.10005250
mov dword [ebp - 4], 0x1a
lea ecx, [ebp - 0x220]
mov esi, dword [ebp - 0x220]
push dword [esi + 4]
call fcn.10082f00
mov eax, dword [ebp - 0x220]
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x220]
mov dword [eax], esi
mov eax, dword [ebp - 0x220]
mov dword [eax + 8], esi
mov dword [ebp - 0x21c], 0
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x220]
push 0x14
push ecx
mov byte [ebp - 4], 0x1c
call fcn.101c8702
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101c837b
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 9
call fcn.1000abd0
xor bl, bl
jmp 0x100814e0