Function at 0x460e00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511043
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b8
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 5
mov esi, str.SoftwareGlobalSCAPE_
lea edi, [ebp - 0x1c4]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0x45
lea edi, [ebp - 0x1ae]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x1c]
push 0x10
push eax
mov dword [ebp - 0x24], ebx
call fcn.0042e2e0
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
add esp, 8
lea edx, [ebp - 0x1c4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x1c]
call fcn.004dd44d
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x1c4]
push eax
push 0x20019
push 0
push ecx
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x460ec7
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
mov ecx, dword [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x28]
push edx
push 0
push eax
push 0
push 0x5568d8
push ecx
call edi
test eax, eax
je 0x460f05
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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
mov eax, dword [ebp - 0x18]
add eax, 0x2328
push eax
call fcn.004dda96
add esp, 4
lea ecx, [ebp - 0x18]
mov esi, eax
mov eax, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x28]
push esi
push edx
push 0
push 0x5568d8
push eax
mov dword [ebp - 0x1c], esi
call edi
mov ecx, dword [ebp - 0x18]
push 0
push ecx
push esi
lea ecx, [ebp - 0x54]
call fcn.004e9510
push 0
push 0x1000
lea edx, [ebp - 0x54]
push 1
push edx
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], 0
call fcn.004e1bcc
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x98]
push eax
push ecx
mov edi, 1
mov byte [ebp - 4], 2
call fcn.004920e0
jmp 0x460f98
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], 1
call fcn.004e1d30
lea ecx, [ebp - 0x54]
call fcn.004e9577
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.004ddabf
add esp, 4
test edi, edi
je 0x460fd7
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x460fd7
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov eax, dword [ebx + 0x424]
xor esi, esi
test eax, eax
jle 0x461018
mov ecx, dword [ebx + 0x420]
mov eax, dword [ecx + esi*4]
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x46100d
push eax
call fcn.004ddabf
add esp, 4
lea ecx, [ebx + 0x41c]
push 1
push esi
call fcn.004d7e03
or esi, 0xffffffff
mov eax, dword [ebx + 0x424]
inc esi
cmp esi, eax
jl 0x460fe3
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0
call fcn.004e1ca8
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0xffffffff
call fcn.004e9589
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret