Function at 0x40ee00
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x49c
mov eax, dword [0x43e2c4]
xor eax, ebp
mov dword [ebp - 0x30], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
push 0x280
push 0
push 0x4506e8
call fcn.00401f00
add esp, 0xc
push 0x280
push 0
push 0x450468
call fcn.00401f00
add esp, 0xc
mov dword [ebp - 4], 0x20119
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
push str.SOFTWAREClientsStartMenuInternet
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40ee89
mov dword [ebp - 0xc], 0xffffffff
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x40f166
mov dword [ebp - 0x49c], 0
jmp 0x40eea4
mov eax, dword [ebp - 0x49c]
add eax, 1
mov dword [ebp - 0x49c], eax
mov dword [ebp - 0x2c], 0x118
push 0x230
push 0
lea ecx, [ebp - 0x260]
push ecx
call fcn.00401f00
add esp, 0xc
lea edx, [ebp - 0x18]
push edx
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x260]
push ecx
mov edx, dword [ebp - 0x49c]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40ef0f
cmp dword [ebp - 0x49c], 0
jne 0x40ef0a
mov dword [ebp - 0xc], 0xfffffffe
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x40f155
push str.shellopencommand
lea edx, [ebp - 0x260]
push edx
push 0x432f34
lea eax, [ebp - 0x498]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov dword [ebp - 0x264], 0
jmp 0x40ef4b
mov ecx, dword [ebp - 0x264]
add ecx, 1
mov dword [ebp - 0x264], ecx
mov edx, dword [ebp - 0x264]
movzx eax, word [ebp + edx*2 - 0x260]
test eax, eax
je 0x40ef97
mov ecx, dword [ebp - 0x264]
movzx edx, word [ebp + ecx*2 - 0x260]
cmp edx, 0x2e
je 0x40ef83
mov eax, dword [ebp - 0x264]
movzx ecx, word [ebp + eax*2 - 0x260]
cmp ecx, 0x2d
jne 0x40ef95
xor edx, edx
mov eax, dword [ebp - 0x264]
mov word [ebp + eax*2 - 0x260], dx
jmp 0x40ef97
jmp 0x40ef3c
mov dword [ebp - 0x24], 0x118
lea ecx, [ebp - 0x260]
push ecx
mov edx, dword [ebp - 0x49c]
shl edx, 7
add edx, 0x4506e8
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
lea edx, [ebp - 0x498]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40eff5
mov dword [ebp - 0xc], 0xfffffffd
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x40f155
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 0
push 0x432fb0
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40f03e
mov dword [ebp - 0xc], 0xfffffffc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40f155
lea edx, [ebp - 0x260]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x264], 0
jmp 0x40f062
mov eax, dword [ebp - 0x264]
add eax, 1
mov dword [ebp - 0x264], eax
mov ecx, dword [ebp - 0x264]
movzx edx, word [ebp + ecx*2 - 0x260]
test edx, edx
je 0x40f099
mov eax, dword [ebp - 0x264]
movzx ecx, word [ebp + eax*2 - 0x260]
cmp ecx, 0x5c
jne 0x40f097
mov edx, dword [ebp - 0x264]
lea eax, [ebp + edx*2 - 0x25e]
mov dword [ebp - 0x1c], eax
jmp 0x40f053
mov dword [ebp - 0x264], 0
jmp 0x40f0b4
mov ecx, dword [ebp - 0x264]
add ecx, 1
mov dword [ebp - 0x264], ecx
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + edx*2]
test ecx, ecx
je 0x40f12c
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + edx*2]
cmp ecx, 0x41
jl 0x40f106
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + edx*2]
cmp ecx, 0x5a
jg 0x40f106
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + edx*2]
add ecx, 0x20
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x1c]
mov word [eax + edx*2], cx
mov ecx, dword [ebp - 0x264]
mov edx, dword [ebp - 0x1c]
movzx eax, word [edx + ecx*2]
cmp eax, 0x22
jne 0x40f127
xor ecx, ecx
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x1c]
mov word [eax + edx*2], cx
jmp 0x40f0a5
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x49c]
shl edx, 7
add edx, 0x450468
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40ee95
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40f166
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.00401ee7
mov esp, ebp
pop ebp
ret