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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x43c
mov eax, dword [0x1003b164]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 4], eax
push edi
xor esi, esi
lea eax, [ebp - 0x42c]
inc esi
push eax
mov dword [ebp - 0x43c], ebx
mov dword [ebp - 0x438], esi
call fcn.10027523
xor edi, edi
cmp eax, edi
mov dword [ebp - 0x430], eax
jl 0x10025db6
jne 0x10025e38
call fcn.10018194
test eax, eax
jne 0x10025daa
push 4
pop ecx
mov edi, 0x1003b708
lea esi, [ebp - 0x42c]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x10025daa
push 0x1e8
push 0x10004bf8
push 0x10025dd8
call fcn.100280bc
mov dword [ebp - 0x430], 0x8004d012
test ebx, ebx
je 0x10025dc3
mov eax, dword [ebx]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x43c]
test eax, eax
je 0x10025dc3
and dword [eax], 0
mov eax, dword [ebp - 0x430]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.10023cf0
leave
ret 4
cmp eax, esi
jne 0x10025e42
mov dword [ebp - 0x430], edi
mov eax, dword [0x1003be90]
cmp eax, edi
je 0x10025e57
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [0x1003be90], edi
cmp dword [0x1003bec0], edi
jne 0x10025e85
cmp ebx, edi
jne 0x10025e76
push dword [0x1003be94]
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
jmp 0x10025dc9
mov dword [ebp - 0x430], 0x80110473
jmp 0x10025db6
mov ebx, 0x1003b6ec
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, 0x10001a04
mov edi, 0x1003b708
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0x43c]
test esi, esi
je 0x10025ece
mov eax, dword [esi]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [esi], 0
call fcn.100253ab
test eax, eax
mov dword [ebp - 0x430], eax
jl 0x10025db6
and dword [0x1003bec0], 0
push 0x104
lea eax, [ebp - 0x41c]
push eax
call fcn.10023f47
mov ebx, 0x288
add eax, ebx
push eax
call fcn.1002553d
and dword [ebp - 0x434], 0
mov eax, dword [ebp - 0x438]
cdq
add eax, dword [0x1003bec8]
adc edx, dword [0x1003becc]
cmp edx, 0xffff
jg 0x10025fd0
jl 0x10025f24
cmp eax, 0xffffffff
jae 0x10025fd0
mov esi, eax
mov edi, edx
push edi
push esi
call fcn.10023f47
add eax, ebx
push eax
push 0x105
lea eax, [ebp - 0x210]
push eax
call fcn.10024162
push 8
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x10026023
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x22d
push 0x10004bf8
push 0x10025fa0
mov esi, eax
call fcn.100280bc
cmp dword [ebp - 0x438], 1
jne 0x10025fda
cmp esi, 0xb7
jne 0x10025fda
mov dword [ebp - 0x438], 2
jmp 0x10025efa
push 2
pop esi
xor edi, edi
jmp 0x10025f28
cmp dword [ebp - 0x434], 0x1388
jge 0x10026006
cmp esi, 0x20
jne 0x10026006
add dword [ebp - 0x434], 0x1f4
push dword [ebp - 0x434]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10025efa
test esi, esi
jg 0x10026015
mov dword [ebp - 0x430], esi
jmp 0x10025dc3
and esi, 0xffff
or esi, 0x80070000
jmp 0x1002600a
call fcn.10026231
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [0x1003bee4]
test eax, eax
jne 0x10026061
push 0x24c
push 0x10004bf8
push 0x10004c84
call fcn.100280bc
mov dword [ebp - 0x430], 0x8000ffff
jmp 0x10025db6
push esi
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], edi
call fcn.10025172
test eax, eax
je 0x10026052
mov eax, dword [0x1003beec]
mov edx, dword [0x1003bec8]
xor ecx, ecx
sub edx, eax
mov eax, dword [0x1003becc]
sbb eax, ecx
push eax
push edx
call fcn.10023f47
add eax, ebx
push eax
push 0x105
lea eax, [ebp - 0x210]
push eax
call fcn.10024162
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100260fa
lea eax, [ebp - 0x210]
push eax
call fcn.1002646b
mov esi, eax
test esi, esi
jne 0x100260d5
mov dword [ebp - 0x430], 0x8007000e
jmp 0x10025db6
mov eax, dword [0x1003bea0]
mov edi, 0x1003bea0
mov ecx, edi
call dword [eax]
mov eax, dword [0x1003bedc]
mov dword [esi], eax
mov eax, dword [0x1003bea0]
mov ecx, edi
mov dword [0x1003bedc], esi
call dword [eax + 4]
push dword [0x1003be98]
mov esi, dword [sym.imp.KERNEL32.dll_SetEvent]
call esi
push dword [0x1003be94]
call esi
call fcn.1002413b
jmp 0x10025db6