Function at 0x45d900
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c73ae
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x4ff080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x278], edx
mov esi, ecx
mov byte [ebp - 0x265], 0
mov dword [ebp - 0x270], 0x104
mov dword [ebp - 0x26c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x234], xmm0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
push 0x38
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionProfileList
lea ecx, [ebp - 0x234]
call fcn.00463250
mov dword [ebp - 4], 0
push 1
push 0x4e8858
lea ecx, [ebp - 0x234]
call fcn.00460d90
mov eax, esi
cmp dword [esi + 0x14], 7
jbe 0x45d9a7
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
lea ecx, [ebp - 0x234]
call fcn.00460d90
lea eax, [ebp - 0x234]
cmp dword [ebp - 0x220], 7
cmova eax, dword [ebp - 0x234]
lea ecx, [ebp - 0x26c]
push ecx
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45db2b
mov esi, dword [ebp - 0x26c]
push 0xc
call fcn.004a9ec5
add esp, 4
mov edi, eax
mov dword [ebp - 0x27c], edi
mov byte [ebp - 4], 1
mov dword [edi], vtable.StartupAreas::IFreeProcPtr.0
mov byte [ebp - 4], 2
mov dword [edi], vtable.StartupAreas::FreeProcPtr_long_int____stdcall___struct_HKEY______struct_HKEY____.0
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [edi + 4], eax
mov dword [edi + 8], esi
mov byte [ebp - 4], 0
mov dword [ebp - 0x280], edi
mov byte [ebp - 4], 3
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x274]
push eax
push 0
push str.ProfileImagePath
push dword [ebp - 0x26c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45db18
mov eax, dword [ebp - 0x274]
cmp eax, 1
je 0x45da75
cmp eax, 2
jne 0x45db18
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x270]
shr eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x264]
call fcn.004603e0
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 7
jbe 0x45daa0
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x24c]
call fcn.00457f40
mov byte [ebp - 4], 6
push eax
mov ecx, dword [ebp - 0x278]
call fcn.00460350
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24c]
call fcn.00460bf0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x264]
call fcn.00460bf0
mov al, 1
mov byte [ebp - 0x265], al
mov byte [ebp - 0x266], al
mov dword [ebp - 4], 3
jmp 0x45db18
mov byte [ebp - 4], 0
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x220]
cmp ecx, 7
jbe 0x45db6e
lea ecx, [ecx*2 + 2]
mov edx, dword [ebp - 0x234]
mov eax, edx
cmp ecx, 0x1000
jb 0x45db64
add ecx, 0x23
mov edx, dword [eax - 4]
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45dbad
push ecx
push edx
call fcn.004aa25b
add esp, 8
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
xor eax, eax
mov word [ebp - 0x234], ax
mov al, byte [ebp - 0x265]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a9b96
mov esp, ebp
pop ebp
ret
call fcn.004b35c4
int3