Function at 0x486a40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4456
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov eax, dword [0x52f2b0]
xor eax, dword [ebp + 4]
push esi
mov esi, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x54]
push edi
xor edi, edi
cmp eax, edi
jne 0x486a7a
xor al, al
jmp 0x486d4e
mov al, byte [esi + 0x4ed]
test al, al
je 0x486ad3
push 1
mov ecx, esi
call fcn.004800f0
mov byte [esi + 0x538], 1
push edi
add esi, 0x50c
push 1
mov ecx, esi
call fcn.00445090
test eax, eax
je 0x486a73
mov ecx, esi
call fcn.00445190
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov ecx, esi
call fcn.00445190
mov edx, dword [ebp + 0x14]
push eax
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, esi
call fcn.004451d0
mov al, 1
jmp 0x486d4e
lea ecx, [esi + 0x40]
push ecx
lea edx, [ebp - 0x6c]
push str.SOFTWARE_
push edx
call fcn.00419760
push eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 4], edi
call fcn.0044b800
add esp, 0x14
cmp dword [ebp - 0x54], 0x10
jb 0x486b07
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.004d88be
add esp, 4
push ebx
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x30], 0
mov ebx, dword [ebp + 8]
push 1
push 0xffffffffffffffff
lea edx, [ebp - 0x14]
push edx
mov ecx, ebx
mov byte [ebp - 4], 3
mov byte [ebp - 0x14], 0x5c
call fcn.00443b00
mov edi, eax
cmp edi, 0xffffffff
je 0x486bf4
push edi
push 0
lea eax, [ebp - 0x88]
push eax
mov ecx, ebx
call fcn.004479b0
push eax
lea ecx, [ebp - 0x6c]
push 0x4ffc0c
push ecx
mov byte [ebp - 4], 4
call fcn.00419760
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.00419490
cmp dword [ebp - 0x54], 0x10
jb 0x486b85
mov edx, dword [ebp - 0x68]
push edx
call fcn.004d88be
add esp, 4
cmp dword [ebp - 0x70], 0x10
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
mov byte [ebp - 4], 3
jb 0x486bb0
mov eax, dword [ebp - 0x84]
push eax
call fcn.004d88be
add esp, 4
push 0xffffffffffffffff
inc edi
push edi
lea ecx, [ebp - 0x88]
push ecx
mov ecx, ebx
call fcn.004479b0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.00406610
mov eax, dword [ebp - 0x70]
mov edi, 0x10
cmp eax, edi
mov byte [ebp - 4], 3
jb 0x486c06
mov edx, dword [ebp - 0x84]
push edx
call fcn.004d88be
add esp, 4
jmp 0x486c06
push 0xffffffffffffffff
push 0
push ebx
lea ecx, [ebp - 0x34]
call fcn.00406610
mov edi, 0x10
cmp dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x4c]
jae 0x486c11
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x18]
push ecx
push 0x2001f
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x486cdf
cmp dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x30]
jae 0x486c3b
lea eax, [ebp - 0x30]
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push edi
push ebx
push edx
push 0
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x486cd0
mov al, byte [esi + 0x4ec]
test al, al
je 0x486cb2
mov ecx, esi
call fcn.00480050
push 1
add esi, 0x50c
push 0
mov ecx, esi
call fcn.0044ed60
push 5
push 0xb
mov ecx, esi
call fcn.0044ed60
push 1
push 1
mov ecx, esi
call fcn.0044ed60
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov ecx, esi
call fcn.0044ee90
mov eax, dword [edi]
push eax
mov ecx, esi
call fcn.0044ee90
mov ecx, dword [edi]
push ecx
push ebx
mov ecx, esi
call fcn.0044ef20
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x34]
call fcn.00466af0
lea ecx, [ebp - 0x50]
call fcn.00466af0
mov al, 1
jmp 0x486d4d
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x10
mov al, byte [esi + 0x4ec]
test al, al
je 0x486d17
mov ecx, esi
call fcn.00480050
push 1
add esi, 0x50c
push 0
mov ecx, esi
call fcn.0044ed60
push 5
push 0xb
mov ecx, esi
call fcn.0044ed60
push 1
push 0
mov ecx, esi
call fcn.0044ed60
cmp dword [ebp - 0x1c], edi
jb 0x486d28
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004d88be
add esp, 4
cmp dword [ebp - 0x38], edi
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
jb 0x486d4b
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004d88be
add esp, 4
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
pop edi
pop esi
call fcn.004d9f7e
mov esp, ebp
pop ebp
ret 0x10