Function at 0x484520
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7268
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1124
call fcn.004ae580
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
lea ecx, [esi + 0x10]
call fcn.004bfd4f
push 0xa000
call fcn.004ade9b
mov ebx, eax
push 0x1fe
lea eax, [ebp - 0x1134]
push 0x51d754
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x24], 0xa000
call fcn.004ae2d7
add esp, 0x10
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x34]
push ecx
push ebx
push edx
lea eax, [ebp - 0x1134]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
test edi, edi
je 0x4845e7
cmp edi, 0xea
jne 0x4845d0
mov eax, dword [ebp - 0x24]
add eax, 0xa000
push eax
push ebx
mov dword [ebp - 0x24], eax
call fcn.004ae8cd
add esp, 8
mov dword [ebp - 0x14], eax
mov ebx, eax
jmp 0x4845ac
test edi, edi
je 0x484589
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.00484180
mov edi, eax
add esp, 4
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x1c]
cmp ecx, eax
jge 0x484815
cmp dword [edi + 0xc], 0x1fe
jne 0x4847fa
push edi
mov dword [ebp - 0x20], 0xffffffff
call fcn.004841a0
add esp, 4
xor ebx, ebx
cmp ebx, dword [edi + 0x20]
jge 0x484649
cmp dword [eax + 4], 0x208
jne 0x48463d
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x20], edx
push eax
call fcn.00484190
add esp, 4
inc ebx
jmp 0x484629
cmp dword [ebp - 0x20], 0xffffffff
jne 0x484671
mov eax, dword [ebp - 0x14]
push eax
call fcn.004ae1ee
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.004841b0
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [edi + 0x28]
cmp ecx, edx
jge 0x4847f7
mov edi, dword [eax + 0x10]
push eax
add edi, eax
call fcn.00484190
lea edx, [ebp - 0x134]
push 0xff
push edx
push edi
mov ebx, eax
call fcn.004841e0
mov ecx, dword [ebp - 0x20]
add esp, 0x10
mov ebx, dword [ebx + ecx]
push eax
lea ecx, [ebp - 0x30]
call fcn.004c57f5
push eax
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
call fcn.004bfeb9
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.004c5787
mov eax, dword [esi + 0x3c]
mov edi, dword [esi + 0x34]
test eax, eax
jne 0x484712
mov edx, dword [esi + 0x44]
push 0xc
lea eax, [esi + 0x40]
push edx
push eax
call fcn.004c02ee
mov ecx, dword [esi + 0x44]
lea edx, [ecx + ecx*2]
dec ecx
lea eax, [eax + edx*4 - 8]
test ecx, ecx
jl 0x484712
mov edx, dword [esi + 0x3c]
dec ecx
mov dword [eax], edx
mov dword [esi + 0x3c], eax
sub eax, 0xc
jmp 0x484700
mov eax, dword [esi + 0x3c]
mov edx, 1
mov ecx, dword [eax]
mov dword [esi + 0x3c], ecx
mov dword [eax + 4], edi
mov dword [eax], 0
mov ecx, dword [esi + 0x38]
inc ecx
mov dword [esi + 0x38], ecx
lea ecx, [eax + 8]
mov dword [ecx], 0
mov edi, edx
dec edx
test edi, edi
je 0x484744
add ecx, 4
jmp 0x484738
mov dword [eax + 8], ebx
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x484752
mov dword [ecx], eax
jmp 0x484755
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x58]
mov edi, dword [esi + 0x50]
test eax, eax
jne 0x48478e
mov edx, dword [esi + 0x60]
push 0xc
lea eax, [esi + 0x5c]
push edx
push eax
call fcn.004c02ee
mov ecx, dword [esi + 0x60]
lea edx, [ecx + ecx*2]
dec ecx
lea eax, [eax + edx*4 - 8]
test ecx, ecx
jl 0x48478e
mov edx, dword [esi + 0x58]
dec ecx
mov dword [eax], edx
mov dword [esi + 0x58], eax
sub eax, 0xc
jmp 0x48477c
mov eax, dword [esi + 0x58]
mov edx, 1
mov ecx, dword [eax]
mov dword [esi + 0x58], ecx
mov dword [eax + 4], edi
mov dword [eax], 0
mov ecx, dword [esi + 0x54]
inc ecx
mov dword [esi + 0x54], ecx
lea ecx, [eax + 8]
mov dword [ecx], 0
mov edi, edx
dec edx
test edi, edi
je 0x4847c0
add ecx, 4
jmp 0x4847b4
xor ecx, ecx
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x4847d0
mov dword [ecx], eax
jmp 0x4847d3
mov dword [esi + 0x4c], eax
mov edx, dword [ebp - 0x28]
mov dword [esi + 0x50], eax
push edx
call fcn.004841c0
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
add esp, 4
inc eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
jmp 0x484684
mov ebx, dword [ebp - 0x14]
push edi
call fcn.00484190
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
add esp, 4
inc eax
mov dword [ebp - 0x18], eax
jmp 0x4845fc
push ebx
call fcn.004ae1ee
mov ecx, dword [ebp - 0xc]
add esp, 4
mov eax, 1
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret