Function at 0x45a2a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb293
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x93c
push ebx
push esi
push edi
lea eax, [ebp - 0x448]
mov dword [ebp - 0x10], esp
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004ab6e0
add esp, 4
lea ecx, [ebp - 0x80]
push ecx
call fcn.00401350
add esp, 4
lea edx, [ebp - 0x748]
push 0x80
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.c:endpcacheos_sys_list.txt
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x948]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 1
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [ebp - 0x18], ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x14], esi
call fcn.004f0653
push 1
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 1
call fcn.004f0653
mov ecx, dword [0x4fe4e8]
lea edx, [ebp - 0x948]
push ecx
push 1
push edx
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.004f0727
mov eax, dword [0x4fe4e8]
lea ecx, [ebp - 0xc8]
push eax
push 8
push str.c:endpcacheprocess_log.txt
call fcn.004f0727
mov ecx, dword [ebp - 0x60]
mov ebx, dword [ebp + 0x1b4]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + edx - 0x5c]
cmp dword [eax + 0x30], 0xffffffff
je 0x45aa45
mov edi, dword [ebp - 0x5c]
push 0xa
lea eax, [ebp - 0x648]
inc edi
push 0x100
push eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x5c], edi
call fcn.004f0ae9
lea edi, [ebp - 0x648]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
cmp esi, 1
jle 0x45aa1b
lea ecx, [ebp - 0x648]
push str.Total
push ecx
call fcn.004f2d80
add esp, 8
test eax, eax
jne 0x45aa29
lea edx, [ebp - 0x648]
push str.____
push edx
call fcn.004f2d80
add esp, 8
test eax, eax
jne 0x45aa29
lea eax, [ebp - 0x648]
push str.ModuleName
push eax
call fcn.004f2d80
add esp, 8
test eax, eax
jne 0x45aa29
mov ecx, dword [ebp - 0x14]
push 0x516158
inc ecx
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x648]
push ecx
call fcn.004f2d80
add esp, 8
test eax, eax
jne 0x45aa1b
lea edx, [ebp - 0x648]
push 0x516138
push edx
call fcn.004f2d80
add esp, 8
test eax, eax
jne 0x45aa1b
cmp eax, esi
jge 0x45a46b
cmp byte [ebp + eax - 0x648], 0x2e
je 0x45a46b
inc eax
jmp 0x45a45a
mov byte [ebp + eax - 0x644], 0
lea eax, [ebp - 0x2c8]
push eax
lea ecx, [ebp - 0x648]
push 0x520f6c
push ecx
call fcn.004f23e3
lea edx, [ebp - 0x2c8]
push str.regsys.sys
push edx
call fcn.004f61e0
add esp, 0x14
test eax, eax
je 0x45aa29
lea eax, [ebp - 0x2c8]
push str.CCmFILEMMeDu.SYS
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x45aa29
lea ecx, [ebp - 0x2c8]
push str.ccfilemon.sys
push ecx
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x45aa29
lea edx, [ebp - 0x2c8]
push str.ccProcMon.sys
push edx
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x45aa29
lea eax, [ebp - 0x2c8]
push str.ccRegmon.sys
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x45aa29
lea ecx, [ebp - 0x2c8]
push str.ccRegmonEx.sys
push ecx
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x45aa29
lea edx, [ebp - 0x2c8]
push str.dump_atapi.sys
push edx
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x45aa29
lea eax, [ebp - 0x2c8]
push str.dump_dumpata.sys
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x45aa29
lea ecx, [ebp - 0x2c8]
push str.dump_WMILIB.SYS
push ecx
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x45aa29
lea edx, [ebp - 0x2c8]
push str.NAVAP.sys
push edx
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x45aa29
lea eax, [ebp - 0x2c8]
push str.NAVEX15.sys
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x45aa29
lea ecx, [ebp - 0x2c8]
push str.NAVENG.sys
push ecx
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x45aa29
lea edx, [ebp - 0x2c8]
push str.NAVAPEL.SYS
push edx
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x45aa29
lea eax, [ebp - 0x2c8]
push str.npkcrypt.sys
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x45aa29
lea ecx, [ebp - 0x2c8]
push str.dump_diskdump.sys
push ecx
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x45aa29
lea edx, [ebp - 0x2c8]
push str.dump_BusLogic.sys
push edx
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x45aa29
lea eax, [ebp - 0x2c8]
push str.dump_
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x45aa29
lea ecx, [ebp - 0x2c8]
push str.AnyFileDel.sys
push ecx
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x45aa29
lea edx, [ebp - 0x2c8]
push str.EraserUtilDrvI4.sys
push edx
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x45aa29
lea eax, [ebp - 0x2c8]
push str.Savrtpel.sys
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x45aa29
lea ecx, [ebp - 0x2c8]
push str.eeCtrl.sys
push ecx
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x45aa29
lea edx, [ebp - 0x2c8]
push str.savrt.sys
push edx
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x45aa29
lea eax, [ebp - 0x2c8]
push str.HOOKCONT.sys
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x45aa29
lea ecx, [ebp - 0x2c8]
push str.HOOKBASE.sys
push ecx
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x45aa29
lea edx, [ebp - 0x2c8]
push str.HOOKREG.sys
push edx
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x45aa29
lea eax, [ebp - 0x2c8]
push str.HOOKSYS.sys
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x45aa29
lea ecx, [ebp - 0x2c8]
push str.MEMSCAN.sys
push ecx
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x45aa29
lea edx, [ebp - 0x2c8]
push str.HOOKAPI.sys
push edx
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x45aa29
lea eax, [ebp - 0x2c8]
push str.ExpScan.sys
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x45aa29
lea ecx, [ebp - 0x2c8]
push str.RSPPSYS.sys
push ecx
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x45aa29
lea edx, [ebp - 0x2c8]
push str.tcpip.sys
push edx
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x45aa29
cmp dword [0xe56bf4], 1
jne 0x45a814
lea eax, [ebp - 0x2c8]
push 0x520da4
push eax
call fcn.004f2d80
add esp, 8
test eax, eax
jne 0x45aa29
lea ecx, [ebp - 0x2c8]
lea edx, [ebp - 0x748]
push ecx
push edx
lea eax, [ebp - 0x848]
push str._sdrivers_s
push eax
mov byte [ebp - 0x848], 0
call fcn.004f175f
mov esi, dword [0xe56c7c]
add esp, 0x10
lea ecx, [ebp - 0x2c8]
lea edx, [ebp - 0x80]
inc esi
push ecx
push edx
mov dword [0xe56c7c], esi
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0x448]
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x3c8]
push eax
push 0x520d68
push ecx
call fcn.004f175f
mov eax, dword [0xe56db0]
add esp, 0x14
test eax, eax
jne 0x45a8e8
mov eax, dword [0xe56dbc]
test eax, eax
jne 0x45a8bc
mov eax, dword [ebp + 0x1b0]
lea edx, [ebp - 0x3c8]
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.00404170
jmp 0x45a8e2
mov edx, dword [ebp + 0x1b0]
lea ecx, [ebp - 0x3c8]
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.00404560
add esp, 0x1b4
lea eax, [ebp - 0x3c8]
lea ecx, [ebp - 0xbc]
push eax
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
lea ecx, [ebp - 0x2c8]
lea edx, [ebp - 0x748]
push ecx
push edx
lea eax, [ebp - 0x648]
push str._sdrivers_s
push eax
call fcn.004f175f
lea ecx, [ebp - 0x648]
push ecx
call fcn.004abe70
add esp, 0x14
cmp eax, 1
jne 0x45aa1b
lea edx, [ebp - 0x648]
push edx
call fcn.0044a870
add esp, 4
lea ecx, [ebp - 0x80]
push eax
lea eax, [ebp - 0x648]
push eax
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x448]
push eax
push edx
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0x3c8]
push 0x520d34
push eax
call fcn.004f175f
mov eax, dword [0xe56db0]
add esp, 0x18
test eax, eax
jne 0x45a9f4
mov eax, dword [0xe56dbc]
test eax, eax
jne 0x45a9c8
mov edx, dword [ebp + 0x1b0]
lea ecx, [ebp - 0x3c8]
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 0x45a9ee
mov ecx, dword [ebp + 0x1b0]
lea eax, [ebp - 0x3c8]
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
add esp, 0x1b4
lea edx, [ebp - 0x3c8]
lea ecx, [ebp - 0xbc]
push edx
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
mov eax, dword [ebp - 0x18]
inc eax
cmp eax, 0x3e8
mov dword [ebp - 0x18], eax
je 0x45aa3a
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 4]
test byte [ebp + ecx - 0x58], 1
je 0x45a38f
lea ecx, [ebp - 0x60]
call fcn.004f076e
mov esi, dword [ebp - 0x14]
lea edx, [ebp - 0x80]
push esi
push edx
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0x448]
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x3c8]
push eax
push 0x520d00
push ecx
call fcn.004f175f
add esp, 0x14
cmp esi, 0xa
jle 0x45aa82
mov dword [0xe56c54], esi
mov eax, dword [0xe56db0]
test eax, eax
jne 0x45aae8
mov eax, dword [0xe56dbc]
test eax, eax
jne 0x45aabc
mov eax, dword [ebp + 0x1b0]
lea edx, [ebp - 0x3c8]
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.00404170
jmp 0x45aae2
mov edx, dword [ebp + 0x1b0]
lea ecx, [ebp - 0x3c8]
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.00404560
add esp, 0x1b4
lea eax, [ebp - 0x3c8]
lea ecx, [ebp - 0xbc]
push eax
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
lea ecx, [ebp - 0xc8]
call fcn.004f076e
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 1
call fcn.004f0714
lea ecx, [ebp - 0xb4]
call fcn.004f05fb
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0
call fcn.004f0714
lea ecx, [ebp - 0x4c]
call fcn.004f05fb
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov ax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret