Function at 0x4b0d30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fbf20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x314
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], esp
push 0x64
call fcn.004f266a
add esp, 4
mov dword [ebp - 0x24], eax
push 0x1f4
call fcn.004f266a
add esp, 4
mov edi, eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x2c], 0x100
push 0x200
mov dword [ebp - 0x28], 1
call fcn.004f266a
add esp, 4
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.004ae740
add esp, 4
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWindows
call fcn.004fa6c0
mov ecx, dword [ebp - 0x18]
add esp, 4
add ecx, 0x100
push eax
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x12c]
push eax
push str._s_s
push edx
call fcn.004f175f
add esp, 0x10
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x12c]
push eax
push 0x20019
push 0
push ecx
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4b0f08
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x28]
push edi
push eax
push 0
push str.load
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4b0f08
or ecx, 0xffffffff
lea edx, [ebp - 0x320]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebx, dword [0xf23368]
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebx + ebx*4]
mov edi, str.HKEY_USERS
lea edx, [ebx + ecx*2]
or ecx, 0xffffffff
shl edx, 6
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea esi, [edx + 0xe61b08]
mov eax, ecx
mov dword [ebp - 0x14], esi
mov esi, edi
mov edi, dword [ebp - 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x12c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea esi, [edx + 0xe61b48]
mov eax, ecx
mov dword [ebp - 0x14], esi
mov esi, edi
mov edi, dword [ebp - 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.load
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea esi, [edx + 0xe61c48]
sub edi, ecx
mov eax, ecx
mov dword [ebp - 0x14], esi
mov esi, edi
mov edi, dword [ebp - 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
lea edx, [edx + 0xe61cc8]
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x320]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
inc ebx
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x20]
mov dword [0xf23368], ebx
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x18]
push edx
call fcn.004f265f
mov eax, dword [ebp - 0x24]
add esp, 4
push eax
call fcn.004f265f
add esp, 4
push edi
call fcn.004f265f
add esp, 4
mov ax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret