Function at 0x466e60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x474
mov eax, dword [0x4a7534]
xor eax, ebp
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push str.HTTP_shellopencommand
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x466ebb
jmp 0x4670c0
mov word [ebp - 0x230], 0
push 0x206
push 0
lea ecx, [ebp - 0x22e]
push ecx
call fcn.00449450
add esp, 0xc
mov dword [ebp - 0xc], 0x104
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x230]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x466f0b
jmp 0x4670c0
mov dword [ebp - 0x1c], 0
lea edx, [ebp - 0x230]
mov dword [ebp - 0x458], edx
mov eax, dword [ebp - 0x458]
add eax, 2
mov dword [ebp - 0x45c], eax
mov ecx, dword [ebp - 0x458]
mov dx, word [ecx]
mov word [ebp - 0x45e], dx
add dword [ebp - 0x458], 2
cmp word [ebp - 0x45e], 0
jne 0x466f2d
mov eax, dword [ebp - 0x458]
sub eax, dword [ebp - 0x45c]
sar eax, 1
mov dword [ebp - 0x464], eax
mov ecx, dword [ebp - 0x464]
sub ecx, 1
mov dword [ebp - 0x18], ecx
movzx edx, word [ebp - 0x230]
cmp edx, 0x22
jne 0x466f81
mov dword [ebp - 0x1c], 1
lea eax, [ebp - 0x230]
mov dword [ebp - 0x468], eax
mov ecx, dword [ebp - 0x468]
add ecx, 2
mov dword [ebp - 0x46c], ecx
mov edx, dword [ebp - 0x468]
mov ax, word [edx]
mov word [ebp - 0x46e], ax
add dword [ebp - 0x468], 2
cmp word [ebp - 0x46e], 0
jne 0x466f9c
mov ecx, dword [ebp - 0x468]
sub ecx, dword [ebp - 0x46c]
sar ecx, 1
mov dword [ebp - 0x474], ecx
mov edx, dword [ebp - 0x474]
sub edx, 1
mov dword [ebp - 0x234], edx
jmp 0x466ff1
mov eax, dword [ebp - 0x234]
sub eax, 1
mov dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x234]
cmp ecx, dword [ebp - 0x1c]
jle 0x46706d
mov word [ebp - 0x23c], 0
xor edx, edx
mov dword [ebp - 0x23a], edx
mov word [ebp - 0x236], dx
push 3
mov eax, dword [ebp - 0x234]
lea ecx, [ebp + eax*2 - 0x234]
push ecx
push 4
lea edx, [ebp - 0x23c]
push edx
call fcn.00446b69
add esp, 0x10
mov word [ebp - 0x236], 0
push 0x493164
lea eax, [ebp - 0x23c]
push eax
call fcn.00447f9f
add esp, 8
test eax, eax
jne 0x467068
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], 1
jmp 0x46706d
jmp 0x466fe2
cmp dword [ebp - 0x10], 0
je 0x4670c0
mov edx, dword [ebp + 8]
mov word [edx], 0x22
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
add eax, 1
push eax
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp + ecx*2 - 0x230]
push edx
push 0x103
mov eax, dword [ebp + 8]
add eax, 2
push eax
call fcn.00446b69
add esp, 0x10
push 0x49316c
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00447b5c
add esp, 0xc
mov dword [ebp - 4], 1
cmp dword [ebp - 8], 0
je 0x4670d0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], 0
jne 0x467199
mov dword [ebp - 0x240], 0
lea ecx, [ebp - 0x240]
push ecx
push 0x20019
push 0
push 0x493170
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x467183
mov word [ebp - 0x450], 0
push 0x206
push 0
lea edx, [ebp - 0x44e]
push edx
call fcn.00449450
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x450]
push ecx
lea edx, [ebp - 0x244]
push edx
push 0
push str.ProgramFilesDir
mov eax, dword [ebp - 0x240]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x454], eax
cmp dword [ebp - 0x454], 0
jne 0x467183
lea ecx, [ebp - 0x450]
push ecx
push str._sInternet_ExplorerIEXPLORE.exe
push 0x104
mov edx, dword [ebp + 8]
push edx
call fcn.00446193
add esp, 0x10
mov dword [ebp - 4], 1
cmp dword [ebp - 0x240], 0
je 0x467199
mov eax, dword [ebp - 0x240]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.00445c6a
mov esp, ebp
pop ebp
ret