Function at 0x1002fe38
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x10056f50
call fcn.10052270
sub esp, 0x26c
push ebx
push esi
push edi
mov dword [ebp - 0x24], ecx
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x173]
mov byte [ebp - 0x174], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x277]
mov byte [ebp - 0x278], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x10070040]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], ebx
call fcn.1002f9b7
lea eax, [ebp - 0x1c]
mov esi, str.SOFTWAREMicrosoftInternet_ExplorerURLSearchHooks
push eax
push esi
push dword [ebp + 8]
mov byte [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, ebx
jne 0x100301e7
mov edi, 0x104
lea eax, [ebp - 0x174]
push edi
push ebx
push eax
mov dword [ebp - 0x28], ebx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], 0x103
mov dword [ebp - 0x18], 1
push ebx
push ebx
push eax
lea eax, [ebp - 0x10]
push ebx
push eax
lea eax, [ebp - 0x174]
push eax
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x100301de
lea eax, [ebp - 0x174]
push str.CFBFAE00_17A6_11D0_99CB_00C04FD64497
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
pop ecx
test eax, eax
pop ecx
je 0x100301a9
lea eax, [ebp - 0x174]
push 0x10078b14
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x100301a9
lea eax, [ebp - 0x174]
mov dword [ebp - 0x58], 3
test eax, eax
je 0x1002ff4d
lea eax, [ebp - 0x174]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x174]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.100035e4
push edi
lea eax, [ebp - 0x278]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0x14]
push str.CLSID_s
push eax
call fcn.10009c35
add esp, 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x10], 0x103
push eax
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x10078b14
push dword [ebp - 0x14]
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
lea eax, [ebp - 0x278]
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jne 0x1002ffea
mov ecx, 0x10074e3c
mov eax, ecx
test eax, eax
je 0x1002ffde
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, 0x10074e3c
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.100035e4
jmp 0x10030031
lea eax, [ebp - 0x278]
lea ecx, [ebp - 0x44]
push eax
call fcn.100034da
push eax
lea eax, [ebp - 0x38]
push 0x10074e28
push eax
mov byte [ebp - 4], 2
call fcn.10018353
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.10003640
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.1000349d
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.1000349d
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0x14]
push str.CLSID_sInprocServer32
push eax
call fcn.10009c35
push edi
lea eax, [ebp - 0x278]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x103
push eax
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x10078b14
push dword [ebp - 0x14]
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
lea eax, [ebp - 0x278]
test eax, eax
je 0x10030097
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x278]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.100035e4
mov eax, esi
test eax, eax
je 0x100300b4
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push eax
lea ecx, [ebp - 0x54]
call fcn.100035e4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x5c], eax
mov al, byte [ebp + 0xb]
mov byte [ebp - 0x70], al
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
push dword [ebp - 0x18]
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
call fcn.100034da
push ecx
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x34], esp
push esi
call fcn.100034da
push dword [ebp + 8]
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.1001e483
add esp, 0x18
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.1004b071
test eax, eax
jne 0x10030191
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x40]
push 0x1007437c
push eax
call fcn.10018353
mov eax, dword [eax]
push 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x70]
push eax
push ebx
push 2
mov byte [ebp - 4], 8
call fcn.1001e056
pop ecx
push eax
mov ecx, dword [ebp - 0x24]
push dword [ebp - 0x3c]
push 0x10070cfc
push dword [ebp - 0x34]
push dword [ebp - 0x30]
call fcn.1004ac01
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.1000349d
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x24]
lea ecx, [eax + 0x64]
call fcn.100304c1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.1000349d
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.10003457
inc dword [ebp - 0x28]
push edi
lea eax, [ebp - 0x174]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], 0x103
push ebx
push ebx
push eax
lea eax, [ebp - 0x10]
push ebx
push eax
lea eax, [ebp - 0x174]
push eax
push dword [ebp - 0x28]
jmp 0x1002fee8
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.1002fa07
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1000349d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4