Function at 0x437ad0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49328b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
cmp byte [ebp + 8], 0
mov eax, 0x4ad568
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 + 0x1b0], 0
mov dword [edi + 0x1b4], 0
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437b40
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.0040e8f0
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.0040e8f0
push 0
push 1
push 0x3df
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
push 0xffffffffffffffff
call fcn.004327f0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x437be6
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x437bdc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x437fd8
push edx
push ecx
call fcn.0046a77c
add esp, 8
cmp byte [ebp + 8], 0
lea esi, [edi + 0x2c8]
mov eax, 0x4ad568
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 0x437c05
sub ecx, dword [ebp - 0x2c]
mov eax, 0x7ffffffe
sub eax, dword [esi + 0x10]
sar ecx, 1
cmp eax, ecx
jb 0x437fc9
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x437c2f
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.00423050
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 0x110]
call fcn.00442280
test al, al
jne 0x437ce7
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.0040e8f0
push 0
push 1
push 0x3de
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
push 0xffffffffffffffff
call fcn.004327f0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x437f34
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x437cd8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x437fd8
push edx
push ecx
call fcn.0046a77c
add esp, 8
jmp 0x437f34
cmp byte [ebp + 8], 0
je 0x437f21
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x437cfb
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 0x437f34
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.0040e8f0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call fcn.004126f0
push 0xd
push str.MoveFileEx__
push 0
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00423330
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 ecx
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.004327f0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x437de6
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x437ddc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x437fce
push edx
push ecx
call fcn.0046a77c
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x437e24
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x437e1a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x437fce
push edx
push ecx
call fcn.0046a77c
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 0x437e76
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x437e6c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x437fce
push edx
push ecx
call fcn.0046a77c
add esp, 8
mov ecx, dword [edi + 0x1cc]
lea eax, [edi + 0x1bc]
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 0x437fd3
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x437eaa
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.00423050
lea ecx, [ebp - 0xb4]
call fcn.004397a0
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
push esi
call fcn.00410ef0
push 0
lea ecx, [ebp - 0xb4]
call fcn.00439970
sub esp, 0x28
lea ecx, [ebp - 0xb4]
mov eax, esp
sub esp, 0x28
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_0da8617de570b39e557b339c98cd31d6___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_4a5da14f895f59b37448720afa68b202___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.00439de0
lea ecx, [ebp - 0xb4]
call fcn.004398a0
jmp 0x437f34
lea eax, [edi + 0x1b0]
mov byte [ebp - 0xd], 1
push eax
call fcn.00474c11
add esp, 4
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x437f6a
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x437f60
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x437fd8
push edx
push ecx
call fcn.0046a77c
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 0x437fb4
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x437faa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x437fd8
push edx
push ecx
call fcn.0046a77c
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.0040a9a0
call fcn.0046fcb0
call fcn.0040a9a0
call fcn.0046fcb0
int3