Function at 0x45fac9cb
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, 0x4603b7f0
push esi
lea ecx, [ebp - 4]
mov dword [ebp - 0x1c], 1
call fcn.45fac110
xor ebx, ebx
push esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], 0x104
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
call fcn.45fac110
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_StringFromCLSID]
cmp eax, ebx
mov dword [ebp + 8], eax
jl 0x45facc2c
push edi
push 0x45db4320
push 0x4603b7cc
lea eax, [ebp + 8]
push eax
call fcn.45fac6f2
push eax
lea ecx, [ebp - 0x14]
call fcn.45fac76a
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.45fabbdf
push dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
call fcn.45fac98e
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 8]
push eax
mov edi, 0x20019
push edi
push ebx
push dword [ebp - 0x14]
mov dword [ebp + 8], 0x80004005
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp eax, ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x20], eax
jne 0x45facadf
push dword [ebp - 0x18]
lea ecx, [ebp - 4]
call fcn.45fac443
lea ecx, [ebp - 0x18]
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x45db4310
push dword [ebp - 8]
call ebx
push 0xffffffffffffffff
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], eax
call fcn.45fac05e
cmp dword [ebp - 0xc], 0
lea ecx, [ebp - 4]
jne 0x45facac8
push 0
call fcn.45fac738
mov eax, dword [ebp - 4]
cmp dword [eax - 0xc], 0
je 0x45facad2
and dword [ebp + 8], 0
jmp 0x45facad2
push 0x45dc03ac
call fcn.45fac7ea
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 8], 0
lea ecx, [ebp - 0x14]
call fcn.45fac022
cmp dword [ebp + 8], 0
jge 0x45facb82
push 0x4603b7f0
lea ecx, [ebp - 0xc]
call fcn.45fac110
push 0x45db4300
lea ecx, [ebp - 0xc]
call fcn.45fac69d
push dword [ebp - 0x10]
lea ecx, [ebp - 0xc]
call fcn.45fac98e
push 0x45db42e0
lea ecx, [ebp - 0xc]
call fcn.45fac98e
lea eax, [ebp - 8]
push eax
push edi
xor edi, edi
push edi
push dword [ebp - 0xc]
push SysReAllocStringLen
call esi
test eax, eax
jne 0x45facbb8
mov eax, 0x104
push eax
lea ecx, [ebp - 4]
mov dword [ebp - 0x18], eax
call fcn.45fac443
lea ecx, [ebp - 0x18]
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
push 0x45db4310
push dword [ebp - 8]
call ebx
push 0xffffffffffffffff
lea ecx, [ebp - 4]
mov esi, eax
call fcn.45fac05e
lea ecx, [ebp - 4]
cmp esi, edi
jne 0x45facbac
push edi
call fcn.45fac738
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff0
call fcn.45fabbdf
mov edi, dword [ebp + 0xc]
and dword [ebp + 8], 0
mov ebx, 0x45db1998
mov esi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x45db42d4
lea ecx, [ebp - 4]
movsd dword es:[edi], dword [esi]
call fcn.45fac0e5
test eax, eax
jne 0x45facbd1
mov esi, 0x45db5c00
jmp 0x45facc0f
push 0x45dc03ac
call fcn.45fac7ea
jmp 0x45facb77
cmp dword [ebp - 0x20], edi
je 0x45facb77
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff0
mov dword [ebp + 8], 0x80004005
call fcn.45fabbdf
jmp 0x45facc2b
push 0x45db42cc
lea ecx, [ebp - 4]
call fcn.45fac0e5
test eax, eax
jne 0x45facbe9
mov esi, 0x45db5bf0
jmp 0x45facc0f
push 0x45db42c4
lea ecx, [ebp - 4]
call fcn.45fac0e5
test eax, eax
jne 0x45facc01
mov esi, 0x45db5be0
jmp 0x45facc0f
mov eax, dword [ebp - 4]
cmp dword [eax - 0xc], 0
jne 0x45facc16
mov esi, 0x45db5c10
mov edi, dword [ebp + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
push 4
pop ecx
mov edi, ebx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x45facc2b
mov dword [ebp + 8], 0x80004005
pop edi
cmp dword [ebp - 0x10], 0
pop esi
pop ebx
je 0x45facc3d
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 8], 0
je 0x45facc4c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.45fabbdf
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.45fabbdf
mov eax, dword [ebp + 8]
leave
ret 8