Function at 0x1001b040
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xb0]
sub esp, 0x130
mov eax, dword [0x10048ff4]
xor eax, ebp
mov dword [ebp + 0xac], eax
push ebx
mov ebx, dword [ebp + 0xbc]
push esi
mov esi, dword [ebp + 0xb8]
push edi
xor edi, edi
mov dword [ebp - 0x68], edi
cmp ebx, edi
je 0x1001b32e
mov eax, dword [esi]
cmp eax, dword [0x100405b0]
jne 0x1001b0a6
mov ecx, dword [esi + 4]
cmp ecx, dword [0x100405b4]
jne 0x1001b0a6
mov edx, dword [esi + 8]
cmp edx, dword [0x100405b8]
jne 0x1001b0a6
mov eax, dword [esi + 0xc]
cmp eax, dword [0x100405bc]
je 0x1001b32e
lea ecx, [ebp - 0x68]
push ecx
push 0x1003fc00
push 1
push edi
push 0x10040660
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x1001b0d9
mov eax, dword [ebp - 0x68]
cmp eax, edi
je 0x1001b32e
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x1001b32e
cmp dword [ebx], edi
je 0x1001b13e
lea ecx, [ecx]
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
mov dword [ebp - 0x64], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x60], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x5c], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x58], edx
mov ecx, dword [eax]
lea edx, [ebp - 0x64]
push edx
push 1
push esi
push eax
cmp dword [ebp + 0xc0], edi
je 0x1001b128
cmp dword [ebx], 1
jne 0x1001b119
mov eax, dword [ecx + 0x14]
jmp 0x1001b11c
mov eax, dword [ecx + 0x1c]
call eax
mov edi, eax
test edi, edi
jl 0x1001b1a2
xor edi, edi
jmp 0x1001b137
cmp dword [ebx], 1
jne 0x1001b132
mov eax, dword [ecx + 0x18]
jmp 0x1001b135
mov eax, dword [ecx + 0x20]
call eax
add ebx, 8
cmp dword [ebx], edi
jne 0x1001b0e0
cmp dword [ebp + 0xc0], edi
jne 0x1001b31f
push 0x40
lea eax, [ebp - 0x54]
push eax
push esi
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea ecx, [ebp - 0x54]
push ecx
mov dword [ebp - 0x78], edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push 2
push eax
lea edx, [ebp - 0x6c]
push edx
mov dword [ebp - 0x6c], eax
call fcn.10009050
add esp, 0xc
test eax, eax
jl 0x1001b317
mov esi, dword [ebp - 0x6c]
cmp esi, 0x400
jg 0x1001b1b8
push esi
call fcn.10009d10
add esp, 4
test al, al
je 0x1001b1b8
mov eax, esi
call fcn.10025240
mov eax, esp
jmp 0x1001b1c1
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x1001b1b1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
jmp 0x1001b330
push esi
lea ecx, [ebp - 0x78]
call fcn.1000a160
push 3
push esi
lea ecx, [ebp - 0x54]
push ecx
push eax
call fcn.100090e0
mov esi, eax
cmp esi, edi
je 0x1001b317
push str.CLSID_
lea edx, [ebp + 0x2c]
push 0x80
push edx
call fcn.1001ac50
push esi
lea eax, [ebp + 0x2c]
push 0x80
push eax
call fcn.1001ac70
push str.Required_Categories
lea ecx, [ebp + 0x2c]
push 0x80
push ecx
call fcn.1001ac70
add esp, 0x24
push 0x20019
lea edx, [ebp + 0x2c]
push edx
push closesocket
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x80], SysStringLen
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
call fcn.10009520
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x1001b280
mov ecx, dword [ebp - 0x74]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x6c]
push eax
push 0
push 0
push 0
push ecx
call edi
lea ecx, [ebp - 0x74]
mov ebx, eax
call fcn.100094f0
test ebx, ebx
jne 0x1001b280
cmp dword [ebp - 0x6c], ebx
jne 0x1001b280
lea edx, [ebp + 0x2c]
push edx
lea ecx, [ebp - 0x80]
call fcn.10009490
push str.CLSID_
lea eax, [ebp + 0x2c]
push 0x80
push eax
call fcn.1001ac50
push esi
lea ecx, [ebp + 0x2c]
push 0x80
push ecx
call fcn.1001ac70
push str.Implemented_Categories
lea edx, [ebp + 0x2c]
push 0x80
push edx
call fcn.1001ac70
add esp, 0x24
push 0x20019
lea eax, [ebp + 0x2c]
push eax
push closesocket
lea ecx, [ebp - 0x74]
call fcn.10009520
test eax, eax
jne 0x1001b305
mov edx, dword [ebp - 0x74]
push eax
push eax
push eax
push eax
push eax
push eax
push eax
lea ecx, [ebp - 0x6c]
push ecx
push eax
push eax
push eax
push edx
call edi
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.100094f0
test esi, esi
jne 0x1001b305
cmp dword [ebp - 0x6c], esi
jne 0x1001b305
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x80]
call fcn.10009490
lea ecx, [ebp - 0x74]
call fcn.10009e40
lea ecx, [ebp - 0x80]
call fcn.10009e40
xor edi, edi
lea ecx, [ebp - 0x78]
call fcn.10009c30
mov eax, dword [ebp - 0x68]
cmp eax, edi
je 0x1001b32e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xac]
xor ecx, ebp
call fcn.100233b7
add ebp, 0xb0
mov esp, ebp
pop ebp
ret 0xc