Function at 0x42c585
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x495020
call fcn.0046cdfc
sub esp, 0x134
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
lea eax, [ebp - 0x18]
mov edi, 0x20019
push eax
xor ebx, ebx
push edi
push ebx
push str.Software
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea eax, [ebp - 0x14]
push eax
push edi
push ebx
push str.CLASSES
push dword [ebp - 0x18]
call esi
lea eax, [ebp - 0x1c]
push eax
push edi
push ebx
push str..html
push dword [ebp - 0x14]
call esi
test eax, eax
je 0x42c5f3
push dword [ebp - 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x14]
call esi
push dword [ebp - 0x1c]
jmp 0x42c6af
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x104
push eax
lea eax, [ebp - 0x140]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42c5db
lea eax, [ebp - 0x24]
push eax
push edi
lea eax, [ebp - 0x140]
push ebx
push eax
push dword [ebp - 0x14]
call esi
lea eax, [ebp - 0x28]
push eax
push edi
push ebx
push str.shell
push dword [ebp - 0x24]
call esi
lea eax, [ebp - 0x20]
push eax
push edi
push ebx
push str.open
push dword [ebp - 0x28]
call esi
lea eax, [ebp - 0x2c]
push eax
push edi
push ebx
push str.command
push dword [ebp - 0x20]
call esi
cmp eax, ebx
je 0x42c666
push dword [ebp - 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42c691
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x104
push eax
lea eax, [ebp - 0x140]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x42c6b8
call esi
push dword [ebp - 0x14]
call esi
push dword [ebp - 0x1c]
call esi
push dword [ebp - 0x24]
call esi
push dword [ebp - 0x28]
call esi
push dword [ebp - 0x20]
call esi
push dword [ebp - 0x2c]
call esi
xor al, al
jmp 0x42c7bb
call esi
push dword [ebp - 0x14]
call esi
push dword [ebp - 0x1c]
call esi
push dword [ebp - 0x24]
call esi
push dword [ebp - 0x28]
call esi
push dword [ebp - 0x20]
call esi
push dword [ebp - 0x2c]
call esi
mov eax, dword [0x4b1dc8]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x140]
push eax
call fcn.00484131
push ebx
push 0x4b00a4
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.0047dfc8
mov esi, eax
push 0x4aeed0
cmp esi, ebx
jge 0x42c746
lea ecx, [ebp - 0x34]
call fcn.00484016
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 1
call fcn.004841d7
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004840e1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.00483fa8
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x34]
jmp 0x42c79c
lea ecx, [ebp - 0x3c]
call fcn.00484016
mov edi, eax
push esi
lea eax, [ebp - 0x38]
push ebx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0047de0e
push edi
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 4
push eax
call fcn.004841d7
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.004840e1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.00483fa8
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.00483fa8
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x3c]
call fcn.00483fa8
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.004840e1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00483fa8
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4