Function at 0x464a13
Capabilities:
Check if file exists
Delete file

Disassembly:
push 8
mov eax, 0x473371
call fcn.0044f632
push 0x48a9dc
lea ecx, [ebp - 0x14]
call fcn.0040651c
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0045fddc
xor ecx, ecx
mov edi, 0x49daf0
inc ecx
mov byte [ebp - 4], cl
mov ecx, edi
push eax
call fcn.004042c7
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.0040630c
mov ecx, edi
call fcn.00406f35
push 0x48bde4
mov edx, edi
lea ecx, [ebp - 0x10]
call fcn.00406651
pop ecx
push eax
mov ecx, 0x49daf4
mov byte [ebp - 4], 2
call fcn.004042c7
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.0040630c
push str.update_rebootconfig2.dat
mov edx, edi
lea ecx, [ebp - 0x10]
call fcn.00406651
pop ecx
push eax
mov ecx, 0x49daf8
mov byte [ebp - 4], 3
call fcn.004042c7
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.0040630c
push str.update_reboot_update_
mov edx, edi
lea ecx, [ebp - 0x10]
call fcn.00406651
pop ecx
push eax
mov ecx, 0x49dafc
mov byte [ebp - 4], 4
call fcn.004042c7
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.0040630c
push str.update_reboot_update2_
mov edx, edi
lea ecx, [ebp - 0x10]
call fcn.00406651
pop ecx
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x10]
mov esi, eax
add ecx, 0xfffffff0
call fcn.0040630c
test esi, esi
je 0x464b86
push str.update_reboot_update_
mov edx, edi
lea ecx, [ebp - 0x10]
call fcn.00406651
pop ecx
xor edi, edi
mov byte [ebp - 4], 5
mov ecx, dword [eax]
inc edi
mov edx, edi
call fcn.0046d2f1
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.0040630c
push str.update_reboot_update2_
mov edx, 0x49daf0
lea ecx, [ebp - 0x10]
call fcn.00406651
pop ecx
mov byte [ebp - 4], 6
mov edx, edi
mov ecx, dword [eax]
call fcn.0046d2f1
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.0040630c
push dword [0x49daf4]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
push dword [0x49daf8]
call esi
jmp 0x464b89
xor edi, edi
inc edi
push ebx
push dword [0x49daf4]
call fcn.0043a7bc
pop ecx
pop ecx
test eax, eax
je 0x464c08
push ebx
push dword [0x49daf8]
call fcn.0043a7bc
pop ecx
pop ecx
test eax, eax
je 0x464c08
mov esi, 0x49daf0
lea ecx, [ebp - 0x10]
push str.update_reboot_update_
mov edx, esi
call fcn.00406651
pop ecx
mov byte [ebp - 4], 7
mov edx, edi
mov ecx, dword [eax]
call fcn.0046d2f1
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.0040630c
push str.update_reboot_update2_
mov edx, esi
lea ecx, [ebp - 0x10]
call fcn.00406651
pop ecx
mov byte [ebp - 4], 8
mov edx, edi
mov ecx, dword [eax]
call fcn.0046d2f1
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.0040630c
push ebx
push dword [0x49daf4]
call fcn.0043a7bc
pop ecx
pop ecx
mov ecx, dword [0x49db00]
test eax, eax
push 3
cmove ecx, edi
mov dword [0x49db00], ecx
test ecx, ecx
mov ecx, 0x49db04
je 0x464c3a
push dword [0x49daf4]
jmp 0x464c40
push dword [0x49daf8]
call fcn.0046dfb4
push dword [0x49db00]
push str.KRebootConfigWritter::Init_m_bUseBackPath:_d
push 0x49db70
call fcn.0046ad90
mov ecx, dword [ebp - 0x14]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.0040630c
call fcn.0044f60c
ret