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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0bc7
mov eax, dword fs:[0]
push eax
sub esp, 0xedc
mov eax, dword [0x61c850]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xed8], ecx
mov dword [ebp - 0x98], 0x104
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x4b4], 0
mov dword [ebp - 0x4a4], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x4b8], 0
mov dword [ebp - 0x4a0], 0
mov dword [ebp - 0x4b0], 0
mov dword [ebp - 0x4ac], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x9c], 0
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x4ac]
push ecx
lea edx, [ebp - 0x4b0]
push edx
lea eax, [ebp - 0x4a0]
push eax
lea ecx, [ebp - 0x4b8]
push ecx
lea edx, [ebp - 0x4b4]
push edx
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x4a4]
push ecx
push 0
lea edx, [ebp - 0x98]
push edx
push 0
mov eax, dword [ebp - 0xed8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x90], 0
cmp dword [ebp - 0x4a4], 0
je 0x488d23
mov dword [ebp - 0x4bc], 0
jmp 0x488a14
mov edx, dword [ebp - 0x4bc]
add edx, 1
mov dword [ebp - 0x4bc], edx
mov eax, dword [ebp - 0x4bc]
cmp eax, dword [ebp - 0x4a4]
jae 0x488d23
mov dword [ebp - 0x94], 0xff
lea ecx, [ebp - 0x8c]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 0x94]
push edx
lea eax, [ebp - 0x49c]
push eax
mov ecx, dword [ebp - 0x4bc]
push ecx
mov edx, dword [ebp - 0xed8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
jne 0x488d1e
xor ecx, ecx
mov word [ebp - 0x6bc], cx
push 0x1fc
push 0
lea edx, [ebp - 0x6ba]
push edx
call fcn.00496f40
add esp, 0xc
mov ecx, dword [ebp - 0xed8]
add ecx, 0xc
call fcn.00405ee0
push eax
lea eax, [ebp - 0x6bc]
push eax
call fcn.0049a470
add esp, 8
push 0x5b6de8
lea ecx, [ebp - 0x6bc]
push ecx
call fcn.0049a43f
add esp, 8
lea edx, [ebp - 0x49c]
push edx
lea eax, [ebp - 0x6bc]
push eax
call fcn.0049a43f
add esp, 8
lea ecx, [ebp - 0x90]
push ecx
push 0xf003f
push 0
lea edx, [ebp - 0x6bc]
push edx
mov eax, dword [ebp - 0xed8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x488d1e
xor edx, edx
mov word [ebp - 0xe8c], dx
push 0x7ce
push 0
lea eax, [ebp - 0xe8a]
push eax
call fcn.00496f40
add esp, 0xc
mov dword [ebp - 0xed4], 0x7d0
mov dword [ebp - 0xed0], 1
lea ecx, [ebp - 0xed4]
push ecx
lea edx, [ebp - 0xe8c]
push edx
lea eax, [ebp - 0xed0]
push eax
push 0
push 0x5b6dec
mov ecx, dword [ebp - 0x90]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xe94], eax
lea ecx, [ebp - 0xecc]
call fcn.004893b0
mov dword [ebp - 4], 0
mov dword [ebp - 0xe90], 0
cmp dword [ebp - 0xe94], 0
jne 0x488c0b
cmp dword [ebp - 0xed0], 1
jne 0x488c0b
mov edx, dword [ebp - 0xe90]
add edx, 1
mov dword [ebp - 0xe90], edx
lea eax, [ebp - 0xe8c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405df0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.00469210
add esp, 8
mov dword [ebp - 0xedc], eax
mov eax, dword [ebp - 0xedc]
mov dword [ebp - 0xee0], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xee0]
push ecx
lea ecx, [ebp - 0xecc]
call fcn.00405880
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.004058b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00405ea0
push 0x7d0
push 0
lea edx, [ebp - 0xe8c]
push edx
call fcn.00496f40
add esp, 0xc
mov dword [ebp - 0xed4], 0x7d0
lea eax, [ebp - 0xed4]
push eax
lea ecx, [ebp - 0xe8c]
push ecx
lea edx, [ebp - 0xed0]
push edx
push 0
push 0x5b6e04
mov eax, dword [ebp - 0x90]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xe94], eax
cmp dword [ebp - 0xe94], 0
jne 0x488cde
cmp dword [ebp - 0xed0], 1
jne 0x488cde
mov ecx, dword [ebp - 0xe90]
add ecx, 1
mov dword [ebp - 0xe90], ecx
lea edx, [ebp - 0xe8c]
push edx
lea ecx, [ebp - 0x64]
call fcn.00405df0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.00469210
add esp, 8
mov dword [ebp - 0xee4], eax
mov edx, dword [ebp - 0xee4]
mov dword [ebp - 0xee8], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xee8]
push eax
lea ecx, [ebp - 0xeb0]
call fcn.00405880
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.004058b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00405ea0
cmp dword [ebp - 0xe90], 2
jne 0x488cf6
lea ecx, [ebp - 0xecc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00489410
cmp dword [ebp - 0x90], 0
je 0x488d0c
mov edx, dword [ebp - 0x90]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xecc]
call fcn.0044e460
jmp 0x488a05
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493f9c
mov esp, ebp
pop ebp
ret 4