Function at 0x10029c90
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007a60c
mov eax, dword fs:[0]
push eax
sub esp, 0x63c
mov eax, dword [0x100a11a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x648], ecx
push 0x208
push 0
lea eax, [ebp - 0x420]
push eax
call fcn.10053860
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov dword [ebp - 0x644], 0
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.10053860
add esp, 0xc
xor ecx, ecx
mov byte [ebp - 0x631], cl
lea ecx, [ebp - 0x631]
call fcn.10027df0
push eax
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10029d60
mov dword [ebp - 0x644], 1
jmp 0x10029f25
push 0x208
push 0
lea edx, [ebp - 0x628]
push edx
call fcn.10053860
add esp, 0xc
push str.Uninst.exe
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x628]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x628]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10029ef6
push 4
lea ecx, [ebp - 0x630]
call fcn.100062d0
lea ecx, [ebp - 0x630]
call fcn.10002d70
mov dword [ebp - 4], 0
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x638]
call fcn.10002cc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x630]
push ecx
lea edx, [ebp - 0x638]
push edx
call fcn.1002ad60
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x638]
call fcn.10003140
push 4
lea ecx, [ebp - 0x62c]
call fcn.100062d0
lea ecx, [ebp - 0x62c]
call fcn.10002d70
mov byte [ebp - 4], 2
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x63c]
call fcn.10002cc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x62c]
push ecx
lea edx, [ebp - 0x63c]
push edx
call fcn.1002ad60
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x63c]
call fcn.10003140
mov dword [ebp - 0x640], 1
lea ecx, [ebp - 0x630]
call fcn.10004f60
movzx eax, al
test eax, eax
jne 0x10029ea9
lea ecx, [ebp - 0x62c]
call fcn.10004f60
movzx ecx, al
test ecx, ecx
jne 0x10029ea9
lea ecx, [ebp - 0x630]
call fcn.100034b0
push eax
lea ecx, [ebp - 0x62c]
call fcn.100034b0
push eax
call fcn.10003dc0
add esp, 8
mov dword [ebp - 0x640], eax
cmp dword [ebp - 0x640], 0
jge 0x10029ed5
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x62c]
call fcn.10003140
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x630]
call fcn.10003140
jmp 0x10029f25
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x62c]
call fcn.10003140
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x630]
call fcn.10003140
push 0
lea edx, [ebp - 0x628]
push edx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x10029f1d
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor edx, edx
jne 0x10029d02
mov eax, dword [ebp - 0x644]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10036c51
mov esp, ebp
pop ebp
ret