Function at 0x4b56e0
Capabilities:
Get number of processors
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fbfa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x29fc
call fcn.004f2630
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
push 1
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], esi
call fcn.004f0653
lea eax, [ebp - 0x20c]
mov byte [ebp - 4], 1
push eax
call fcn.004ab6e0
add esp, 4
lea ecx, [ebp - 0x8c]
push ecx
call fcn.004ab600
lea edx, [ebp - 0x8c]
push edx
call fcn.004fa6c0
add esp, 8
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x80c]
push eax
push str._s__s_
push ecx
call fcn.004f175f
mov edx, dword [0x4fe4e8]
add esp, 0x10
lea ecx, [ebp - 0x6c]
push edx
push 8
push str.c:endpcacheprocess_log.txt
call fcn.004f0727
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + ecx - 0x68]
cmp dword [eax + 0x30], 0xffffffff
je 0x4b57b8
lea edx, [ebp - 0x80c]
lea ecx, [ebp - 0x60]
push edx
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
lea ecx, [ebp - 0x6c]
call fcn.004f076e
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x2a0c]
push eax
push ecx
call fcn.004c6c30
add esp, 8
xor edi, edi
cmp edi, dword [ebp - 0x18]
jge 0x4b598f
push 0x64
mov dword [ebp - 0x14], esi
call fcn.004f266a
add esp, 4
mov dword [ebp - 0x1c], eax
push 0x1f4
call fcn.004f266a
mov edx, edi
add esp, 4
shl edx, 7
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x70c]
lea eax, [ebp + edx - 0x2a0c]
push eax
push str._sSoftwareMicrosoftWindowsCurrentVersionExplorerMountPoints2
push ecx
call fcn.004f175f
add esp, 0xc
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x70c]
push edx
push 0x20019
push esi
push eax
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x4b5967
mov edx, dword [ebp - 0x14]
mov ecx, 0x100
push ecx
lea ecx, [ebp - 0x18c]
mov eax, esi
push ecx
inc esi
push eax
push edx
mov dword [ebp - 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov ebx, eax
test ebx, ebx
jne 0x4b5959
mov eax, edi
lea ecx, [ebp - 0x18c]
shl eax, 7
push ecx
lea edx, [ebp - 0x90c]
lea esi, [ebp + eax - 0x2a0c]
push esi
push str._sSoftwareMicrosoftWindowsCurrentVersionExplorerMountPoints2_sShellAutoRuncommand
push edx
call fcn.004f175f
lea eax, [ebp - 0x18c]
lea ecx, [ebp - 0x30c]
push eax
push esi
push str.HKU_sSoftwareMicrosoftWindowsCurrentVersionExplorerMountPoints2_sShellAutoRuncommand
push ecx
call fcn.004f175f
lea edx, [ebp - 0x18c]
lea eax, [ebp - 0xa0c]
push edx
push esi
push str._sSoftwareMicrosoftWindowsCurrentVersionExplorerMountPoints2_sShellAutoRun
push eax
call fcn.004f175f
lea ecx, [ebp - 0x18c]
lea edx, [ebp - 0x40c]
push ecx
push esi
push str.HKU_sSoftwareMicrosoftWindowsCurrentVersionExplorerMountPoints2_sShellAutoRun
push edx
call fcn.004f175f
add esp, 0x40
lea eax, [ebp - 0x18c]
lea ecx, [ebp - 0x60c]
push eax
push esi
push str._sSoftwareMicrosoftWindowsCurrentVersionExplorerMountPoints2_sShell
push ecx
call fcn.004f175f
lea edx, [ebp - 0x18c]
lea eax, [ebp - 0x50c]
push edx
push esi
push str.HKU_sSoftwareMicrosoftWindowsCurrentVersionExplorerMountPoints2_sShell
push eax
call fcn.004f175f
lea ecx, [ebp - 0x18c]
lea edx, [ebp - 0x60c]
push ecx
push esi
push str.HKU_sSoftwareMicrosoftWindowsCurrentVersionExplorerMountPoints2_s
push edx
call fcn.004f175f
lea eax, [ebp - 0x30c]
push eax
call fcn.004bc2e0
add esp, 0x34
lea ecx, [ebp - 0x40c]
push ecx
call fcn.004bc2e0
add esp, 4
lea edx, [ebp - 0x50c]
push edx
call fcn.004bc2e0
mov esi, dword [ebp - 0x24]
add esp, 4
cmp ebx, 0x103
jne 0x4b5843
xor esi, esi
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004f265f
mov edx, dword [ebp - 0x20]
add esp, 4
push edx
call fcn.004f265f
add esp, 4
inc edi
jmp 0x4b57d5
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.004f0714
lea ecx, [ebp - 0x58]
call fcn.004f05fb
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