Function at 0x4528b0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54ff5e
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x5c5244]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x21c]
push eax
call fcn.004526b0
add esp, 4
mov dword [ebp - 4], 0
push dword [ebp - 0x21c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or esi, 0xffffffff
test eax, eax
je 0x452ad2
push dword [ebp - 0x21c]
call fcn.004cf4a0
add esp, 4
test eax, eax
je 0x452ad2
call fcn.004287b0
mov ecx, eax
test ecx, ecx
je 0x452b13
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00452330
add esp, 8
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.__tid:_d__OnDelayCall_InstallHardwareProtect_FileVersion:_s
call fcn.00492250
push 0
push 0
push dword [ebp - 0x21c]
push 1
push str.HardwareProtect
push str.HardwareProtect
call fcn.0043c280
add esp, 0x24
test eax, eax
jns 0x452997
xor edi, edi
jmp 0x452aaf
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004f39e0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.ldsComputerZ.set
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.004287b0
mov ecx, eax
test ecx, ecx
je 0x452b1d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 3
mov eax, str.Pdrv
lea ecx, [ebp - 0x220]
test eax, 0xffff0000
jne 0x452a10
movzx eax, ax
push eax
call fcn.004301d0
jmp 0x452a1c
push 4
push str.Pdrv
call fcn.00429710
mov byte [ebp - 4], 4
call fcn.00452be0
test eax, eax
mov edx, str._x86
mov ecx, str._x64
lea eax, [ebp - 0x220]
cmove ecx, edx
push ecx
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.0043d8b0
add esp, 0xc
mov byte [ebp - 4], 6
mov eax, esi
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x452a6c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x218]
push eax
push str.HardwareProtect
push str.Ludashi
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edi, 1
mov byte [ebp - 4], 2
mov eax, esi
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x452aaf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x452ad4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x452ad4
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x452af6
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004da3bd
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004225f0
push 0x80004005
call fcn.004225f0
int3