Function at 0x48e940
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x654
mov eax, dword [0x4dc6e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x620], eax
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x608], edi
test esi, esi
je 0x48ed75
test eax, eax
je 0x48ed75
test edi, edi
je 0x48ed75
push ebx
lea eax, [ebp - 0x644]
mov dword [ebp - 0x614], 0
push eax
mov dword [ebp - 0x610], 0
xor ebx, ebx
mov dword [ebp - 0x61c], 0
mov dword [ebp - 0x60c], 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 0x4c5080
push esi
call dword [eax + 0x10]
test eax, eax
je 0x48e9e7
mov ebx, eax
jmp 0x48ece7
mov eax, dword [esi]
lea ecx, [ebp - 0x634]
push 0
push 0
push ecx
push 0
push 0x4c5094
push esi
call dword [eax + 0x10]
test eax, eax
je 0x48ea0a
mov ebx, eax
jmp 0x48ece7
cmp word [ebp - 0x634], 8
jne 0x48ecd5
cmp word [ebp - 0x644], 8
jne 0x48ecd5
cmp dword [ebp - 0x62c], ebx
je 0x48ecd5
mov edx, dword [ebp - 0x63c]
test edx, edx
je 0x48ecd5
mov ecx, dword [ebp - 0x620]
lea esi, [ebp - 0x60c]
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 0x48ea6b
mov ebx, eax
jmp 0x48ece7
mov ecx, 0x16
lea edi, [ebp - 0x404]
mov esi, 0x4c50a8
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.004906c0
push dword [ebp - 0x62c]
lea eax, [ebp - 0x404]
push 0xff
push eax
call fcn.00493457
add esp, 0x18
test eax, eax
jne 0x48ecdc
push 0x4c5104
lea eax, [ebp - 0x404]
push 0xff
push eax
call fcn.00493457
add esp, 0xc
test eax, eax
jne 0x48ecdc
mov eax, dword [ebp - 0x60c]
lea edx, [ebp - 0x614]
push edx
push 0
push 0x30
mov ecx, dword [eax]
lea edx, [ebp - 0x404]
push edx
push 0x4b5c60
push eax
call dword [ecx + 0x50]
test eax, eax
je 0x48eb03
mov ebx, eax
jmp 0x48ece1
mov eax, dword [ebp - 0x614]
lea edx, [ebp - 0x61c]
push edx
lea edx, [ebp - 0x610]
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
je 0x48eb2c
mov ebx, eax
jmp 0x48ece1
lea eax, [ebp - 0x654]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x610]
lea edx, [ebp - 0x654]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x4c5108
push eax
call dword [ecx + 0x10]
test eax, eax
je 0x48eb62
mov ebx, eax
jmp 0x48ece1
cmp word [ebp - 0x654], 8
jne 0x48ece1
mov esi, dword [ebp - 0x64c]
test esi, esi
je 0x48ece1
movdqu xmm0, xmmword [0x4c5114]
push 0x1ce
lea eax, [ebp - 0x1d4]
movdqu xmmword [ebp - 0x204], xmm0
push 0
movdqu xmm0, xmmword [0x4c5124]
push eax
movdqu xmmword [ebp - 0x1f4], xmm0
movdqu xmm0, xmmword [0x4c5134]
movdqu xmmword [ebp - 0x1e4], xmm0
call fcn.004906c0
push esi
lea eax, [ebp - 0x204]
push 0xff
push eax
call fcn.00493457
add esp, 0x18
test eax, eax
jne 0x48ecdc
push 0x4b0594
lea eax, [ebp - 0x204]
push 0xff
push eax
call fcn.00493457
add esp, 0xc
test eax, eax
jne 0x48ecdc
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 0x48ecdc
push 0x1fe
push eax
lea eax, [ebp - 0x604]
push eax
call fcn.004906c0
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 0x4af9b8
push dword [ebp - 0x618]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48ecdc
push dword [ebp - 0x62c]
call fcn.0048e350
mov edi, dword [ebp - 0x608]
add esp, 4
mov dword [edi], eax
test eax, eax
jne 0x48ec8e
mov ebx, 0x8007000e
jmp 0x48ece7
push dword [ebp - 0x63c]
call fcn.0048e350
add esp, 4
mov dword [edi + 4], eax
test eax, eax
jne 0x48ecaa
mov ebx, 0x8007000e
jmp 0x48ece7
lea eax, [ebp - 0x604]
push eax
call fcn.0048e350
add esp, 4
mov dword [edi + 8], eax
test eax, eax
jne 0x48ecc7
mov ebx, 0x8007000e
jmp 0x48ece7
push dword [ebp - 0x618]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x48ece7
mov ebx, 0x8000ffff
jmp 0x48ece7
mov ebx, 0x8000ffff
mov edi, dword [ebp - 0x608]
mov ecx, dword [ebp - 0x610]
test ecx, ecx
je 0x48ecf7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x614]
test ecx, ecx
je 0x48ed07
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x60c]
test ecx, ecx
je 0x48ed17
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 0x48ed62
mov eax, dword [edi]
test eax, eax
je 0x48ed42
push eax
call fcn.0048faf7
add esp, 4
mov eax, dword [edi + 4]
test eax, eax
je 0x48ed52
push eax
call fcn.0048faf7
add esp, 4
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x48ed62
push ecx
call fcn.0048faf7
add esp, 4
mov eax, ebx
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048fc6c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x80070057
pop edi
xor ecx, ebp
pop esi
call fcn.0048fc6c
mov esp, ebp
pop ebp
ret