Function at 0x10004ec0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x1000c2c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x254
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x270]
lea eax, [esp + 0x20]
push eax
mov esi, 1
push str.SoftwareMicrosoftInternet_ExplorerURLSearchHooks
push ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x34], esi
call dword [0x1000d014]
xor ebx, ebx
cmp eax, ebx
jne 0x100051cf
mov ecx, dword [esp + 0x20]
push ebp
push ebx
push ebx
push ebx
lea edx, [esp + 0x2c]
push ebx
lea eax, [esp + 0x6c]
push edx
push eax
push ebx
push ecx
mov dword [esp + 0x40], 0x104
mov dword [esp + 0x50], esi
call dword [0x1000d010]
test eax, eax
jne 0x100051bd
cmp byte [esp + 0x5c], 0x7b
jne 0x1000513f
lea edx, [esp + 0x5c]
push edx
push str.CFBFAE00_17A6_11D0_99CB_00C04FD64497
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1000513f
lea eax, [esp + 0x160]
lea ecx, [esp + 0x5c]
push eax
push ecx
mov ecx, edi
call fcn.10004e50
test eax, eax
je 0x1000513f
lea edx, [esp + 0x160]
push edx
call dword [0x1000d1cc]
test eax, eax
je 0x1000513f
mov eax, dword [0x1000f07c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x274]
mov edx, str.SoftwareMicrosoftInternet_ExplorerURLSearchHooks
test edx, edx
mov dword [esp + 0x26c], ebx
mov dword [esp + 0x10], ecx
jne 0x10004fbf
xor esi, esi
jmp 0x10004fd0
push str.SoftwareMicrosoftInternet_ExplorerURLSearchHooks
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 1
jg 0x10004fdb
cmp esi, dword [eax - 4]
jle 0x10004ff6
lea ecx, [esp + 0x14]
call fcn.10002f40
push esi
lea ecx, [esp + 0x18]
call fcn.10002d80
cmp eax, ebx
je 0x10005017
mov eax, dword [esp + 0x14]
push esi
lea ecx, [esi + 1]
push str.SoftwareMicrosoftInternet_ExplorerURLSearchHooks
push ecx
push eax
call fcn.10002720
mov edx, dword [esp + 0x24]
add esp, 0x10
mov dword [edx - 8], esi
mov eax, dword [esp + 0x14]
mov byte [esi + eax], bl
lea ecx, [esp + 0x5c]
test ecx, ecx
jne 0x10005023
xor ebp, ebp
jmp 0x10005030
lea edx, [esp + 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebp, eax
push ebp
lea ecx, [esp + 0x1c]
call fcn.10002ea0
test eax, eax
je 0x1000506f
lea eax, [ebp + 1]
cmp eax, ebp
jb 0x10005061
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x5c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
mov dword [eax - 8], ebp
mov ecx, dword [esp + 0x18]
mov byte [ecx + ebp], bl
mov eax, dword [0x1000f07c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
lea edx, [esp + 0x2b]
lea ecx, [esp + 0x4c]
push edx
mov byte [esp + 0x270], 3
mov dword [esp + 0x4c], ebx
call fcn.10003530
lea eax, [esp + 0x160]
lea ecx, [esp + 0x40]
push eax
mov byte [esp + 0x270], 4
mov dword [esp + 0x3c], 1
call fcn.10006510
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x54]
call fcn.10005de0
mov eax, dword [edi]
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
call dword [eax + 4]
lea ecx, [esp + 0x38]
mov esi, eax
mov byte [esp + 0x26c], bl
call fcn.10003440
cmp esi, ebx
je 0x10005176
mov eax, dword [esp + 0x18]
mov ecx, dword [0x1000f030]
mov dword [esp + 0x26c], 0xffffffff
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x10005136
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x10005136
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.1000bdea
add esp, 4
lea ecx, [esp + 0x14]
call fcn.10002d50
mov ecx, dword [esp + 0x30]
push ebx
mov eax, ecx
inc ecx
mov dword [esp + 0x34], ecx
push ebx
push ebx
lea ecx, [esp + 0x2c]
push ebx
lea edx, [esp + 0x6c]
push ecx
push edx
push eax
mov eax, dword [esp + 0x40]
push eax
mov dword [esp + 0x40], 0x104
call dword [0x1000d010]
test eax, eax
je 0x10004f3e
jmp 0x100051bd
mov eax, dword [esp + 0x18]
mov edx, dword [0x1000f030]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x26c], 0xffffffff
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x100051b4
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x100051b4
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.1000bdea
add esp, 4
lea ecx, [esp + 0x14]
call fcn.10002d50
mov eax, dword [esp + 0x24]
push eax
call dword [0x1000d01c]
mov eax, dword [esp + 0x2c]
pop ebp
jmp 0x100051d1
mov eax, esi
mov ecx, dword [esp + 0x260]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x260
ret 4