Function at 0x45f270
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1303
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x4bf6bc]
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
push 0x7e
xor ebx, ebx
lea ecx, [ebp - 0x8e]
xor eax, eax
push ebx
push ecx
mov dword [ebp - 0x104], esi
mov word [ebp - 0x90], ax
call fcn.00483260
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea edx, [ebp - 0x90]
push 0x4b21c0
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x98], 7
mov dword [ebp - 0x9c], ebx
mov word [ebp - 0xac], ax
mov dword [ebp - 4], ebx
push 4
push str..tmp
push esi
call fcn.0045fa30
cmp eax, 0xffffffff
je 0x45f3b9
add eax, 4
push eax
lea ecx, [ebp - 0xe4]
push ecx
xor ecx, ecx
mov edx, esi
call fcn.0045f8e0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x90]
push edx
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.00409780
add esp, 0xc
mov byte [ebp - 4], 2
mov edi, eax
lea esi, [ebp - 0xac]
call fcn.00408590
mov byte [ebp - 4], 1
mov edi, 8
cmp dword [ebp - 0xb4], edi
jb 0x45f371
mov ecx, dword [ebp - 0xc8]
push ecx
call fcn.0047bd91
add esp, 4
mov esi, 7
xor edx, edx
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0xb8], ebx
mov word [ebp - 0xc8], dx
mov byte [ebp - 4], bl
cmp dword [ebp - 0xd0], edi
jb 0x45f3a5
mov eax, dword [ebp - 0xe4]
push eax
call fcn.0047bd91
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xd0], esi
mov word [ebp - 0xe4], cx
jmp 0x45f462
push str..tmp
lea edx, [ebp - 0xe4]
push esi
push edx
call fcn.00410b30
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x90]
push ecx
push eax
lea edx, [ebp - 0xc8]
push edx
call fcn.00409780
add esp, 0xc
mov byte [ebp - 4], 4
mov edi, eax
lea esi, [ebp - 0xac]
call fcn.00408590
mov byte [ebp - 4], 3
mov esi, 8
cmp dword [ebp - 0xb4], esi
jb 0x45f41a
mov eax, dword [ebp - 0xc8]
push eax
call fcn.0047bd91
add esp, 4
mov edi, 7
xor ecx, ecx
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xb8], ebx
mov word [ebp - 0xc8], cx
mov byte [ebp - 4], bl
cmp dword [ebp - 0xd0], esi
jb 0x45f44e
mov edx, dword [ebp - 0xe4]
push edx
call fcn.0047bd91
add esp, 4
xor eax, eax
mov dword [ebp - 0xd0], edi
mov edi, esi
mov word [ebp - 0xe4], ax
lea esi, [eax + 7]
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0xd4], ebx
cmp dword [ebp - 0x98], edi
jae 0x45f47c
lea ecx, [ebp - 0xac]
mov eax, dword [ebp - 0x104]
cmp dword [eax + 0x14], edi
jb 0x45f489
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x45f680
mov eax, dword [ebp - 0xac]
cmp dword [ebp - 0x98], edi
jae 0x45f4ad
lea eax, [ebp - 0xac]
push 4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x45f64f
lea ecx, [ebp - 0x1a0]
push ecx
call fcn.004059f0
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea edx, [ebp - 0x1a0]
push str.MFE_FAILED._GetLastError:
push edx
call fcn.004090a0
add esp, 0xc
push eax
call fcn.0045f6e0
push 0x1e
mov esi, 0xf
push str.CFileUtility::RebootRemoveFile
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0xb8], ebx
mov byte [ebp - 0xc8], bl
call fcn.00407f60
mov byte [ebp - 4], 6
push esi
push str.FileUtility.cpp
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xd4], ebx
mov byte [ebp - 0xe4], bl
call fcn.00407f60
mov byte [ebp - 4], 7
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x1a0]
push ecx
call fcn.00405af0
mov byte [ebp - 4], 8
push eax
push 0x555
push ebx
call fcn.004061f0
push eax
lea edx, [ebp - 0xc8]
lea ecx, [ebp - 0xe4]
call fcn.00462280
mov byte [ebp - 4], 7
cmp dword [ebp - 0xec], edi
jb 0x45f595
mov edx, dword [ebp - 0x100]
push edx
call fcn.0047bd91
add esp, 4
xor eax, eax
mov dword [ebp - 0xec], 7
mov dword [ebp - 0xf0], ebx
mov word [ebp - 0x100], ax
mov byte [ebp - 4], 6
mov edi, 0x10
cmp dword [ebp - 0xd0], edi
jb 0x45f5ce
mov ecx, dword [ebp - 0xe4]
push ecx
call fcn.0047bd91
add esp, 4
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xd4], ebx
mov byte [ebp - 0xe4], bl
mov byte [ebp - 4], 5
cmp dword [ebp - 0xb4], edi
jb 0x45f5fb
mov edx, dword [ebp - 0xc8]
push edx
call fcn.0047bd91
add esp, 4
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0xb8], ebx
mov byte [ebp - 0xc8], bl
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1a0]
call fcn.004039b0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x98], 8
jb 0x45f63a
mov eax, dword [ebp - 0xac]
push eax
call fcn.0047bd91
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], cx
jmp 0x45f6ad
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x98], edi
jb 0x45f66d
mov edx, dword [ebp - 0xac]
push edx
call fcn.0047bd91
add esp, 4
xor eax, eax
mov word [ebp - 0xac], ax
mov dword [ebp - 0x98], esi
mov al, 1
jmp 0x45f6af
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x98], edi
jb 0x45f69e
mov ecx, dword [ebp - 0xac]
push ecx
call fcn.0047bd91
add esp, 4
xor edx, edx
mov dword [ebp - 0x98], esi
mov word [ebp - 0xac], dx
xor al, al
mov dword [ebp - 0x9c], ebx
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.0047bd9c
mov esp, ebp
pop ebp
ret