Function at 0x419af0
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aee16
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x629214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x140]
sub ecx, dword [esi + 0x13c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
xor ebx, ebx
add eax, edx
mov dword [ebp - 0x114], esi
je 0x419e39
mov dword [ebp - 0x10c], ebx
jmp 0x419b66
mov esi, dword [ebp - 0x114]
mov edi, dword [esi + 0x13c]
add edi, dword [ebp - 0x10c]
cmp dword [edi + 0x14], 8
jb 0x419b7c
mov eax, dword [edi]
jmp 0x419b7e
mov eax, edi
push eax
lea esi, [ebp - 0x108]
call fcn.004093e0
add esp, 4
xor esi, esi
mov ecx, eax
mov dword [ebp - 4], esi
call fcn.00477dc0
xor ecx, ecx
mov word [ebp - 0x64], cx
mov ecx, eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], 7
lea esi, [ecx + 2]
mov edi, edi
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x419bb0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x64]
call fcn.00406130
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 2
call fcn.0043d597
xor edx, edx
push 0x10
mov eax, str.pro_rollback_dds
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
call fcn.00406130
mov byte [ebp - 4], 3
test byte [0x63048c], 1
jne 0x419c38
or dword [0x63048c], 1
lea eax, [ebp - 0x10d]
push eax
mov byte [ebp - 4], 4
call fcn.004045f0
mov byte [ebp - 4], 5
call fcn.00403c10
push 0x5b0660
call fcn.0047990f
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x2c]
mov ecx, 0x630434
call fcn.004040b0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x64]
mov edx, 8
cmp dword [ebp - 0x50], edx
jae 0x419c5d
lea ecx, [ebp - 0x64]
cmp dword [eax + 0x14], edx
jb 0x419c66
mov esi, dword [eax]
jmp 0x419c68
mov esi, eax
mov eax, dword [ebp - 0x114]
push ecx
mov ecx, dword [eax + 0x140]
sub ecx, dword [eax + 0x13c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
inc ebx
push ebx
push esi
mov dword [ebp - 0x118], ebx
call fcn.004073c0
mov ebx, 8
add esp, 0x10
cmp dword [ebp - 0x6c], ebx
jb 0x419cb6
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00478c1a
add esp, 4
xor edx, edx
mov byte [ebp - 4], 2
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], dx
cmp dword [ebp - 0x18], ebx
jb 0x419cdf
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00478c1a
add esp, 4
cmp dword [edi + 0x2c], 0
jne 0x419d59
cmp dword [edi + 0x14], ebx
jb 0x419cee
mov eax, dword [edi]
jmp 0x419cf0
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x419ddf
push str..tmp
lea ecx, [ebp - 0x2c]
push edi
push ecx
call fcn.0040a1e0
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], ebx
jae 0x419d1c
lea eax, [ebp - 0x2c]
cmp dword [edi + 0x14], ebx
jb 0x419d23
mov edi, dword [edi]
push 0xb
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x419d38
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x18], ebx
jb 0x419ddf
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00478c1a
add esp, 4
jmp 0x419ddf
push str..tmp
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.0040a1e0
mov ecx, dword [ebp - 0x48]
add esp, 0xc
cmp dword [ebp - 0x34], ebx
jae 0x419d76
lea ecx, [ebp - 0x48]
cmp dword [edi + 0x14], ebx
jb 0x419d7f
mov eax, dword [edi]
jmp 0x419d81
mov eax, edi
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0xb
push ecx
push eax
call esi
cmp dword [edi + 0x14], ebx
jb 0x419d96
mov ecx, dword [edi]
jmp 0x419d98
mov ecx, edi
cmp dword [edi + 0x30], ebx
lea eax, [edi + 0x1c]
jb 0x419da2
mov eax, dword [eax]
push 0xb
push ecx
push eax
call esi
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], ebx
jae 0x419db3
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x34], ebx
jb 0x419dcb
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00478c1a
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], dx
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x50], ebx
jb 0x419dff
mov eax, dword [ebp - 0x64]
push eax
call fcn.00478c1a
add esp, 4
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax + 0x140]
sub ecx, dword [eax + 0x13c]
mov ebx, dword [ebp - 0x118]
add dword [ebp - 0x10c], 0x38
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebx, ecx
jb 0x419b60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00478c25
mov esp, ebp
pop ebp
ret