Function at 0x451b40
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4d8106
push eax
mov eax, 0x14b0
mov dword fs:[0], esp
call fcn.004d3780
push ebx
mov ebx, ecx
push ebp
push esi
push edi
lea ecx, [ebx + 0x43d8]
mov dword [esp + 0x1c], ebx
call fcn.004bf0d0
cmp eax, dword [esp + 0x14d4]
jne 0x4524e2
mov edi, dword [ebx + 0x24acc]
test edi, edi
mov dword [esp + 0x14], edi
je 0x4524e2
mov esi, dword [esp + 0x14d0]
mov ebp, dword [esp + 0x14d8]
cmp esi, 2
jne 0x451c18
mov edi, dword [sym.imp.USER32.dll_GetMenuItemInfoW]
lea eax, [esp + 0x38]
push eax
push 0
push 0x4e20
push ebp
mov dword [esp + 0x48], 0x30
mov dword [esp + 0x4c], 4
mov dword [esp + 0x5c], 0
call edi
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x451be4
push eax
call fcn.004bcf20
add esp, 4
lea ecx, [esp + 0x38]
mov dword [esp + 0x4c], 0
push ecx
push 0
push 0x9c6e
push ebp
call edi
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x451c14
cmp dword [ebx + 0x30194], eax
je 0x451c14
push eax
call fcn.004bcf20
add esp, 4
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x14dc]
test eax, eax
je 0x4524e2
test esi, esi
jne 0x451c4d
push 1
mov ecx, ebx
call fcn.0044f310
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9c63
push ebp
call dword [sym.imp.USER32.dll_CheckMenuItem]
jmp 0x4524e2
cmp esi, 1
jne 0x451c73
push esi
mov ecx, edi
call fcn.004a0640
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9c90
push ebp
call dword [sym.imp.USER32.dll_CheckMenuItem]
jmp 0x4524e2
cmp esi, 2
jne 0x45226b
push ebp
mov ecx, ebx
call fcn.004571f0
mov ebx, dword [sym.imp.USER32.dll_CheckMenuItem]
push 0
push 0x800e
push ebp
call ebx
push 0
push 0x800f
push ebp
call ebx
push 0
push 0x8010
push ebp
call ebx
push 0
push 0x8011
push ebp
call ebx
push 0
push 0x8012
push ebp
call ebx
mov ecx, edi
call fcn.0049fe60
test eax, eax
jl 0x451cd7
cmp eax, 4
jg 0x451cd7
add eax, 0x800e
push 8
push eax
push ebp
call ebx
push 3
push ebp
mov dword [esp + 0x40], 0x30
mov dword [esp + 0x44], 6
call dword [sym.imp.USER32.dll_GetSubMenu]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov edi, 1
mov dword [esp + 0x18], eax
cmp eax, edi
jle 0x451d5c
push 0x400
push edi
push esi
call ebx
push 0x400
lea edx, [esp + 0x274]
push 0x103
push edx
push edi
push esi
call dword [sym.imp.USER32.dll_GetMenuStringW]
test eax, eax
je 0x451d53
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x270]
add eax, 0x44
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x451d53
push 0x408
push edi
push esi
call ebx
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
jl 0x451d06
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 0x30194]
test eax, eax
je 0x451dcb
lea edx, [esp + 0x38]
mov esi, 0x30
push edx
push 0
push 0x9c6e
push ebp
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], 4
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
je 0x451dcb
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x451dcb
mov eax, dword [edi + 0x30194]
lea ecx, [esp + 0x38]
push ecx
push 0
push 0x9c6e
push ebp
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], 6
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], 0x9c6e
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
call fcn.00490320
xor esi, esi
cmp eax, esi
je 0x451e55
mov ecx, eax
call fcn.004b2ae0
mov edx, dword [0x6bfb18]
and edx, 1
shl edx, 3
push edx
push 0x8091
push ebp
call ebx
mov eax, dword [0x6bfb18]
and eax, 4
shl eax, 1
push eax
push 0x8092
push ebp
call ebx
mov ecx, dword [0x6bfb18]
and ecx, 8
push ecx
push 0x8093
push ebp
call ebx
mov edx, dword [0x6bfb18]
and edx, 2
shl edx, 2
push edx
push 0x8094
push ebp
call ebx
mov eax, dword [0x6bfb18]
shr eax, 1
and eax, 8
push eax
push 0x8095
push ebp
call ebx
mov ecx, dword [0x6c2ea8]
neg ecx
sbb ecx, ecx
and ecx, 8
push ecx
push 0x8085
push ebp
call ebx
mov ecx, dword [edi + 0x2b5ac]
mov dword [esp + 0x18], esi
cmp ecx, esi
je 0x451e86
call fcn.004aa910
mov eax, dword [edi + 0x2b5ac]
mov ecx, dword [eax + 4]
cmp ecx, esi
jne 0x451e7b
mov dword [esp + 0x18], esi
jmp 0x451e86
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 1
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x38]
neg edx
sbb edx, edx
push eax
and edx, 0xfffffffd
push esi
add edx, 3
push 0x4e20
push ebp
mov dword [esp + 0x4c], 1
mov dword [esp + 0x54], edx
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
cmp dword [edi + 0x2b5ac], esi
je 0x4524e2
mov ecx, dword [0x4eb4c0]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14c8], esi
cmp eax, esi
jle 0x45222f
mov dword [esp + 0x14], 0xffffffff
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov ecx, dword [edi + 0x2b5ac]
mov esi, eax
mov dword [esp + 0x34], esi
call fcn.004ab000
test esi, esi
mov dword [esp + 0x20], eax
je 0x45222f
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], 0
test eax, eax
jle 0x4521c8
jmp 0x451f20
mov edi, dword [esp + 0x1c]
mov edx, dword [edi + 0x2b5ac]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x3c], 0x42
mov dword [esp + 0x40], 0
mov eax, dword [edx + 4]
mov dx, word [eax + ecx*2]
lea eax, [esp + 0x30]
push edx
push eax
call fcn.004aac10
add esp, 8
mov ebx, eax
mov esi, dword [ebx]
mov edi, dword [esp + 0x10]
cmp edi, esi
mov byte [esp + 0x14c8], 1
je 0x452016
mov eax, dword [edi - 0xc]
lea ecx, [edi - 0xc]
test eax, eax
jge 0x451f7c
lea edx, [edi - 0xc]
cmp edx, dword [0x4eb24c]
jne 0x451f83
mov edx, dword [esi - 0xc]
test edx, edx
jge 0x451fd1
mov ebx, dword [esi - 8]
cmp eax, 1
jg 0x451f90
cmp ebx, dword [edi - 4]
jle 0x451fab
lea ecx, [esp + 0x10]
call fcn.00407610
push ebx
lea ecx, [esp + 0x14]
call fcn.00407580
mov edi, dword [esp + 0x10]
test eax, eax
je 0x452016
lea eax, [ebx + ebx]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], ebx
mov edx, dword [esp + 0x10]
mov word [eax + edx], 0
jmp 0x452012
mov eax, dword [0x4eb24c]
add edi, 0xfffffff4
cmp edi, eax
je 0x452002
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x451ff8
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.004d3765
add esp, 4
mov ecx, dword [0x4eb4c0]
mov dword [esp + 0x10], ecx
mov ebx, dword [ebx]
mov dword [esp + 0x10], ebx
add ebx, 0xfffffff4
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
mov ecx, dword [0x4eb24c]
mov byte [esp + 0x14c8], 0
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x452051
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x45204d
mov eax, dword [esp + 0x30]
add eax, 0xfffffff4
push eax
call fcn.004d3765
add esp, 4
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x45214c
push 0x28
call fcn.004ae820
mov esi, eax
add esp, 4
test esi, esi
mov dword [esp + 0x28], esi
je 0x452148
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
je 0x452148
mov edi, dword [esp + 0x10]
mov eax, dword [edi - 0xc]
lea ecx, [edi - 0xc]
cmp eax, 1
mov dword [esp + 0x2c], ecx
jg 0x4520d3
mov eax, dword [edi - 8]
lea edx, [eax + ebx]
cmp edx, dword [edi - 4]
jg 0x4520d3
lea ecx, [ebx + ebx]
lea edi, [edi + eax*2]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
add ecx, ebx
mov dword [eax - 8], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
mov word [eax + ecx*2], 0
jmp 0x452148
mov esi, dword [edi - 8]
lea eax, [esi + ebx]
test eax, eax
je 0x452128
push eax
lea ecx, [esp + 0x14]
call fcn.00407580
test eax, eax
je 0x452148
lea eax, [esi + esi]
mov esi, edi
mov edi, dword [esp + 0x10]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
lea ecx, [ebx + ebx]
lea edi, [eax + edx]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [0x4eb24c]
je 0x45214c
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x452148
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004d3765
add esp, 4
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
push 0
push 0
push 0xffffffffffffffff
lea edx, [esi + 0x4e21]
lea ecx, [esp + 0x44]
push 0
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x44]
push ecx
mov dword [esp + 0x70], edi
mov eax, dword [edi - 8]
push 1
push esi
push edx
mov dword [esp + 0x80], eax
call fcn.004bcce0
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x2b5ac]
mov eax, dword [ecx + 0x14]
mov edx, dword [eax + esi*4]
mov eax, dword [esp + 0x40]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x28
test eax, eax
jne 0x4521ad
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x18]
inc esi
cmp esi, eax
mov dword [esp + 0x24], esi
jl 0x451f1c
mov ebx, dword [sym.imp.USER32.dll_CheckMenuItem]
mov esi, dword [esp + 0x34]
push esi
call fcn.004bdbc0
add esp, 4
lea edx, [esp + 0x38]
mov dword [esp + 0x38], 0x30
mov dword [esp + 0x3c], 4
push edx
push 0
push 0x4e20
push ebp
mov dword [esp + 0x5c], esi
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
je 0x452213
mov edi, dword [esp + 0x14]
cmp edi, 0xffffffff
jne 0x45221f
mov dword [esp + 0x14], 0x4e21
mov edi, dword [esp + 0x14]
push 8
push edi
push esi
call ebx
push 2
push edi
push esi
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov eax, dword [esp + 0x10]
mov edx, dword [0x4eb24c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4524e2
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4524e2
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004d3765
add esp, 4
jmp 0x4524e2
cmp esi, 4
jne 0x4524e2
mov eax, dword [0x6c3ebc]
mov edi, dword [sym.imp.USER32.dll_CheckMenuItem]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x8037
push ebp
call edi
mov ecx, dword [0x6c2e88]
neg ecx
sbb ecx, ecx
and ecx, 8
push ecx
push 0x8031
push ebp
call edi
mov edx, dword [0x6c2e8c]
neg edx
sbb edx, edx
and edx, 8
push edx
push 0x8032
push ebp
call edi
mov eax, dword [0x6c2eb4]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x80ad
push ebp
call edi
push 0
push ebp
lea ecx, [ebx + 0xf814]
call fcn.00465df0
push 0
push 0x80df
push ebp
call fcn.004bdb50
push 0
call fcn.00434e70
mov ebx, eax
add esp, 0x10
xor esi, esi
test ebx, ebx
jne 0x452365
mov ecx, 0x81
lea edi, [esp + 0x6a]
mov word [esp + 0x68], si
lea edx, [esp + 0x68]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 1
stosw word es:[edi], ax
push ecx
lea eax, [esp + 0x24]
push edx
push eax
push 0x4ffec0
push str.SOFTWAREClientsStartMenuInternet
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x40], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [esp + 0x68]
push str.IEXPLORE.EXE
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x45235f
mov esi, 1
mov edi, dword [sym.imp.USER32.dll_CheckMenuItem]
neg ebx
sbb ebx, ebx
and ebx, 8
push ebx
push 0xa096
push ebp
call edi
neg esi
sbb esi, esi
and esi, 8
push esi
push 0xa097
push ebp
call edi
mov edx, dword [0x6d91e4]
neg edx
sbb edx, edx
and edx, 8
push edx
push 0xa07c
push ebp
call edi
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x47a]
mov word [esp + 0x478], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
push 0
stosw word es:[edi], ax
lea eax, [esp + 0x47c]
push eax
call fcn.0049f9d0
lea ecx, [esp + 0x478]
push ecx
push 0
call fcn.0040cb10
add esp, 8
cmp eax, 2
jne 0x4523e5
push 1
jmp 0x4523ff
test eax, eax
je 0x4523fd
mov esi, dword [sym.imp.USER32.dll_EnableMenuItem]
push 1
push 0x9c6f
push ebp
call esi
push 0
jmp 0x45240f
push 0
mov esi, dword [sym.imp.USER32.dll_EnableMenuItem]
push 0x9c6f
push ebp
call esi
push 1
push 0x9c70
push ebp
call esi
mov edx, dword [0x6bfb2c]
mov edi, dword [sym.imp.USER32.dll_CheckMenuRadioItem]
add edx, 0xa099
push 8
push edx
push 0xa09b
push 0xa099
push ebp
call edi
mov eax, dword [0x6dbf34]
push 8
test eax, eax
je 0x45245e
mov eax, dword [0x6cc9d0]
add eax, 0xa0a6
push eax
push 0xa0a7
push 0xa0a6
push ebp
call edi
jmp 0x45247a
push 0xa0a6
push 0xa0a7
push 0xa0a6
push ebp
call edi
push 1
push 0xa0a7
push ebp
call esi
mov ecx, dword [0x6bfb64]
mov esi, dword [sym.imp.USER32.dll_CheckMenuItem]
neg ecx
sbb ecx, ecx
and ecx, 0xfffffff8
add ecx, 8
push ecx
push 0xa06e
push ebp
call esi
mov edx, dword [0x6bfb64]
dec edx
neg edx
sbb edx, edx
and edx, 0xfffffff8
add edx, 8
push edx
push 0xa06f
push ebp
call esi
mov edi, dword [0x6bfb64]
xor eax, eax
cmp edi, 2
setne al
dec eax
and eax, 8
push eax
push 0xa070
push ebp
call esi
mov esi, dword [esp + 0x1c]
push ebp
mov ecx, esi
call fcn.00459a50
push ebp
mov ecx, esi
call fcn.004597c0
mov ecx, dword [esp + 0x14c0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14bc
ret 0x10