Function at 0x100029e0
Capabilities:
Check if file exists
Copy file
Delete file
Read file via mapping
Terminate process

Disassembly:
mov eax, 0x10d4
call fcn.1000f780
mov eax, dword [0x1001603c]
xor eax, esp
mov dword [esp + 0x10d0], eax
mov eax, dword [esp + 0x10dc]
push ebx
push ebp
mov ebp, dword [esp + 0x10e0]
push edi
xor ecx, ecx
push 0xbe
push ecx
lea edx, [esp + 0x26]
push edx
mov dword [esp + 0x18], eax
mov dword [0x10018cfc], 0xa
mov word [esp + 0x28], cx
call fcn.10009a30
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
add esp, 0xc
push str.Local_
lea eax, [esp + 0x20]
push eax
call edi
lea ecx, [esp + 0x28]
mov eax, 0x10
push ecx
lea ebx, [eax - 8]
call fcn.10001600
add esp, 4
lea edx, [esp + 0x1c]
push edx
push 0x2000
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x10002aa0
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov dword [0x10018d00], eax
pop ebp
lea eax, [ebx + 1]
pop ebx
mov ecx, dword [esp + 0x10d0]
xor ecx, esp
call fcn.10003569
add esp, 0x10d4
ret
push esi
push 0x2000
push 0
push 0
push 6
push ebx
mov dword [0x10018cfc], 0xe
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x10002add
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov dword [0x10018d00], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 2]
jmp 0x10002d36
push 0x2000
push 0
push esi
call fcn.10009a30
mov eax, dword [esp + 0x10fc]
add esp, 0xc
push ebp
lea ecx, [esi + 0x14]
push ecx
mov dword [esi + 4], eax
call edi
mov edx, dword [esp + 0x10]
push edx
lea eax, [esi + 0x814]
push eax
call edi
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [esp + 0xea]
push edx
mov word [esp + 0xec], cx
call fcn.10009a30
mov ecx, dword [0x10019508]
add esp, 0xc
push 0x3e8
lea eax, [esp + 0xe4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0xe0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jl 0x10002b6f
mov ecx, 0x5c
lea ecx, [ecx]
cmp word [esp + eax*2 + 0xe0], cx
je 0x10002b6f
sub eax, 1
jns 0x10002b60
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.TuneUpSystemStatusCheck.db
lea edx, [esp + 0xe4]
xor ecx, ecx
push edx
mov word [esp + eax*2 + 0xe8], cx
call ebp
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0x8ea]
push ecx
mov word [esp + 0x8ec], ax
call fcn.10009a30
add esp, 0xc
push 0x10018d08
lea edx, [esp + 0x8e4]
push edx
call edi
push str.TuneUpSystemStatusCheck.exe
lea eax, [esp + 0x8e4]
push eax
call ebp
xor ebp, ebp
push ebp
lea ecx, [esp + 0x8e4]
push ecx
lea edx, [esp + 0xe8]
push edx
mov dword [0x10018cfc], 0xb
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x10002c06
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x10018d00], eax
lea edi, [ebp + 3]
jmp 0x10002d26
lea ebx, [esp + 0x10]
lea edi, [esp + 0x20]
lea ecx, [esp + 0x8e0]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ebp
mov dword [0x10018cfc], 0xc
call fcn.10002820
test eax, eax
jle 0x10002c33
add eax, 0xa
mov dword [esp + 0x14], eax
cmp eax, ebp
jne 0x10002cda
mov edi, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [0x10018cfc], 0xd
push 0x64
push edi
call ebx
inc ebp
test eax, eax
je 0x10002cac
cmp ebp, 0x14
jl 0x10002c53
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
cmp dword [esi], 3
je 0x10002c93
lea esp, [esp]
cmp edi, 0x14
jge 0x10002c93
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp dword [esi], 3
jne 0x10002c80
cmp dword [esi + 8], 0
jne 0x10002cd0
mov ecx, dword [esi + 0x10]
mov dword [0x10018d00], ecx
mov dword [esp + 0x14], 4
jmp 0x10002cda
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x10002c6b
mov eax, 0xcccccccd
mul dword [esp + 0x18]
shr edx, 3
mov dword [0x10018d00], edx
jmp 0x10002c6b
mov dword [0x10018d00], 0
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [esp + 0x8e0]
push edx
call edi
test eax, eax
jne 0x10002d14
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 2
je 0x10002d14
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x8e0]
push eax
call edi
test eax, eax
je 0x10002cf4
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov dword [0x10018cfc], 0xf
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [esp + 0x10e0]
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.10003569
add esp, 0x10d4
ret