Function at 0x408023
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44f455
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x462700]
xor eax, esp
mov dword [esp + 0x2f8], eax
push ebx
push esi
push edi
mov eax, dword [0x462700]
xor eax, esp
push eax
lea eax, [esp + 0x310]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
mov edi, ecx
call fcn.00409a8c
xor ebx, ebx
mov dword [esp + 0x318], ebx
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.0040c75c
pop ecx
push 0xf
pop esi
push 0x15
push str.helper::reboot_remove
lea ecx, [esp + 0xb8]
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
call fcn.00407efb
mov byte [esp + 0x318], 1
push 0x15
push str.commonhelper_inl.cpp
lea ecx, [esp + 0xd4]
mov dword [esp + 0xe8], esi
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
call fcn.00407efb
mov byte [esp + 0x318], 2
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00409b50
mov byte [esp + 0x318], 3
push eax
lea eax, [esp + 0xb4]
push eax
push 0x30
lea eax, [esp + 0xd8]
push eax
push 1
push ecx
call fcn.004109b9
pop ecx
push eax
call fcn.00410d00
mov byte [esp + 0x318], 2
push ebx
push 1
lea ecx, [esp + 0xf0]
call fcn.0040229e
mov byte [esp + 0x318], 1
push ebx
push 1
lea ecx, [esp + 0xd4]
call fcn.00407e53
mov byte [esp + 0x318], bl
push ebx
push 1
lea ecx, [esp + 0xb8]
call fcn.00407e53
or dword [esp + 0x318], 0xffffffff
lea ecx, [esp + 0x64]
call fcn.00409b0d
lea ecx, [esp + 0x64]
call fcn.0040ee28
cmp dword [edi + 0x14], 8
jb 0x40818c
mov eax, dword [edi]
jmp 0x40818e
mov eax, edi
push 4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x40830b
push 0x1fe
mov word [esp + 0x108], ax
lea eax, [esp + 0x10a]
push ebx
push eax
call fcn.004317b0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x4081c6
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
lea eax, [esp + 0x10c]
push str.reboot_remove_files:_s_failed_and_lasterror_is:_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [esp + 0x14]
push eax
call fcn.00409a8c
mov dword [esp + 0x318], 4
lea eax, [esp + 0x104]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0040c8ef
pop ecx
pop ecx
push 0x15
push str.helper::reboot_remove
lea ecx, [esp + 0xd4]
mov dword [esp + 0xe8], esi
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
call fcn.00407efb
mov byte [esp + 0x318], 5
push 0x15
push str.commonhelper_inl.cpp
lea ecx, [esp + 0xb8]
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
call fcn.00407efb
mov byte [esp + 0x318], 6
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00409b50
mov byte [esp + 0x318], 7
push eax
lea eax, [esp + 0xd0]
push eax
push 0x35
lea eax, [esp + 0xbc]
push eax
xor esi, esi
inc esi
push esi
push ecx
call fcn.004109b9
pop ecx
push eax
call fcn.00410d00
mov byte [esp + 0x318], 6
push ebx
push esi
lea ecx, [esp + 0xf0]
call fcn.0040229e
mov byte [esp + 0x318], 5
push ebx
push esi
lea ecx, [esp + 0xb8]
call fcn.00407e53
mov byte [esp + 0x318], 4
push ebx
push esi
lea ecx, [esp + 0xd4]
call fcn.00407e53
or dword [esp + 0x318], 0xffffffff
lea ecx, [esp + 0x64]
call fcn.00409b0d
lea ecx, [esp + 0x64]
call fcn.0040ee28
xor al, al
jmp 0x40830d
mov al, 1
mov ecx, dword [esp + 0x310]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2f8]
xor ecx, esp
call fcn.004313d1
mov esp, ebp
pop ebp
ret