Function at 0x45aa80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483e58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x620
push ebx
push esi
push edi
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x10], esp
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.004297f0
add esp, 4
lea ecx, [ebp - 0xac]
push ecx
call fcn.004038a0
add esp, 4
lea ecx, [ebp - 0x6c]
mov dword [0x65cd50], edi
mov byte [ebp - 0x22c], 0
push 1
call fcn.00479b69
mov edx, dword [0x4853bc]
lea ecx, [ebp - 0x6c]
push edx
push 8
push str.c:endpcache_regMonitor_log.txt
mov byte [ebp - 4], 1
call fcn.00479c3d
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push 0x20019
push edi
push ecx
push closesocket
mov dword [ebp - 0x20], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x32c]
push edx
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
push ecx
push edi
push edi
push edx
call esi
cmp eax, edi
je 0x45ab50
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x32c]
push ecx
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push edx
push eax
push edi
push edi
push ecx
call esi
cmp eax, edi
jne 0x45ab79
lea edi, [ebp - 0x32c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x22c]
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
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x22c]
push edx
call fcn.00483565
mov ebx, eax
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 3
jle 0x45acc6
mov byte [ebp - 0x62c], al
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push ebx
call fcn.00436020
add esp, 8
mov esi, eax
push 0x491c3c
push esi
call fcn.0047bec0
push 0x491c80
push esi
mov edi, eax
call fcn.0047bec0
add esp, 0x10
test edi, edi
jne 0x45ac78
test eax, eax
jne 0x45ac78
push esi
call fcn.00483565
push eax
lea ecx, [ebp - 0xac]
push ebx
lea edx, [ebp - 0x12c]
push ecx
push edx
lea eax, [ebp - 0x62c]
push 0x49f1cc
push eax
call fcn.0047a8f8
lea ecx, [ebp - 0x62c]
push ecx
call fcn.00403680
add esp, 0x20
lea edx, [ebp - 0x62c]
lea ecx, [ebp - 0x60]
push edx
call fcn.00479641
push 0xa
mov ecx, eax
call fcn.00479456
push 0x401430
mov ecx, eax
call fcn.00401410
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x42c]
push eax
push str.HKCR_s
push ecx
mov byte [ebp - 0x42c], 0
call fcn.0047a8f8
lea edx, [ebp - 0x42c]
push edx
call fcn.0042bb60
add esp, 0x10
mov esi, 1
jmp 0x45acc9
push esi
call fcn.00483565
push eax
lea eax, [ebp - 0xac]
push ebx
lea ecx, [ebp - 0x12c]
push eax
push ecx
lea edx, [ebp - 0x62c]
push 0x4a00fc
push edx
call fcn.0047a8f8
add esp, 0x1c
lea eax, [ebp - 0x62c]
lea ecx, [ebp - 0x60]
push eax
call fcn.00479641
push 0xa
mov ecx, eax
call fcn.00479456
push 0x401430
mov ecx, eax
call fcn.00401410
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x6c]
call fcn.00479c84
cmp esi, 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
jne 0x45ad00
call fcn.00479c2a
lea ecx, [ebp - 0x58]
call fcn.00479b11
mov eax, 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00479c2a
lea ecx, [ebp - 0x58]
call fcn.00479b11
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