Function at 0x4c0c30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x654
mov eax, dword [0x53ba20]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x61c], eax
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x608], edi
test esi, esi
je 0x4c105f
test eax, eax
je 0x4c105f
test edi, edi
je 0x4c105f
push ebx
lea eax, [ebp - 0x644]
mov dword [ebp - 0x610], 0
push eax
mov dword [ebp - 0x60c], 0
xor ebx, ebx
mov dword [ebp - 0x620], 0
mov dword [ebp - 0x614], 0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x634]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esi]
lea ecx, [ebp - 0x644]
push ebx
push ebx
push ecx
push ebx
push 0x5179d0
push esi
call dword [eax + 0x10]
test eax, eax
je 0x4c0cd7
mov ebx, eax
jmp 0x4c0fd1
mov eax, dword [esi]
lea ecx, [ebp - 0x634]
push 0
push 0
push ecx
push 0
push 0x5179e4
push esi
call dword [eax + 0x10]
test eax, eax
je 0x4c0cfa
mov ebx, eax
jmp 0x4c0fd1
cmp word [ebp - 0x634], 8
jne 0x4c0fbf
cmp word [ebp - 0x644], 8
jne 0x4c0fbf
cmp dword [ebp - 0x62c], ebx
je 0x4c0fbf
mov edx, dword [ebp - 0x63c]
test edx, edx
je 0x4c0fbf
mov ecx, dword [ebp - 0x61c]
lea esi, [ebp - 0x614]
push esi
push 0
push 0
mov eax, dword [ecx]
push 0
push 0
push 0
push 0
push edx
push ecx
call dword [eax + 0xc]
test eax, eax
jns 0x4c0d5b
mov ebx, eax
jmp 0x4c0fd1
mov ecx, 0x16
lea edi, [ebp - 0x404]
mov esi, 0x5179f8
lea eax, [ebp - 0x3aa]
rep movsd dword es:[edi], dword [esi]
push 0x1a4
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.004c52c0
push dword [ebp - 0x62c]
lea eax, [ebp - 0x404]
push 0xff
push eax
call fcn.004d6277
add esp, 0x18
test eax, eax
jne 0x4c0fc6
push 0x517a54
lea eax, [ebp - 0x404]
push 0xff
push eax
call fcn.004d6277
add esp, 0xc
test eax, eax
jne 0x4c0fc6
mov ecx, dword [ebp - 0x614]
lea edx, [ebp - 0x610]
push edx
push 0
push 0x30
mov eax, dword [ecx]
lea edx, [ebp - 0x404]
push edx
push 0x50290c
push ecx
call dword [eax + 0x50]
test eax, eax
je 0x4c0df3
mov ebx, eax
jmp 0x4c0fcb
mov ecx, dword [ebp - 0x610]
lea edx, [ebp - 0x620]
push edx
lea edx, [ebp - 0x60c]
push edx
mov eax, dword [ecx]
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
test eax, eax
je 0x4c0e1c
mov ebx, eax
jmp 0x4c0fcb
lea eax, [ebp - 0x654]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [ebp - 0x60c]
lea edx, [ebp - 0x654]
push 0
push 0
push edx
mov eax, dword [ecx]
push 0
push 0x517a58
push ecx
call dword [eax + 0x10]
test eax, eax
je 0x4c0e52
mov ebx, eax
jmp 0x4c0fcb
cmp word [ebp - 0x654], 8
jne 0x4c0fcb
mov esi, dword [ebp - 0x64c]
test esi, esi
je 0x4c0fcb
movups xmm0, xmmword [0x517a64]
push 0x1ce
lea eax, [ebp - 0x1d4]
movups xmmword [ebp - 0x204], xmm0
push 0
movups xmm0, xmmword [0x517a74]
push eax
movups xmmword [ebp - 0x1f4], xmm0
movups xmm0, xmmword [0x517a84]
movups xmmword [ebp - 0x1e4], xmm0
call fcn.004c52c0
push esi
lea eax, [ebp - 0x204]
push 0xff
push eax
call fcn.004d6277
add esp, 0x18
test eax, eax
jne 0x4c0fc6
push 0x4fca3c
lea eax, [ebp - 0x204]
push 0xff
push eax
call fcn.004d6277
add esp, 0xc
test eax, eax
jne 0x4c0fc6
lea eax, [ebp - 0x618]
push eax
push 0x20119
push 0
lea eax, [ebp - 0x204]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c0fc6
push 0x1fe
push eax
lea eax, [ebp - 0x604]
push eax
call fcn.004c52c0
add esp, 0xc
mov dword [ebp - 0x624], 0x1fe
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x604]
push eax
push 0
push 0
push 0x4fbd20
push dword [ebp - 0x618]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4c0fc6
push dword [ebp - 0x62c]
call fcn.004c0630
mov edi, dword [ebp - 0x608]
add esp, 4
mov dword [edi], eax
test eax, eax
jne 0x4c0f78
mov ebx, 0x8007000e
jmp 0x4c0fd1
push dword [ebp - 0x63c]
call fcn.004c0630
add esp, 4
mov dword [edi + 4], eax
test eax, eax
jne 0x4c0f94
mov ebx, 0x8007000e
jmp 0x4c0fd1
lea eax, [ebp - 0x604]
push eax
call fcn.004c0630
add esp, 4
mov dword [edi + 8], eax
test eax, eax
jne 0x4c0fb1
mov ebx, 0x8007000e
jmp 0x4c0fd1
push dword [ebp - 0x618]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4c0fd1
mov ebx, 0x8000ffff
jmp 0x4c0fd1
mov ebx, 0x8000ffff
mov edi, dword [ebp - 0x608]
mov ecx, dword [ebp - 0x60c]
test ecx, ecx
je 0x4c0fe1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x610]
test ecx, ecx
je 0x4c0ff1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x614]
test ecx, ecx
je 0x4c1001
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x644]
push eax
call esi
lea eax, [ebp - 0x634]
push eax
call esi
test ebx, ebx
je 0x4c104c
mov eax, dword [edi]
test eax, eax
je 0x4c102c
push eax
call fcn.004c8c7f
add esp, 4
mov eax, dword [edi + 4]
test eax, eax
je 0x4c103c
push eax
call fcn.004c8c7f
add esp, 4
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x4c104c
push ecx
call fcn.004c8c7f
add esp, 4
mov eax, ebx
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c3287
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x80070057
pop edi
xor ecx, ebp
pop esi
call fcn.004c3287
mov esp, ebp
pop ebp
ret