Function at 0x407ca0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41f974
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4282d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
mov dword [ebp - 4], 0
push ecx
mov word [ebp - 0x218], ax
call fcn.00410020
add esp, 0xc
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
push ecx
push str.Start_Page
push str.SoftwareMicrosoftInternet_ExplorerMain
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x220], 0x102
mov dword [ebp - 0x21c], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x21c], ebx
lea esi, [ebp - 0x218]
shr esi, 0x10
mov byte [ebp - 4], 1
test esi, esi
jne 0x407d81
lea ecx, [ebp - 0x218]
movzx edi, cx
push edi
call fcn.00402bb0
add esp, 4
test eax, eax
je 0x407dba
push eax
mov eax, edi
lea edi, [ebp - 0x21c]
call fcn.00402790
jmp 0x407db4
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x407d90
sub eax, edx
lea edx, [ebp - 0x218]
sar eax, 1
push edx
lea ecx, [ebp - 0x21c]
push ecx
mov ebx, eax
call fcn.004029b0
mov ebx, dword [ebp - 0x21c]
push 0x104
lea edx, [ebp - 0x218]
push 0
push edx
mov byte [ebp - 4], 2
call fcn.00410020
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x228]
push edx
push str.Start_Page
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocString
mov dword [ebp - 0x224], 0x102
mov dword [ebp - 0x228], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
lea edi, [eax + 0x10]
mov dword [ebp - 0x220], edi
mov byte [ebp - 4], 3
lea eax, [ebp - 0x218]
test esi, esi
jne 0x407e58
movzx esi, ax
push esi
call fcn.00402bb0
add esp, 4
test eax, eax
je 0x407e90
push eax
mov eax, esi
lea edi, [ebp - 0x220]
call fcn.00402790
jmp 0x407e8a
lea edx, [eax + 2]
jmp 0x407e60
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x407e60
sub eax, edx
lea ecx, [ebp - 0x218]
sar eax, 1
push ecx
lea edx, [ebp - 0x220]
push edx
mov ebx, eax
call fcn.004029b0
mov ebx, dword [ebp - 0x21c]
mov edi, dword [ebp - 0x220]
xor eax, eax
test edi, edi
setne al
mov byte [ebp - 4], 4
test eax, eax
jne 0x407ea9
push 0x80004005
call fcn.00402e70
push edi
push ebx
call fcn.0040ed81
add esp, 8
test eax, eax
jne 0x407f7c
cmp dword [edi - 0xc], eax
je 0x407f7c
test ebx, ebx
setne al
test eax, eax
jne 0x407ed7
push 0x80004005
call fcn.00402e70
mov eax, dword [ebp + 8]
mov ecx, ebx
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x407f06
test dx, dx
je 0x407f02
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x407f06
add eax, 4
add ecx, 4
test dx, dx
jne 0x407ee0
xor eax, eax
jmp 0x407f0b
sbb eax, eax
sbb eax, 0xffffffff
or edx, 0xffffffff
test eax, eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
jne 0x407f89
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407f2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407f4f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407f75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x407fe4
lea eax, [edi - 0x10]
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407f9c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407fbc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407fe2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040d58c
mov esp, ebp
pop ebp
ret