Function at 0x1002fa58
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x10056efc
call fcn.10052270
sub esp, 0x27c
push ebx
push esi
push edi
mov dword [ebp - 0x20], ecx
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x183]
mov byte [ebp - 0x184], 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 - 0x287]
mov byte [ebp - 0x288], bl
mov dword [ebp - 0x2c], 1
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 - 0x5c]
mov dword [ebp - 4], ebx
call fcn.1002f9b7
lea eax, [ebp - 0x24]
mov edi, str.SOFTWAREMicrosoftInternet_ExplorerToolbar
push eax
push edi
push dword [ebp + 8]
mov byte [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, ebx
jne 0x1002fe10
mov esi, 0x104
lea eax, [ebp - 0x184]
push esi
push ebx
push eax
mov dword [ebp - 0x1c], ebx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x28]
or dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x10], 0x103
push ebx
push ebx
push eax
lea eax, [ebp - 0x10]
push ebx
push eax
lea eax, [ebp - 0x184]
push eax
push ebx
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x1002fe07
cmp byte [ebp - 0x184], 0x7b
jne 0x1002fdd2
lea eax, [ebp - 0x184]
mov dword [ebp - 0x54], 2
test eax, eax
je 0x1002fb48
lea eax, [ebp - 0x184]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x184]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.100035e4
push esi
lea eax, [ebp - 0x288]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x184]
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 - 0x288]
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 - 0x288]
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jne 0x1002fbe5
mov ecx, 0x10074e10
mov eax, ecx
test eax, eax
je 0x1002fbd9
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, 0x10074e10
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.100035e4
jmp 0x1002fc2c
lea eax, [ebp - 0x288]
lea ecx, [ebp - 0x38]
push eax
call fcn.100034da
push eax
lea eax, [ebp - 0x60]
push 0x10074df4
push eax
mov byte [ebp - 4], 2
call fcn.10018353
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.10003640
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.1000349d
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.1000349d
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x14]
push str.CLSID_sInprocServer32
push eax
call fcn.10009c35
push esi
lea eax, [ebp - 0x288]
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 - 0x288]
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 - 0x288]
test eax, eax
je 0x1002fc92
lea eax, [ebp - 0x288]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x288]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.100035e4
mov eax, edi
test eax, eax
je 0x1002fcaf
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
push eax
lea ecx, [ebp - 0x50]
call fcn.100035e4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x58], eax
mov al, byte [ebp + 0xb]
mov byte [ebp - 0x80], al
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
push dword [ebp - 0x28]
lea eax, [ebp - 0x184]
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 edi
call fcn.100034da
push dword [ebp + 8]
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1001e483
add esp, 0x18
mov al, byte [ebp + 0xb]
mov byte [ebp - 4], 7
mov byte [ebp - 0x70], al
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x70]
push eax
mov byte [ebp - 4], 8
call fcn.100034c9
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
call fcn.1004b071
test eax, eax
jne 0x1002fdae
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
push 0x1007437c
push eax
call fcn.10018353
mov eax, dword [eax]
push 2
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
push 2
mov byte [ebp - 4], 9
call fcn.1001e056
pop ecx
push eax
mov ecx, dword [ebp - 0x20]
push dword [ebp - 0x3c]
push 0x10070cfc
push dword [ebp - 0x34]
push dword [ebp - 0x30]
call fcn.1004ac01
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 8
call fcn.1000349d
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x20]
lea ecx, [eax + 0x64]
call fcn.100304c1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 7
call fcn.10003457
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.1000349d
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.10003457
inc dword [ebp - 0x1c]
push esi
lea eax, [ebp - 0x184]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x28]
mov dword [ebp - 0x10], 0x103
push ebx
push ebx
push eax
lea eax, [ebp - 0x10]
push ebx
push eax
lea eax, [ebp - 0x184]
push eax
push dword [ebp - 0x1c]
jmp 0x1002fb0c
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x5c]
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