Function at 0x48da70
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50bc98
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x565680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x220]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionProfileList
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x220], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x48db2e
mov esi, dword [0x566ac0]
mov ecx, 0x15
lea eax, [esi + 1]
imul eax, esi
cdq
idiv ecx
cmp edx, 0xb
jne 0x48db27
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub esi, ecx
xor ecx, ecx
lea eax, [esi + 0x2f4]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e3d44
push eax
call fcn.004e5e73
add esp, 8
xor al, al
jmp 0x48df7c
mov edx, dword [0x566ac0]
xor ebx, ebx
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
mov ecx, 0x16
idiv ecx
cmp edx, 5
jne 0x48db65
call fcn.004e5d44
mov ecx, dword [0x566ac0]
cmp ecx, eax
jne 0x48db65
dec ecx
mov dword [0x566ac0], ecx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004e67c0
add esp, 0xc
lea eax, [ebp - 0x22c]
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push dword [ebp - 0x220]
mov dword [ebp - 0x22c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
call fcn.0048f010
test al, al
jne 0x48dbfd
mov esi, dword [0x566ac0]
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub esi, ecx
xor ecx, ecx
lea eax, [esi + 0x2f4]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e3d44
push eax
call fcn.004e5e73
add esp, 8
test edi, edi
jne 0x48df5a
mov edi, str.Volatile_Environment
shr edi, 0x10
lea esi, [ebp - 0x218]
shr esi, 0x10
mov dword [ebp - 0x244], edi
mov dword [ebp - 0x23c], esi
mov eax, dword [0x5651b8]
mov ecx, 0x5651b8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 0
test esi, esi
jne 0x48dc6a
lea eax, [ebp - 0x218]
movzx esi, ax
push 0
push esi
call fcn.00402f50
add esp, 8
test eax, eax
je 0x48dc95
push esi
push eax
lea ecx, [ebp - 0x21c]
call fcn.004073a0
jmp 0x48dc95
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48dc73
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00409940
mov dword [ebp - 4], 1
mov dword [ebp - 0x230], 0
call fcn.0048f070
test al, al
jne 0x48dcd4
mov eax, dword [0x566ac0]
xor esi, esi
test eax, eax
je 0x48dcce
lea ebx, [ebx]
mov ecx, eax
cdq
and ecx, 1
sub eax, edx
add esi, ecx
sar eax, 1
jne 0x48dcc0
mov dword [0x566ac0], esi
mov eax, dword [0x5651b8]
mov ecx, 0x5651b8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 2
test edi, edi
jne 0x48dd17
mov eax, str.Volatile_Environment
movzx esi, ax
push edi
push esi
call fcn.00402f50
add esp, 8
test eax, eax
je 0x48dd29
push esi
push eax
lea ecx, [ebp - 0x224]
call fcn.004073a0
jmp 0x48dd29
push 0x15
push str.Volatile_Environment
lea ecx, [ebp - 0x224]
call fcn.00409940
mov eax, dword [0x5651b8]
mov ecx, 0x5651b8
mov byte [ebp - 4], 3
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x248]
push eax
mov byte [ebp - 4], 4
call fcn.00465370
lea ecx, [ebp - 0x224]
push ecx
push eax
lea eax, [ebp - 0x240]
push eax
mov byte [ebp - 4], 5
call fcn.00465370
add esp, 0x18
lea ecx, [ebp - 0x230]
push ecx
push 0x20019
push 0
push dword [eax]
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [ebp - 0x240]
add esi, 0xfffffff0
mov edi, eax
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48ddb9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x248]
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48dddd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x238]
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48de01
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48de25
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x48dee0
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x5651b8]
mov ecx, 0x5651b8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x228], eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x218]
cmp dword [ebp - 0x23c], edi
jne 0x48de81
movzx esi, ax
push edi
push esi
call fcn.00402f50
add esp, 8
test eax, eax
je 0x48dea6
push esi
push eax
lea ecx, [ebp - 0x228]
call fcn.004073a0
jmp 0x48dea6
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48de84
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x228]
call fcn.00409940
mov ecx, dword [ebp - 0x234]
lea eax, [ebp - 0x228]
push eax
mov byte [ebp - 4], 7
call fcn.00420910
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48dee0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x218]
push eax
inc ebx
push ebx
push dword [ebp - 0x220]
mov dword [ebp - 0x22c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
call fcn.0048f120
test al, al
jne 0x48df1f
inc dword [0x568088]
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48df46
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x244]
test esi, esi
mov esi, dword [ebp - 0x23c]
je 0x48dc22
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x234]
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
xor ecx, ecx
sar eax, 2
cmp ecx, eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e52a4
mov esp, ebp
pop ebp
ret