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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55cb38
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.0042c2e0
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.0042ceb0
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.0042c2e0
call fcn.00435a10
add esp, 0x18
mov eax, dword fs:[0x2c]
xor ebx, ebx
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 edi, [ebp + 0x20]
cmovae esi, dword [ebp + 8]
cmp dword [ebp + 0x34], 0x10
cmovae edi, dword [ebp + 0x20]
cmp eax, dword [ecx + 4]
jle 0x426b18
push 0x5c9840
call fcn.00533993
add esp, 4
cmp dword [0x5c9840], 0xffffffff
jne 0x426b18
call fcn.00436720
push 0x5607c0
call fcn.00533d1d
add esp, 4
push 0x5c9840
call fcn.00533954
add esp, 4
push esi
push edi
push str.Move_Begin__s__s
push 0
push 0x5b063c
push 0x5c9848
call fcn.00436800
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 edi, eax
lea ecx, [ebp - 0x28]
call fcn.0042dc00
add esp, 4
mov ecx, 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 [ecx + 4]
jle 0x426bba
push 0x5c9840
call fcn.00533993
add esp, 4
cmp dword [0x5c9840], 0xffffffff
jne 0x426bba
call fcn.00436720
push 0x5607c0
call fcn.00533d1d
add esp, 4
push 0x5c9840
call fcn.00533954
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push esi
push str.Move_Finish__s__d__d
push 0
push 0x5b063c
push 0x5c9848
call fcn.00436800
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.0053af56
add esp, 0xc
test eax, eax
jne 0x426c0f
push dword [ebp - 0x2c]
call fcn.0053a2fa
add esp, 4
cmp dword [ebp + 0x34], 0x10
lea esi, [ebp + 0x20]
mov ecx, dword [ebp - 0x30]
cmovae esi, dword [ebp + 0x20]
mov eax, dword [0x5c9840]
cmp eax, dword [ecx + 4]
jle 0x426c5f
push 0x5c9840
call fcn.00533993
add esp, 4
cmp dword [0x5c9840], 0xffffffff
jne 0x426c5f
call fcn.00436720
push 0x5607c0
call fcn.00533d1d
add esp, 4
push 0x5c9840
call fcn.00533954
add esp, 4
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
call esi
push eax
push str.CheckFile__d
push 0
push 0x5b063c
push 0x5c9848
call fcn.00436800
add esp, 0x14
test edi, edi
je 0x426c98
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push eax
call esi
test eax, eax
jne 0x426d01
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x426cb5
mov eax, dword [ecx]
jmp 0x426cb7
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp + 0x20]
push 0
push eax
call fcn.0042c2e0
call fcn.00435a10
add esp, 0x18
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x426cf3
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0042ceb0
inc ebx
cmp ebx, 0xa
jge 0x426d2c
mov ecx, dword [ebp - 0x30]
jmp 0x426ac0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x426d16
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0042ceb0
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push eax
call esi
test eax, eax
je 0x426d2c
mov bl, 1
jmp 0x426d2e
xor bl, bl
mov eax, dword [ebp + 0x1c]
cmp eax, 0x10
jb 0x426d43
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.0042ceb0
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
cmp ecx, 0x10
jb 0x426d6a
inc ecx
push ecx
push dword [ebp + 0x20]
lea ecx, [ebp + 0x20]
call fcn.0042ceb0
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.00533845
mov esp, ebp
pop ebp
ret 0x30