Function at 0x426210
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487f6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
cmp byte [ebp + 8], 0
mov eax, 0x49b078
push esi
mov edx, str.to_temp_for_copy_on_reboot
mov dword [ebp - 0x5c], 0
cmove edx, eax
mov byte [ebp - 0xd], 0
push edi
mov edi, ecx
mov dword [ebp - 0x4c], 0
mov ecx, edx
mov dword [ebp - 0x48], 7
xor eax, eax
mov word [ebp - 0x5c], ax
mov dword [edi + 0x548], 0
mov dword [edi + 0x54c], 0
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426280
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.00408820
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 0x18
xor eax, eax
mov dword [ebp - 0x28], 0
push str.Saving_the_update_status
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00408820
push 1
push 0x3e7
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
push 0xffffffffffffffff
call fcn.00414c00
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x426324
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42631a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426714
push edx
push ecx
call fcn.00460334
add esp, 8
cmp byte [ebp + 8], 0
lea esi, [edi + 0x624]
mov eax, 0x49b078
mov edx, str..tmp
cmove edx, eax
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x2c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426343
sub ecx, dword [ebp - 0x2c]
mov eax, 0x7ffffffe
sub eax, dword [esi + 0x10]
sar ecx, 1
cmp eax, ecx
jb 0x426705
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x42636d
mov eax, dword [esi]
push ecx
push edx
push dword [esi + 0x10]
lea ecx, [ebp - 0x44]
push eax
push esi
push dword [ebp + 8]
call fcn.0040d2d0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 0x408]
call fcn.004382e0
test al, al
jne 0x426423
push 0x23
xor eax, eax
mov dword [ebp - 0x28], 0
push str.Warning___Unable_to_save_the_status
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00408820
push 1
push 0x3e7
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
push 0xffffffffffffffff
call fcn.00414c00
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x426670
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x426414
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426714
push edx
push ecx
call fcn.00460334
add esp, 8
jmp 0x426670
cmp byte [ebp + 8], 0
je 0x42665d
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x426437
mov ecx, dword [esi]
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push 5
cmovae eax, dword [ebp - 0x44]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne byte [ebp - 0xd]
test eax, eax
jne 0x426670
push 0x3e
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x28]
push str.Warning___Unable_to_save_the_status_file._Will_retry_as_admin.
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00408820
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 4
push eax
call fcn.00425df0
push 0xd
push str.MoveFileEx__
push 0
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0042cf10
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x8c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x7c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 1
push 0x3af
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
push 0xffffffffffffffff
call fcn.00414c00
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x426522
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x426518
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42670a
push edx
push ecx
call fcn.00460334
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x426560
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x426556
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42670a
push edx
push ecx
call fcn.00460334
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
cmp edx, 8
jb 0x4265b2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4265a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42670a
push edx
push ecx
call fcn.00460334
add esp, 8
mov ecx, dword [edi + 0x57c]
lea eax, [edi + 0x56c]
push 0
sub esp, 0x18
mov edx, esp
mov dword [ebp + 8], edx
mov dword [ebp + 8], ecx
mov ecx, 0x7ffffffe
sub ecx, dword [ebp + 8]
cmp ecx, 0xb
jb 0x42670f
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x4265e6
mov ecx, dword [eax]
push 0xb
push str.move.admin
push dword [eax + 0x10]
push ecx
push eax
push dword [ebp + 8]
mov ecx, edx
call fcn.0040d2d0
lea ecx, [ebp - 0xb4]
call fcn.0042ed30
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
push esi
call fcn.0040ab20
push 0
lea ecx, [ebp - 0xb4]
call fcn.0042eea0
sub esp, 0x28
lea ecx, [ebp - 0xb4]
mov eax, esp
sub esp, 0x28
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_095978da81a727625adb0757e56d71a0___void__unsigned_short_int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__.0
mov dword [eax + 4], edi
mov dword [eax + 0x24], eax
mov eax, esp
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_5b5f188b4d2fea76f15fa4756beaa6d6___void__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__.0
mov dword [eax + 4], edi
mov dword [eax + 0x24], eax
call fcn.0042f310
lea ecx, [ebp - 0xb4]
call fcn.0042ee30
jmp 0x426670
lea eax, [edi + 0x548]
mov byte [ebp - 0xd], 1
push eax
call fcn.0046aa4a
add esp, 4
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x4266a6
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42669c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426714
push edx
push ecx
call fcn.00460334
add esp, 8
mov edx, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp edx, 8
jb 0x4266f0
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4266e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426714
push edx
push ecx
call fcn.00460334
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.00404880
call fcn.00465850
call fcn.00404880
call fcn.00465850
int3