Function at 0x45d6e0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57bb9b
mov eax, dword fs:[0]
push eax
sub esp, 0x65c
mov eax, dword [0x5fb61c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edx, edx
push 0x208
mov dword [ebp - 0x660], eax
push edx
lea eax, [ebp - 0x426]
push eax
mov dword [ebp - 0x664], ecx
xor esi, esi
mov word [ebp - 0x428], dx
call fcn.005336c0
xor ecx, ecx
push 0x208
push ecx
lea edx, [ebp - 0x21a]
push edx
mov word [ebp - 0x21c], cx
call fcn.005336c0
add esp, 0x18
push 0x39
xor eax, eax
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionProfileList_
lea ecx, [ebp - 0x650]
mov dword [ebp - 0x654], 0x104
mov dword [ebp - 0x63c], 7
mov dword [ebp - 0x640], esi
mov word [ebp - 0x650], ax
call fcn.00437a20
cmp dword [ebp - 0x63c], 8
mov eax, dword [ebp - 0x650]
mov dword [ebp - 4], esi
jae 0x45d7a4
lea eax, [ebp - 0x650]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x658]
push ecx
push 8
push 0
push eax
push 0x80000002
call edi
test eax, eax
je 0x45d7f1
cmp dword [ebp - 0x63c], 8
mov eax, dword [ebp - 0x650]
jae 0x45d7d6
lea eax, [ebp - 0x650]
lea edx, [ebp - 0x658]
push edx
push 8
push 0
push eax
push 0x80000002
call edi
test eax, eax
jne 0x45d96c
mov eax, dword [ebp - 0x658]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x654]
push ecx
lea edx, [ebp - 0x428]
push edx
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x45d95f
mov edi, edi
mov eax, dword [ebp - 0x650]
inc esi
cmp dword [ebp - 0x63c], 8
mov dword [ebp - 0x668], esi
jae 0x45d83c
lea eax, [ebp - 0x650]
push eax
lea ecx, [ebp - 0x21c]
push 0xffffffffffffffff
push ecx
call fcn.005343d0
lea edx, [ebp - 0x428]
push edx
lea eax, [ebp - 0x21c]
push 0xffffffffffffffff
push eax
call fcn.00534500
xor ecx, ecx
push 0x208
push ecx
lea edx, [ebp - 0x632]
push edx
mov word [ebp - 0x634], cx
call fcn.005336c0
add esp, 0x24
lea eax, [ebp - 0x65c]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x21c]
push ecx
push 0x80000002
call edi
test eax, eax
je 0x45d8c2
lea edx, [ebp - 0x65c]
push edx
push 0x20019
push 0
lea eax, [ebp - 0x21c]
push eax
push 0x80000002
call edi
test eax, eax
jne 0x45d99f
mov eax, dword [ebp - 0x65c]
lea ecx, [ebp - 0x654]
push ecx
lea edx, [ebp - 0x634]
push edx
push 0
push 0
push str.ProfileImagePath
push eax
mov dword [ebp - 0x654], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45d91c
mov ecx, dword [ebp - 0x664]
mov edx, dword [ebp - 0x660]
push ecx
push edx
lea esi, [ebp - 0x428]
lea ecx, [ebp - 0x634]
call fcn.0045d360
mov esi, dword [ebp - 0x668]
add esp, 8
mov eax, dword [ebp - 0x65c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x658]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x654]
push ecx
lea edx, [ebp - 0x428]
push edx
push esi
push eax
mov dword [ebp - 0x654], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x45d820
mov edx, dword [ebp - 0x658]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x63c], 8
jb 0x45d984
mov eax, dword [ebp - 0x650]
push eax
call int.0042bfd0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005332ca
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x63c], 8
jb 0x45d984
mov ecx, dword [ebp - 0x650]
push ecx
jmp 0x45d97c