Function at 0x2460350
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x24c2656
push eax
mov dword fs:[0], esp
sub esp, 0xf90
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
cmp ebp, ebx
push esi
push edi
je 0x24606cb
mov eax, dword [ebp]
cmp eax, ebx
je 0x2460397
mov ecx, dword [eax]
push eax
mov dword [ebp + 4], ecx
call fcn.024adc89
mov eax, dword [ebp + 4]
add esp, 4
cmp eax, ebx
jne 0x2460382
lea edx, [esp + 0x20]
push edx
push 0x24dcd14
push 0x80000001
mov dword [ebp], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 0xc], ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.advapi32.dll_RegOpenKeyA]
test eax, eax
jne 0x24606cb
mov dword [esp + 0x2c], ebx
mov ecx, dword [esp + 0x2c]
mov eax, ecx
inc ecx
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x30]
push ecx
push ebx
lea edx, [esp + 0x40]
push edx
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x164]
push ecx
push eax
mov esi, 0x118
push edx
mov byte [esp + 0x170], bl
mov dword [esp + 0x50], 0x64
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], esi
call dword [sym.imp.advapi32.dll_RegEnumValueA]
test eax, eax
jne 0x24606cf
cmp dword [esp + 0x28], 3
jne 0x24603c8
cmp dword [esp + 0x24], esi
jne 0x24603c8
xor eax, eax
mov ecx, 0x37a
lea edi, [esp + 0x1b4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x46]
mov ecx, 0x246
mov esi, 0x24db688
lea edi, [esp + 0x1b4]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x4a]
mov esi, dword [esp + 0x56]
xor ecx, ecx
cmp edi, ebx
setne cl
xor edx, edx
cmp esi, ebx
setne dl
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1b8], ecx
mov dword [esp + 0x1bc], edx
lea edx, [esp + 0x10]
lea ecx, [esp + 0x6e]
mov dword [esp + 0xfa8], ebx
mov byte [esp + 0xd1], bl
call fcn.0247fc70
test eax, eax
je 0x24606b6
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x2460634
cmp dword [esp + 0x10], ebx
je 0x2460634
push eax
push 0x24dae84
lea eax, [esp + 0xad4]
push 0x64
push eax
mov word [esp + 0xadc], bx
call fcn.024ae131
add esp, 0x10
mov word [esp + 0xb92], bx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
lea edx, [esp + 0x18]
lea ecx, [esp + 0xd2]
mov byte [esp + 0xfa8], 1
mov byte [esp + 0x135], bl
call fcn.0247fc70
test eax, eax
je 0x246063d
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x246066f
cmp dword [esp + 0x18], ebx
je 0x246066f
push eax
push 0x24dae84
lea ecx, [esp + 0xb9c]
push 0x64
push ecx
mov word [esp + 0xba4], bx
call fcn.024ae131
mov edx, dword [esp + 0x150]
mov eax, dword [esp + 0x158]
mov ecx, dword [esp + 0x15c]
push 0xdf0
mov word [esp + 0xc6e], bx
mov dword [esp + 0xc70], edx
mov dword [esp + 0xf98], eax
mov dword [esp + 0xf9c], ecx
mov dword [esp + 0xfa0], ebx
mov byte [esp + 0xfa4], bl
call fcn.024adc5e
add esp, 0x14
cmp eax, ebx
mov dword [ebp + 4], eax
je 0x246069d
mov edx, dword [ebp]
mov dword [eax], edx
lea eax, [esp + 0x1b4]
test eax, eax
je 0x24605ca
mov edi, dword [ebp + 4]
add edi, 4
mov ecx, 0x37a
lea esi, [esp + 0x1b4]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
cmp dword [ebp + 8], ebx
mov eax, dword [ebp + 4]
mov dword [ebp], eax
jne 0x24605d8
mov dword [ebp + 8], eax
inc dword [ebp + 0xc]
mov ecx, dword [ebp]
add ecx, 4
mov dword [ebp + 4], ebx
mov dword [esp + 0x34], ecx
je 0x246069d
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov dword [esp + 0x18], ebx
je 0x2460607
push eax
call fcn.024ad03a
add esp, 4
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov dword [esp + 0xfa8], 0xffffffff
mov dword [esp + 0x10], ebx
je 0x24603c8
push eax
call fcn.024ad03a
add esp, 4
mov dword [esp + 0x14], ebx
jmp 0x24603c8
mov dword [esp + 0x10], ebx
jmp 0x24606be
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov dword [esp + 0x18], ebx
je 0x2460656
push eax
call fcn.024ad03a
add esp, 4
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov dword [esp + 0x10], ebx
je 0x24606cb
push eax
call fcn.024ad03a
add esp, 4
xor eax, eax
jmp 0x24606df
cmp eax, ebx
mov dword [esp + 0x18], ebx
je 0x2460684
push eax
call fcn.024ad03a
add esp, 4
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov dword [esp + 0x10], ebx
je 0x24606cb
push eax
call fcn.024ad03a
add esp, 4
xor eax, eax
jmp 0x24606df
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov dword [esp + 0x18], ebx
je 0x24606b6
push eax
call fcn.024ad03a
add esp, 4
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], ebx
cmp eax, ebx
je 0x24606cb
push eax
call fcn.024ad03a
add esp, 4
xor eax, eax
jmp 0x24606df
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0xfa0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xf9c
ret