Function at 0x407150
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4405d8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push esi
push edi
mov eax, dword [0x454740]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0x448d14
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 0
call fcn.004035d0
push 0xff
mov dword [esp + 0x2c], 0
call fcn.0040b095
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftInternet_ExplorerMain_
push SysReAllocString
mov dword [esp + 0x30], 1
mov dword [esp + 0x2c], 0xff
call edi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x407204
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push esi
lea edx, [esp + 0x24]
push edx
push 0
push str.Start_Page
push eax
call ebp
test eax, eax
jne 0x407204
mov byte [0x458aa0], 1
jmp 0x40728d
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push 0
push str.SOFTWAREMicrosoftInternet_ExplorerMain_
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x40728d
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push 0
push str.Start_Page
push ecx
call ebp
test eax, eax
je 0x407286
push esi
call fcn.0040b08a
add esp, 4
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40726e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret
mov byte [0x458aa0], 0
push esi
lea ecx, [esp + 0x14]
push 0x449868
push ecx
call fcn.004025d0
push esi
call fcn.0040b08a
mov edx, dword [esp + 0x24]
add esp, 0x10
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [0x455bec]
xor esi, esi
test edi, edi
jle 0x407366
mov edx, dword [0x455be8]
test esi, esi
jl 0x4073e7
cmp esi, dword [0x455bec]
jge 0x4073e7
mov eax, dword [edx + esi*8 + 4]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jne 0x407313
test ecx, ecx
jl 0x4073a3
movzx eax, word [eax]
cmp ax, 0x31
jne 0x407313
mov edx, dword [edx + esi*8]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.0042a865
add esp, 8
test eax, eax
jne 0x407246
jmp 0x407357
mov ecx, dword [edx + esi*8 + 4]
cmp dword [ecx - 0xc], 0
je 0x40735d
mov edx, ecx
push edx
mov edx, dword [esp + 0x14]
push edx
call fcn.0042a865
add esp, 8
test eax, eax
je 0x407357
cmp esi, dword [0x455bec]
jge 0x4073e7
mov eax, dword [0x455be8]
mov eax, dword [eax + esi*8]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.0042a865
add esp, 8
test eax, eax
je 0x4073ad
mov edx, dword [0x455be8]
inc esi
cmp esi, edi
jl 0x4072c7
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40738e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret
push 0x80070057
call fcn.00401700
cmp esi, dword [0x455bec]
jge 0x4073e7
mov ecx, dword [0x455be8]
lea eax, [ecx + esi*8]
push eax
mov ecx, 0x458c04
call fcn.00402a10
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x407382
call fcn.0040b37e
int3