Function at 0x444c10
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb081
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60c
push ebx
push esi
push edi
lea eax, [ebp - 0x298]
mov dword [ebp - 0x10], esp
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.004ab6e0
add esp, 4
lea ecx, [ebp - 0x40]
push ecx
call fcn.00401350
add esp, 4
lea edx, [ebp - 0x518]
push 0x80
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x518]
lea ecx, [ebp - 0x618]
push eax
push str._s_system32config_sam
push ecx
call fcn.004f175f
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x318]
push edx
lea ecx, [ebp - 0x618]
push eax
push ecx
mov dword [ebp - 0x14], esi
call fcn.004bf9c0
add esp, 0x18
lea ecx, [ebp - 0x88]
push 1
call fcn.004f0653
push 1
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 1
call fcn.004f0653
push 1
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 2
call fcn.004f0653
mov edx, dword [0x4fe4e8]
lea ecx, [ebp - 0x88]
push edx
push 8
push str.c:endpcacheprocess_log.txt
mov byte [ebp - 4], 3
call fcn.004f0727
mov eax, dword [0x4fe4e8]
lea ecx, [ebp - 0xd0]
push eax
push 1
push str.c:endpcache_sam_length.txt
call fcn.004f0727
mov edi, dword [ebp - 0xcc]
push 0xa
lea ecx, [ebp - 0x398]
push 0x80
inc edi
push ecx
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xcc], edi
call fcn.004f0ae9
lea ecx, [ebp - 0xd0]
call fcn.004f076e
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x1d0]
push edx
push 0x50de40
push eax
mov byte [ebp - 0x1d0], 0
call fcn.004f175f
lea ecx, [ebp - 0x1d0]
lea edx, [ebp - 0x398]
push ecx
push edx
call fcn.004f61e0
add esp, 0x14
mov byte [ebp - 0x1d0], 0
test eax, eax
je 0x444e57
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x318]
lea ecx, [ebp - 0x398]
push eax
push ecx
lea eax, [ebp - 0x40]
push edx
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x298]
push eax
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x1d0]
push eax
push 0x51e74c
push edx
call fcn.004f175f
mov eax, dword [0xe56db0]
add esp, 0x1c
cmp eax, esi
jne 0x444e45
cmp dword [0xe56dbc], esi
jne 0x444e07
mov ebx, dword [ebp + 0x1b4]
mov ecx, dword [ebp + 0x1b0]
lea eax, [ebp - 0x1d0]
lea esi, [ebp + 8]
push eax
push ebx
push ecx
mov ecx, 0x6a
sub esp, 0x1a8
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
add esp, 0x1b4
lea ecx, [ebp - 0x1d0]
push ecx
jmp 0x444f19
mov ebx, dword [ebp + 0x1b4]
mov eax, dword [ebp + 0x1b0]
lea edx, [ebp - 0x1d0]
mov ecx, 0x6a
push edx
push ebx
push eax
lea esi, [ebp + 8]
sub esp, 0x1a8
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
add esp, 0x1b4
lea ecx, [ebp - 0x1d0]
push ecx
jmp 0x444f19
mov ebx, dword [ebp + 0x1b4]
lea ecx, [ebp - 0x1d0]
push ecx
jmp 0x444f19
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x318]
push edx
lea ecx, [ebp - 0x40]
push eax
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x298]
push eax
push edx
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0x1d0]
push 0x51e718
push eax
call fcn.004f175f
mov eax, dword [0xe56db0]
add esp, 0x18
cmp eax, esi
jne 0x444f0c
cmp dword [0xe56dbc], esi
jne 0x444ed8
mov ebx, dword [ebp + 0x1b4]
mov edx, dword [ebp + 0x1b0]
lea ecx, [ebp - 0x1d0]
lea esi, [ebp + 8]
push ecx
push ebx
push edx
mov ecx, 0x6a
sub esp, 0x1a8
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
add esp, 0x1b4
jmp 0x444f12
mov ebx, dword [ebp + 0x1b4]
mov ecx, dword [ebp + 0x1b0]
lea eax, [ebp - 0x1d0]
lea esi, [ebp + 8]
push eax
push ebx
push ecx
mov ecx, 0x6a
sub esp, 0x1a8
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
add esp, 0x1b4
jmp 0x444f12
mov ebx, dword [ebp + 0x1b4]
lea edx, [ebp - 0x1d0]
push edx
lea ecx, [ebp - 0x7c]
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
mov eax, dword [0x4fe4e8]
lea ecx, [ebp - 0x218]
push eax
push 2
push str.c:endpcache_sam_length.txt
call fcn.004f0727
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x20c]
call fcn.004f0ba3
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
lea ecx, [ebp - 0x218]
call fcn.004f076e
lea edx, [ebp - 0x18]
mov dword [ebp - 0x1c], 4
push edx
push 0x20019
push 0
push str.SYSTEMCurrentControlSetControlLsa
push closesocket
mov dword [ebp - 0x20], 0x80
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x418]
push eax
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x1c]
push ecx
push edx
push 0
push str.restrictanonymous
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x445178
mov esi, dword [ebp - 0x418]
and esi, 0xff
mov dword [ebp + 0x1b4], esi
jne 0x4450ad
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x1d0], al
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x298]
push eax
push edx
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0x1d0]
push 0x51e670
push eax
call fcn.004f175f
mov eax, dword [0xe56db0]
add esp, 0x10
test eax, eax
jne 0x445089
mov eax, dword [0xe56dbc]
test eax, eax
jne 0x445057
mov edx, dword [ebp + 0x1b0]
lea ecx, [ebp - 0x1d0]
push ecx
push ebx
push edx
mov ecx, 0x6a
sub esp, 0x1a8
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
jmp 0x44507d
mov ecx, dword [ebp + 0x1b0]
lea eax, [ebp - 0x1d0]
push eax
push ebx
push ecx
mov ecx, 0x6a
sub esp, 0x1a8
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
mov esi, dword [ebp + 0x1b4]
add esp, 0x1b4
lea edx, [ebp - 0x1d0]
lea ecx, [ebp - 0x7c]
push edx
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
cmp esi, 1
jne 0x445178
lea eax, [ebp - 0x40]
mov byte [ebp - 0x1d0], 0
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x298]
push eax
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x1d0]
push eax
push 0x51e620
push edx
call fcn.004f175f
mov eax, dword [0xe56db0]
add esp, 0x10
test eax, eax
jne 0x445154
mov eax, dword [0xe56dbc]
test eax, eax
jne 0x445128
mov ecx, dword [ebp + 0x1b0]
lea eax, [ebp - 0x1d0]
push eax
push ebx
push ecx
mov ecx, 0x6a
sub esp, 0x1a8
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
jmp 0x44514e
mov eax, dword [ebp + 0x1b0]
lea edx, [ebp - 0x1d0]
push edx
push ebx
push eax
mov ecx, 0x6a
sub esp, 0x1a8
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
add esp, 0x1b4
lea ecx, [ebp - 0x1d0]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x88]
call fcn.004f076e
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 2
call fcn.004f0714
lea ecx, [ebp - 0xbc]
call fcn.004f05fb
lea ecx, [ebp - 0x204]
mov byte [ebp - 4], 1
call fcn.004f0714
lea ecx, [ebp - 0x204]
call fcn.004f05fb
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0
call fcn.004f0714
lea ecx, [ebp - 0x74]
call fcn.004f05fb
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret