Function at 0x100529f0
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013e303
mov eax, dword fs:[0]
push eax
sub esp, 0xa5c
mov eax, dword [0x1019bc84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.1000ca70
mov ecx, eax
test ecx, ecx
je 0x10052e7b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa60], eax
mov eax, str.start_inst
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa60]
test eax, 0xffff0000
jne 0x10052a5f
movzx eax, ax
push eax
call fcn.1000d400
jmp 0x10052a6b
push 0xa
push str.start_inst
call fcn.1000d5b0
mov dword [ebp - 4], 1
call fcn.1000ca70
mov ecx, eax
test ecx, ecx
je 0x10052e85
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa5c], eax
mov ebx, 0x1015a8b0
mov byte [ebp - 4], 2
shr ebx, 0x10
lea ecx, [ebp - 0xa5c]
mov dword [ebp - 0xa58], ebx
mov eax, 0x1015a8b0
test ebx, ebx
jne 0x10052abb
movzx eax, ax
push eax
call fcn.1000d400
jmp 0x10052ac7
push 3
push 0x1015a8b0
call fcn.1000d5b0
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0xa68], esp
mov dword [eax + 0x24], 0
push 0
push 0
lea eax, [ebp - 0xa60]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xa5c]
push eax
call fcn.100346a0
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.10030af0
mov edx, dword [ebp - 0xa5c]
or esi, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10052b25
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xa60]
mov eax, esi
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10052b49
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.1000d350
mov edi, dword [str.HardwareProtect]
test al, al
push str.ComputerZLock
cmovne edi, dword [str.LudashiProtect]
call fcn.1000d720
push str.ComputerZLock
call fcn.1000d880
push dword [0x1019b780]
call fcn.1000d720
push dword [0x1019b780]
call fcn.1000d880
push dword [0x1019b77c]
call fcn.1000d720
push dword [0x1019b77c]
call fcn.1000d880
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100e3030
add esp, 0x24
call fcn.10062810
push 0x104
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x4c]
call fcn.1000d350
test al, al
je 0x10052d27
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100e3030
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
add esp, 0xc
push str.HardwareProtect.tmp
push eax
lea eax, [ebp - 0x420]
push eax
call ebx
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10052c26
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.100e3030
add esp, 0xc
lea eax, [ebp - 0x218]
push str.HardwareProtect.sys
push eax
lea eax, [ebp - 0x830]
push eax
call ebx
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x10052c7f
push 5
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.100e3030
add esp, 0xc
lea eax, [ebp - 0x218]
push str.HardwareProtect_x64.tmp
push eax
lea eax, [ebp - 0x628]
push eax
call ebx
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10052cc8
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.100e3030
add esp, 0xc
lea eax, [ebp - 0x218]
push str.HardwareProtect_x64.sys
push eax
lea eax, [ebp - 0xa38]
push eax
call ebx
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x10052d21
push 5
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebx, dword [ebp - 0xa58]
lea eax, [ebp - 0x218]
push eax
push edi
call fcn.1000cda0
add esp, 8
test eax, eax
je 0x10052d44
push edi
call fcn.1000d6e0
add esp, 4
lea eax, [ebp - 0xa54]
push eax
push edi
call fcn.1000e320
add esp, 8
mov edi, 0
test eax, eax
cmovns edi, dword [ebp - 0xa50]
call fcn.1000ca70
mov ecx, eax
test ecx, ecx
je 0x10052e8f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa64], eax
push edi
lea eax, [ebp - 0xa64]
mov dword [ebp - 4], 5
push str.status__lu
push eax
call fcn.1000ade0
add esp, 0xc
call fcn.1000ca70
mov ecx, eax
test ecx, ecx
je 0x10052e99
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa58], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa58]
test ebx, ebx
jne 0x10052dd6
mov eax, 0x1015a8b0
movzx eax, ax
push eax
call fcn.1000d400
jmp 0x10052de2
push 3
push 0x1015a8b0
call fcn.1000d5b0
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0xa68], esp
mov dword [eax + 0x24], 0
push 0
push 0
lea eax, [ebp - 0xa64]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0xa58]
push eax
call fcn.100346a0
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.10030af0
mov edx, dword [ebp - 0xa58]
mov eax, esi
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10052e3d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xa64]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x10052e5f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009de58
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.1000aab0
push 0x80004005
call fcn.1000aab0
push 0x80004005
call fcn.1000aab0
push 0x80004005
call fcn.1000aab0
int3