Function at 0x10004400
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xb8]
sub esp, 0x138
mov eax, dword [0x10028164]
xor eax, ebp
mov dword [ebp + 0xb4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc0]
push edi
mov edi, dword [ebp + 0xc4]
mov dword [ebp - 0x64], 0
test edi, edi
je 0x1000470c
mov eax, dword [esi]
cmp eax, dword [0x10020340]
jne 0x10004468
mov eax, dword [esi + 4]
cmp eax, dword [0x10020344]
jne 0x10004468
mov eax, dword [esi + 8]
cmp eax, dword [0x10020348]
jne 0x10004468
mov eax, dword [esi + 0xc]
cmp eax, dword [0x1002034c]
je 0x1000470c
lea eax, [ebp - 0x64]
push eax
push 0x1001fc48
push 1
push 0
push 0x10020370
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1000470c
mov ecx, dword [edi]
mov ebx, dword [ebp + 0xc8]
test ecx, ecx
je 0x100044e7
mov eax, dword [edi + 4]
lea edx, [ebp - 0x5c]
push edx
push 1
push esi
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 0x64]
push eax
movups xmmword [ebp - 0x5c], xmm0
test ebx, ebx
je 0x100044ce
cmp ecx, 1
mov ecx, dword [eax]
jne 0x100044b9
call dword [ecx + 0x14]
jmp 0x100044bc
call dword [ecx + 0x1c]
mov ebx, eax
test ebx, ebx
js 0x1000470e
mov ebx, dword [ebp + 0xc8]
jmp 0x100044dd
cmp ecx, 1
mov ecx, dword [eax]
jne 0x100044da
call dword [ecx + 0x18]
jmp 0x100044dd
call dword [ecx + 0x20]
mov ecx, dword [edi + 8]
add edi, 8
test ecx, ecx
jne 0x10004494
test ebx, ebx
jne 0x1000470c
push 0x40
lea eax, [ebp - 0x4c]
push eax
push esi
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x10004508
lea ebx, [eax + 0xd]
jmp 0x1000470e
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x74], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10004515
sub ecx, edx
sar ecx, 1
push 2
lea eax, [ecx + 1]
push eax
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push eax
call fcn.10002410
add esp, 0xc
test eax, eax
js 0x10004704
mov esi, dword [ebp - 0x60]
cmp esi, 0x400
jg 0x10004564
push esi
call fcn.1001b8d3
add esp, 4
test al, al
je 0x10004564
mov eax, esi
call fcn.1000bf00
mov eax, esp
jmp 0x1000456d
push esi
lea ecx, [ebp - 0x74]
call fcn.10003380
push 3
push esi
lea ecx, [ebp - 0x4c]
push ecx
push eax
call fcn.10004990
mov edi, eax
test edi, edi
je 0x10004704
push 0x1001fc58
lea eax, [ebp + 0x34]
push 0x80
push eax
call fcn.1001b8d3
push eax
call fcn.10003880
push edi
lea eax, [ebp + 0x34]
push 0x80
push eax
call fcn.1001b8d3
push eax
call fcn.10003880
push str.Required_Categories
lea eax, [ebp + 0x34]
push 0x80
push eax
call fcn.1001b8d3
push eax
call fcn.10003880
add esp, 0x30
mov dword [ebp - 0x80], SysReAllocString
lea eax, [ebp + 0x34]
mov dword [ebp - 0x7c], 0
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x70], 0
push 0x20019
push eax
push SysReAllocString
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x60], 0
call fcn.10007520
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x1000465b
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0
push dword [ebp - 0x70]
call ebx
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.10004b50
test esi, esi
jne 0x1000465b
cmp dword [ebp - 0x60], esi
jne 0x1000465b
lea eax, [ebp + 0x34]
push eax
lea ecx, [ebp - 0x80]
call fcn.10004ed0
push 0x1001fc58
lea eax, [ebp + 0x34]
push 0x80
push eax
call fcn.1001b8d3
push eax
call fcn.10003880
push edi
lea eax, [ebp + 0x34]
push 0x80
push eax
call fcn.1001b8d3
push eax
call fcn.10003880
push str.Implemented_Categories
lea eax, [ebp + 0x34]
push 0x80
push eax
call fcn.1001b8d3
push eax
call fcn.10003880
add esp, 0x30
lea eax, [ebp + 0x34]
lea ecx, [ebp - 0x70]
push 0x20019
push eax
push SysReAllocString
call fcn.10007520
test eax, eax
jne 0x100046f4
push eax
push eax
push eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0
push dword [ebp - 0x70]
call ebx
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.10004b50
test esi, esi
jne 0x100046f4
cmp dword [ebp - 0x60], esi
jne 0x100046f4
lea eax, [ebp + 0x34]
push eax
lea ecx, [ebp - 0x80]
call fcn.10004ed0
lea ecx, [ebp - 0x70]
call fcn.100025c0
lea ecx, [ebp - 0x80]
call fcn.100025c0
lea ecx, [ebp - 0x74]
call fcn.10002530
xor ebx, ebx
mov ecx, dword [ebp - 0x64]
test ecx, ecx
je 0x1000471b
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, ebx
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xb4]
xor ecx, ebp
call fcn.1000bc54
lea esp, [ebp + 0xb8]
pop ebp
ret 0xc