Function at 0x48ecaf
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d1f00
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x640844]
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 ebx, ecx
mov dword [ebp - 0x80], ebx
mov edi, dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 0x84], edi
mov esi, dword [edi]
push dword [esi + 4]
push edi
call fcn.0041be80
mov dword [esi + 4], esi
mov ecx, ebx
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [edi + 4], 0
call fcn.0048f2c0
test al, al
je 0x48ee9c
mov eax, dword [ebx + 0xc4]
dec eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
cmp eax, 8
ja case.default.0x48eca8
movzx eax, byte [eax + 0x48eecc]
jmp dword [eax*4 + 0x48eec4]
mov ebx, dword [ebx + 0xcc]
jmp 0x48ecc1
mov ebx, dword [ebx + 0xd0]
jmp 0x48ecc1
xor ebx, ebx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x48ee9c
lea eax, [ebp - 0x79]
push eax
mov eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x90]
inc eax
push eax
call fcn.00477d90
mov esi, dword [ebp - 0x90]
xor edi, edi
mov dword [ebp - 4], 0
cmp dword [ebp - 0x78], edi
jbe 0x48ed79
mov eax, dword [ebp - 0x8c]
sub eax, esi
sar eax, 1
mov dword [ebp - 0x94], eax
push 0
push 0
push 0
push 0
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x74]
push eax
push esi
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x48ed6d
push esi
lea ecx, [ebp - 0x70]
call fcn.004893f0
mov ecx, dword [ebp - 0x84]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 1
push eax
call fcn.0048d4a0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0
call fcn.00419a70
mov eax, dword [ebp - 0x94]
inc edi
cmp edi, dword [ebp - 0x78]
jb 0x48ed22
mov ecx, dword [ebp - 0x80]
mov eax, dword [ecx + 0xc4]
dec eax
cmp eax, 8
ja case.0x48ed93.1
movzx eax, byte [eax + 0x48eee0]
jmp dword [eax*4 + 0x48eed8]
mov eax, dword [ecx + 0xd0]
mov dword [ebp - 0x80], eax
test eax, eax
je case.0x48ed93.1
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], 0
push ecx
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x74], 0
push ecx
push 0
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x48ede5
xor bl, bl
jmp 0x48ee65
mov eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x90]
inc eax
push eax
call fcn.0048fc60
mov esi, dword [ebp - 0x90]
xor edi, edi
cmp dword [ebp - 0x78], edi
jbe case.0x48ed93.1
mov ebx, dword [ebp - 0x8c]
sub ebx, esi
sar ebx, 1
nop dword [eax]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], ebx
push eax
push esi
push edi
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x48ee5d
push esi
lea ecx, [ebp - 0x70]
call fcn.004893f0
mov ecx, dword [ebp - 0x84]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 2
push eax
call fcn.0048d4a0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0
call fcn.00419a70
inc edi
cmp edi, dword [ebp - 0x78]
jb 0x48ee10
mov bl, 1
test esi, esi
je 0x48ee98
mov ecx, dword [ebp - 0x88]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x48ee8e
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48eebc
push ecx
push esi
call fcn.004ece5f
add esp, 8
mov al, bl
jmp 0x48ee9e
xor al, al
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.004ed0cc
mov esp, ebp
pop ebp
ret 4
call fcn.004f242f
nop dword [eax]
scasd eax, dword es:[edi]
in al, dx
dec eax
add byte [edi + 0x48ec], dh
add byte [ecx], al
add byte [eax], al
add dword [eax], eax
add byte [ecx], al
nop dword [eax]
arpl si, bp
dec eax
add byte [edx + 0x48ed], bl
add dword [eax], eax
add byte [ecx], al
add byte [eax], al
add dword [eax], eax
int3