Function at 0x10009380
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x1001b25b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x254
mov eax, dword [0x100215e0]
mov edx, dword [str.SoftwareMicrosoftInternet_ExplorerToolbar]
push edi
lea ecx, [esp + 0xc]
push ecx
push 0x20019
xor edi, edi
push edi
mov dword [esp + 0x260], eax
mov eax, dword [esp + 0x274]
push edx
push 0x80000002
mov byte [eax], 0
mov dword [esp + 0x20], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x100095dc
mov eax, dword [0x10034220]
push ebx
push ebp
push esi
mov ecx, 0x10034220
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov cl, 0xd
mov byte [esp + 0x28], cl
mov byte [esp + 0x2b], cl
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x40], edx
mov al, 0xe
mov dword [esp + 0x34], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x26c], edi
mov byte [esp + 0x29], al
mov byte [esp + 0x2a], 0xa
mov byte [esp + 0x2c], 0xb
mov byte [esp + 0x2d], al
mov byte [esp + 0x2e], al
mov byte [esp + 0x2f], 0xf
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x4c], edx
mov ebp, 0x105
jmp 0x10009450
push 0
push 0
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x24]
push 0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x64]
push edx
push edi
push eax
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov ebx, eax
inc edi
test ebx, ebx
jne 0x10009599
mov edx, dword [str.CLSID_sInprocServer32]
lea ecx, [esp + 0x50]
push ecx
push edx
lea eax, [esp + 0x18]
push eax
call fcn.10001ad4
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push 0x20019
push ebx
push edx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10009450
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x15c]
push ecx
lea edx, [esp + 0x28]
push edx
push ebx
push ebx
push eax
mov dword [esp + 0x2c], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x20], 1
jne 0x10009450
lea edx, [esp + 0x158]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x10009450
push str.DllGetClassObject
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10009549
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
lea ecx, [esp + 0x50]
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x38]
push edx
call eax
cmp eax, 0x463
je 0x10009555
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x10009450
mov eax, dword [esp + 0x274]
lea edx, [esp + 0x50]
mov edi, 0x104
sub edx, eax
mov cl, byte [edx + eax]
test cl, cl
je 0x10009576
mov byte [eax], cl
inc eax
dec edi
jne 0x10009567
jmp 0x1000957a
test edi, edi
jne 0x1000957b
dec eax
mov ecx, dword [esp + 0x278]
mov byte [eax], 0
lea eax, [esp + 0x158]
push eax
call fcn.10009c20
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, 0x103
jne 0x100095ae
xor ebx, ebx
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x26c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100095d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop esi
pop ebp
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x254]
pop edi
call fcn.1000e24e
add esp, 0x260
ret