Function at 0x425710
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c9b8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
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 str.._.._
lea edx, [ebp + 0x10]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.0042dc00
add esp, 4
push 0x5b10d4
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0042dbb0
add esp, 4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x425784
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0042ceb0
push 0x5b10ec
lea edx, [ebp + 0x10]
mov dword [ebp - 0x44], 0xf
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call fcn.0042dc00
add esp, 4
push 0x5b10d4
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.0042dbb0
add esp, 4
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x4257d8
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.0042ceb0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x5c], 0xf
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x425807
xor bl, bl
jmp 0x425a00
push 0x5b10f0
call fcn.00428960
mov ecx, dword fs:[0x2c]
mov esi, eax
mov edi, dword [ecx]
mov ecx, dword [0x5c9840]
cmp ecx, dword [edi + 4]
jle 0x42585f
push 0x5c9840
call fcn.00533993
add esp, 4
cmp dword [0x5c9840], 0xffffffff
jne 0x42585f
call fcn.00436720
push 0x5607c0
call fcn.00533d1d
add esp, 4
push 0x5c9840
call fcn.00533954
add esp, 4
push esi
push 0x5b1100
push 0
push 0x5b063c
push 0x5c9848
call fcn.00436800
add esp, 0x14
test esi, esi
jle 0x4258a7
cmp byte [ebp + 8], 0
je 0x4258a7
push dword [ebp + 0xc]
push esi
call fcn.00428b10
push eax
push 0x5b1100
push 0
push 0x5b063c
call fcn.004367b0
push eax
call fcn.00436800
add esp, 0x14
cmp dword [ebp - 0x2c], 0x10
lea esi, [ebp - 0x40]
mov eax, dword [0x5c9840]
cmovae esi, dword [ebp - 0x40]
cmp eax, dword [edi + 4]
jle 0x4258f4
push 0x5c9840
call fcn.00533993
add esp, 4
cmp dword [0x5c9840], 0xffffffff
jne 0x4258f4
call fcn.00436720
push 0x5607c0
call fcn.00533d1d
add esp, 4
push 0x5c9840
call fcn.00533954
add esp, 4
push esi
push 0x5b0c40
push 0
push 0x5b063c
push 0x5c9848
call fcn.00436800
mov eax, dword [0x5c9840]
lea esi, [ebp - 0x28]
add esp, 0x14
cmp dword [ebp - 0x14], 0x10
cmovae esi, dword [ebp - 0x28]
cmp eax, dword [edi + 4]
jle 0x42595b
push 0x5c9840
call fcn.00533993
add esp, 4
cmp dword [0x5c9840], 0xffffffff
jne 0x42595b
call fcn.00436720
push 0x5607c0
call fcn.00533d1d
add esp, 4
push 0x5c9840
call fcn.00533954
add esp, 4
push esi
push 0x5b0c40
push 0
push 0x5b063c
push 0x5c9848
call fcn.00436800
add esp, 0x14
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 0x10
push 1
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov ecx, dword [0x5c9840]
mov esi, eax
cmp ecx, dword [edi + 4]
jle 0x4259da
push 0x5c9840
call fcn.00533993
add esp, 4
cmp dword [0x5c9840], 0xffffffff
jne 0x4259da
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 esi
push 0x5b1104
push 0
push 0x5b063c
push 0x5c9848
call fcn.00436800
add esp, 0x18
test esi, esi
setne bl
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x425a15
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0042ceb0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x425a3c
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0042ceb0
mov ecx, dword [ebp + 0x24]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp ecx, 0x10
jb 0x425a63
inc ecx
push ecx
push dword [ebp + 0x10]
lea ecx, [ebp + 0x10]
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 0x20