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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c6d8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5c49f0]
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
push 0xffffffffffffffff
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
push 0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0042c2b0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x426a56
test al, 0x10
je 0x426a56
mov esi, 1
jmp 0x426a58
xor esi, esi
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x426a6d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0042ce80
test esi, esi
je 0x426aa8
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x426a8e
mov eax, dword [ecx]
jmp 0x426a90
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp + 0x20]
push 0
push eax
call fcn.0042c2b0
call fcn.004359e0
add esp, 0x18
mov eax, dword fs:[0x2c]
xor edi, edi
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
nop word [eax + eax]
cmp dword [ebp + 0x1c], 0x10
lea esi, [ebp + 8]
mov eax, dword [0x5c9840]
lea ebx, [ebp + 0x20]
cmovae esi, dword [ebp + 8]
cmp dword [ebp + 0x34], 0x10
cmovae ebx, dword [ebp + 0x20]
cmp eax, dword [ecx + 4]
jle 0x426b18
push 0x5c9840
call fcn.0053357d
add esp, 4
cmp dword [0x5c9840], 0xffffffff
jne 0x426b18
call fcn.004366f0
push 0x560310
call fcn.00533907
add esp, 4
push 0x5c9840
call fcn.0053353e
add esp, 4
push esi
push ebx
push str.Move_Begin__s__s
push 0
push 0x5b063c
push 0x5c9848
call fcn.004367d0
add esp, 0x18
lea ecx, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 8]
cmovae ecx, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 0x10
push ecx
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push str.dm1.dat
lea edx, [ebp + 0x20]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x28]
call fcn.0042dbd0
add esp, 4
mov ebx, dword [ebp - 0x30]
lea esi, [ebp - 0x28]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x14], 0x10
mov eax, dword [0x5c9840]
cmovae esi, dword [ebp - 0x28]
cmp eax, dword [ebx + 4]
jle 0x426bbb
push 0x5c9840
call fcn.0053357d
add esp, 4
cmp dword [0x5c9840], 0xffffffff
jne 0x426bbb
call fcn.004366f0
push 0x560310
call fcn.00533907
add esp, 4
push 0x5c9840
call fcn.0053353e
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x2c]
push esi
push str.Move_Finish__s__d__d
push 0
push 0x5b063c
push 0x5c9848
call fcn.004367d0
add esp, 0x1c
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0x5b18fc
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0053ab19
add esp, 0xc
test eax, eax
jne 0x426c12
push dword [ebp - 0x2c]
call fcn.00539ebd
add esp, 4
cmp dword [ebp + 0x34], 0x10
lea esi, [ebp + 0x20]
mov eax, dword [0x5c9840]
cmovae esi, dword [ebp + 0x20]
cmp eax, dword [ebx + 4]
jle 0x426c5f
push 0x5c9840
call fcn.0053357d
add esp, 4
cmp dword [0x5c9840], 0xffffffff
jne 0x426c5f
call fcn.004366f0
push 0x560310
call fcn.00533907
add esp, 4
push 0x5c9840
call fcn.0053353e
add esp, 4
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push esi
call ebx
push eax
push str.CheckFile__d
push 0
push 0x5b063c
push 0x5c9848
call fcn.004367d0
add esp, 0x14
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
cmovae eax, dword [ebp + 0x20]
push eax
call ebx
test eax, eax
jne 0x426cc7
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x426cb8
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0042ce80
mov ecx, dword [ebp - 0x30]
inc edi
cmp edi, 0xa
jl 0x426ac0
jmp 0x426cdc
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x426cdc
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0042ce80
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push eax
call ebx
test eax, eax
mov eax, dword [ebp + 0x1c]
setne bl
cmp eax, 0x10
jb 0x426d04
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.0042ce80
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
cmp ecx, 0x10
jb 0x426d2b
inc ecx
push ecx
push dword [ebp + 0x20]
lea ecx, [ebp + 0x20]
call fcn.0042ce80
mov al, bl
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.0053342f
mov esp, ebp
pop ebp
ret 0x30