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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451c40
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x46ab5c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x46b648
call fcn.0042fca0
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x38]
add ecx, 0x20
call fcn.004027e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401080
mov ecx, dword [ebp - 0x38]
add ecx, 0x20
call fcn.004033c0
push str.update_rebootconfig.dat
mov eax, dword [ebp - 0x38]
add eax, 0x20
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.0040aa40
add esp, 0xc
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x24
call fcn.004027e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401080
push str.update_rebootconfig2.dat
mov ecx, dword [ebp - 0x38]
add ecx, 0x20
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.0040aa40
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0x28
call fcn.004027e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401080
push str.update_reboot_update_
mov edx, dword [ebp - 0x38]
add edx, 0x20
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.0040aa40
add esp, 0xc
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x58]
push edx
mov ecx, dword [ebp - 0x38]
add ecx, 0x2c
call fcn.004027e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401080
push str.update_reboot_update2
mov eax, dword [ebp - 0x38]
add eax, 0x20
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.0040aa40
add esp, 0xc
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
call fcn.0040f280
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x24]
call fcn.00401080
cmp dword [ebp - 0x20], 0
je 0x43ae78
push 1
push str.update_reboot_update2_
mov edx, dword [ebp - 0x38]
add edx, 0x20
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.0040aa40
add esp, 0xc
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x64]
call fcn.0040f280
push eax
call fcn.00409ea0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401080
push 1
push str.update_reboot_update_
mov edx, dword [ebp - 0x38]
add edx, 0x20
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.0040aa40
add esp, 0xc
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x6c]
call fcn.0040f280
push eax
call fcn.00409ea0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401080
mov ecx, dword [ebp - 0x38]
add ecx, 0x24
call fcn.0040f280
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x38]
add ecx, 0x28
call fcn.0040f280
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
mov ecx, dword [ebp - 0x38]
add ecx, 0x24
call fcn.0040f280
push eax
call dword [sym.imp.MSVCR80.dll__waccess]
add esp, 8
test eax, eax
je 0x43af4a
push 0
mov ecx, dword [ebp - 0x38]
add ecx, 0x28
call fcn.0040f280
push eax
call dword [sym.imp.MSVCR80.dll__waccess]
add esp, 8
test eax, eax
je 0x43af4a
push 1
push str.update_reboot_update2_
mov edx, dword [ebp - 0x38]
add edx, 0x20
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.0040aa40
add esp, 0xc
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x74]
call fcn.0040f280
push eax
call fcn.00409ea0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401080
push 1
push str.update_reboot_update_
mov edx, dword [ebp - 0x38]
add edx, 0x20
push edx
lea eax, [ebp - 0x34]
push eax
call fcn.0040aa40
add esp, 0xc
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 4], 7
mov ecx, dword [ebp - 0x7c]
call fcn.0040f280
push eax
call fcn.00409ea0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401080
push 0
mov ecx, dword [ebp - 0x38]
add ecx, 0x24
call fcn.0040f280
push eax
call dword [sym.imp.MSVCR80.dll__waccess]
add esp, 8
test eax, eax
jne 0x43af6f
mov edx, dword [ebp - 0x38]
mov dword [edx + 0x30], 1
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x30], 0
je 0x43af93
push 3
mov ecx, dword [ebp - 0x38]
add ecx, 0x24
call fcn.0040f280
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x34
call fcn.0041da10
jmp 0x43afac
push 3
mov ecx, dword [ebp - 0x38]
add ecx, 0x28
call fcn.0040f280
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x34
call fcn.0041da10
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x30]
push edx
push str.KRebootConfigWritter::Init_m_bUseBackPath:_d
push 0x46afbc
call fcn.00420980
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret