Function at 0x10002750
Capabilities:
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
sub esp, 0x824
mov eax, dword [0x10017290]
xor eax, esp
mov dword [esp + 0x820], eax
mov eax, dword [esp + 0x82c]
mov ecx, dword [esp + 0x834]
mov edx, dword [esp + 0x830]
push esi
mov dword [0x100198d4], eax
xor eax, eax
push 0x206
mov dword [0x100198d0], ecx
push eax
lea ecx, [esp + 0xe]
push ecx
mov dword [0x100198d8], edx
xor esi, esi
mov word [esp + 0x10], ax
call fcn.10008170
add esp, 0xc
lea edx, [esp + 4]
push edx
call fcn.10003172
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x41e]
push ecx
mov word [esp + 0x420], ax
call fcn.10008170
add esp, 0xc
lea edx, [esp + 0x414]
push edx
call fcn.10003172
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x216]
push ecx
mov word [esp + 0x218], ax
call fcn.10008170
lea edx, [esp + 0x10]
push edx
push str._s.new.tmp
push 0x104
lea eax, [esp + 0x224]
push 0x104
push eax
call fcn.100035e0
lea ecx, [esp + 0x22c]
push ecx
lea edx, [esp + 0x438]
push edx
lea eax, [esp + 0x2c]
push eax
push str._NSISPlugin__JApply__Org___s__Pch___s__Out___s
call fcn.10001690
lea ecx, [esp + 0x34]
push esi
push ecx
call fcn.10003cd6
add esp, 0x38
test eax, eax
je 0x1000285f
push str._NSISPlugin__JApply__Org_File_Not_Exist
call fcn.10001690
add esp, 4
jmp 0x1000296a
lea edx, [esp + 0x414]
push 0
push edx
call fcn.10003cd6
add esp, 8
test eax, eax
je 0x10002887
push str._NSISPlugin__JApply__Pch_File_Not_Exist
call fcn.10001690
add esp, 4
jmp 0x1000296a
push edi
lea eax, [esp + 0x210]
push 0
push eax
call fcn.10003cd6
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 8
test eax, eax
jne 0x100028c6
lea ecx, [esp + 0x210]
push ecx
call edi
test eax, eax
je 0x100028b9
push str._NSISPlugin__JApply__Out_File_Exist__Delete_Success
jmp 0x100028be
push str._NSISPlugin__JApply__Out_File_Exist__Delete_Failed
call fcn.10001690
add esp, 4
lea edx, [esp + 0x210]
push edx
lea eax, [esp + 0x41c]
push eax
lea eax, [esp + 0x10]
call fcn.10003040
mov esi, eax
add esp, 8
test esi, esi
je 0x1000294b
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 1
cmp al, 1
jne 0x10002922
push 0x80
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x10002915
push str._NSISPlugin__JApply__Org_File_Is_Read_Only__Set_Normal_Success
jmp 0x1000291a
push str._NSISPlugin__JApply__Org_File_Is_Read_Only__Set_Normal_Failed
call fcn.10001690
add esp, 4
push 1
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, eax
test esi, esi
jne 0x1000295f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._NSISPlugin__JApply__Move_File_Failed__Error_Code__d_
jmp 0x10002957
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._NSISPlugin__JApply__Apply_Patch_Failed__Error_Code__d_
call fcn.10001690
add esp, 8
lea edx, [esp + 0x418]
push edx
call edi
pop edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x626]
push ecx
mov word [esp + 0x628], ax
call fcn.10008170
push 0xa
lea edx, [esp + 0x62c]
push edx
push esi
call fcn.10003d42
add esp, 0x18
lea eax, [esp + 0x61c]
push eax
push 0x13
call fcn.100031ad
mov ecx, dword [esp + 0x824]
pop esi
xor ecx, esp
call fcn.100031f4
add esp, 0x824
ret