Function at 0x1072a5f
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file

Disassembly:
mov eax, 0x10866bd
call fcn.01068a88
sub esp, 0x298
mov eax, dword [0x1097470]
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x220], eax
xor eax, eax
mov ecx, 0x83
lea edi, [ebp - 0x21c]
rep stosd dword es:[edi], eax
push 0x105
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x284]
call fcn.01012a13
and dword [ebp - 4], 0
push 0x100f844
push eax
lea eax, [ebp - 0x2a4]
push eax
call fcn.0101f92e
add esp, 0xc
xor ebx, ebx
inc ebx
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], bl
call fcn.01012fdc
push ebx
lea ecx, [ebp - 0x2a4]
call fcn.0101260e
push ebx
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 3
call fcn.0101260e
mov edi, 0x1001688
push edi
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.0101f92e
push esi
push eax
lea eax, [ebp - 0x254]
push eax
mov byte [ebp - 4], 5
call fcn.01029215
push 0x100f838
push eax
lea eax, [ebp - 0x264]
push eax
mov byte [ebp - 4], 6
call fcn.0101f92e
add esp, 0x24
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 7
call fcn.01012fdc
mov ecx, dword [ebp - 0x220]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 4], 8
call fcn.0101292a
push ebx
lea ecx, [ebp - 0x234]
call fcn.0101260e
push ebx
lea ecx, [ebp - 0x264]
call fcn.0101260e
push ebx
lea ecx, [ebp - 0x254]
call fcn.0101260e
push ebx
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 3
call fcn.0101260e
mov eax, dword [ebp - 0x220]
mov eax, dword [eax + 4]
test eax, eax
jne 0x1072bb4
mov eax, 0x1001d48
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1072ccc
push esi
lea eax, [ebp - 0x244]
push eax
call fcn.01072802
push eax
lea eax, [ebp - 0x294]
push 0x100f96c
push eax
call fcn.01071ba0
mov dword [ebp - 0x224], eax
push edi
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x264]
push eax
mov byte [ebp - 4], 9
call fcn.0101f92e
push esi
push eax
lea eax, [ebp - 0x254]
push eax
mov byte [ebp - 4], 0xa
call fcn.01029215
push dword [ebp - 0x224]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.01029215
add esp, 0x30
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0xc
call fcn.01012fdc
push ebx
lea ecx, [ebp - 0x274]
call fcn.0101260e
push ebx
lea ecx, [ebp - 0x254]
call fcn.0101260e
push ebx
lea ecx, [ebp - 0x264]
call fcn.0101260e
push ebx
lea ecx, [ebp - 0x294]
call fcn.0101260e
mov eax, dword [ebp - 0x230]
test eax, eax
mov esi, 0x1001d48
jne 0x1072c7e
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1072c9d
mov eax, dword [ebp - 0x230]
test eax, eax
jne 0x1072c96
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x230]
test ecx, ecx
jne 0x1072ca9
mov ecx, esi
mov eax, dword [ebp - 0x220]
mov eax, dword [eax + 4]
test eax, eax
jne 0x1072cb8
mov eax, esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push ebx
lea ecx, [ebp - 0x234]
call fcn.0101260e
push dword [ebp - 0x220]
call fcn.0107208e
push ebx
lea ecx, [ebp - 0x244]
mov esi, eax
call fcn.0101260e
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.01067393
leave
ret 8