Function at 0x45d8a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7fbe
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x502054]
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.004631a0
mov dword [ebp - 4], 0
push 1
push 0x4ec208
lea ecx, [ebp - 0x234]
call fcn.00460d30
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x45d947
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
lea ecx, [ebp - 0x234]
call fcn.00460d30
lea eax, [ebp - 0x234]
cmp dword [ebp - 0x220], 8
cmovae 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 0x45dacb
mov esi, dword [ebp - 0x26c]
push 0xc
call fcn.004a9d6b
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 0x45dab8
mov eax, dword [ebp - 0x274]
cmp eax, 1
je 0x45da15
cmp eax, 2
jne 0x45dab8
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.00460380
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x45da40
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x24c]
call fcn.00457f00
mov byte [ebp - 4], 6
push eax
mov ecx, dword [ebp - 0x278]
call fcn.004602f0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24c]
call fcn.00460b90
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x264]
call fcn.00460b90
mov al, 1
mov byte [ebp - 0x265], al
mov byte [ebp - 0x266], al
mov dword [ebp - 4], 3
jmp 0x45dab8
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, 8
jb 0x45db0e
lea ecx, [ecx*2 + 2]
mov edx, dword [ebp - 0x234]
mov eax, edx
cmp ecx, 0x1000
jb 0x45db04
add ecx, 0x23
mov edx, dword [eax - 4]
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45db4d
push ecx
push edx
call fcn.004aa103
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.004a9913
mov esp, ebp
pop ebp
ret
call fcn.004b3474
int3