Function at 0x465d00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb446
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x400
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], esi
call fcn.00465950
movsx eax, ax
cmp eax, 1
mov dword [ebp - 0x20], eax
jne 0x465f73
push 0x80
call fcn.004f266a
add esp, 4
mov ebx, 0x100
mov dword [ebp - 0x18], eax
push ebx
call fcn.004f266a
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x38], 1
push 0x200
call fcn.004f266a
add esp, 4
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.004ae740
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 4
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push esi
push 0xc30c0c
push reloc.WS2_32.dll_closesocket
call edi
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x14]
add eax, ebx
push edx
push 0x20019
push esi
push eax
push ecx
call edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x14]
push edx
push 0x20019
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorerRestrictRun_
push eax
call edi
test eax, eax
jne 0x465e14
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
push ecx
lea eax, [ebp - 0x38]
push edx
mov edx, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
push 0
push ecx
push edx
push esi
push eax
mov dword [ebp - 0x34], 0x20
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
je 0x465e01
inc esi
jmp 0x465dcc
cmp esi, 3
jge 0x465f45
cmp dword [ebp - 0x20], 1
jne 0x465f45
push 1
lea ecx, [ebp - 0xcc]
call fcn.004f0653
mov ecx, dword [0x4fe4e8]
mov byte [ebp - 4], 1
push ecx
push 8
push str.c:endpcacheprocess_log.txt
lea ecx, [ebp - 0xcc]
call fcn.004f0727
call fcn.00465af0
lea edx, [ebp - 0x40c]
push edx
call fcn.004ab6e0
add esp, 4
lea eax, [ebp - 0x10c]
push eax
call fcn.00401350
add esp, 4
lea ecx, [ebp - 0x10c]
mov byte [ebp - 0x30c], 0
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x40c]
push eax
push edx
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0x30c]
push 0x5223f8
push eax
call fcn.004f175f
mov eax, dword [0xe56db0]
add esp, 0x10
test eax, eax
jne 0x465ef9
mov eax, dword [0xe56dbc]
mov edx, dword [ebp + 0x1b4]
lea ecx, [ebp - 0x30c]
test eax, eax
mov eax, dword [ebp + 0x1b0]
push ecx
push edx
push eax
jne 0x465edc
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
jmp 0x465ef3
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
add esp, 0x1b4
lea ecx, [ebp - 0x30c]
push ecx
lea ecx, [ebp - 0xc0]
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
lea ecx, [ebp - 0xcc]
call fcn.004f076e
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0
call fcn.004f0714
lea ecx, [ebp - 0xb8]
call fcn.004f05fb
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004f265f
mov eax, dword [ebp - 0x18]
add esp, 4
push eax
call fcn.004f265f
mov ecx, dword [ebp - 0x24]
add esp, 4
push ecx
call fcn.004f265f
mov edx, dword [ebp - 0x14]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00465c60
movsx eax, ax
cmp eax, 1
mov dword [ebp - 0x20], eax
jne 0x466158
push 0x80
mov dword [ebp - 0x28], eax
xor esi, esi
call fcn.004f266a
add esp, 4
mov ebx, eax
push 0x100
call fcn.004f266a
add esp, 4
mov edi, eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], edi
push eax
push 0x20019
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorerRestrictRun_
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x466011
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x1c]
push edi
push edx
lea eax, [ebp - 0x3c]
push 0
push eax
push ebx
push esi
push ecx
mov dword [ebp - 0x3c], 0x20
mov dword [ebp - 0x30], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
je 0x465ffe
inc esi
jmp 0x465fcb
cmp esi, 3
jge 0x46613c
cmp dword [ebp - 0x20], 1
jne 0x46613c
push 1
lea ecx, [ebp - 0x84]
call fcn.004f0653
mov edx, dword [0x4fe4e8]
lea ecx, [ebp - 0x84]
push edx
push 8
push str.c:endpcacheprocess_log.txt
mov byte [ebp - 4], 2
call fcn.004f0727
call fcn.00465af0
lea eax, [ebp - 0x38c]
push eax
call fcn.004ab6e0
add esp, 4
lea ecx, [ebp - 0xec]
push ecx
call fcn.00401350
add esp, 4
lea edx, [ebp - 0xec]
mov byte [ebp - 0x20c], 0
push edx
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0x38c]
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x20c]
push eax
push 0x5223f8
push ecx
call fcn.004f175f
mov eax, dword [0xe56db0]
add esp, 0x10
test eax, eax
jne 0x4660f9
mov eax, dword [0xe56dbc]
mov ecx, dword [ebp + 0x1b0]
test eax, eax
mov eax, dword [ebp + 0x1b4]
lea edx, [ebp - 0x20c]
push edx
push eax
push ecx
jne 0x4660d9
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
jmp 0x4660f0
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
mov edi, dword [ebp - 0x18]
add esp, 0x1b4
lea edx, [ebp - 0x20c]
lea ecx, [ebp - 0x78]
push edx
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
lea ecx, [ebp - 0x84]
call fcn.004f076e
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0
call fcn.004f0714
lea ecx, [ebp - 0x70]
call fcn.004f05fb
push edi
call fcn.004f265f
add esp, 4
push ebx
call fcn.004f265f
mov eax, dword [ebp - 0x1c]
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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