Function at 0x45177a
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x4ab1dd
call fcn.004a80c4
sub esp, 0x10
mov eax, dword [0x4da2a0]
push esi
push edi
mov esi, 0x4da2a0
xor edi, edi
mov ecx, esi
mov dword [ebp - 0x18], edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edi
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0040611b
mov eax, dword [ebx]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x10]
call fcn.00406de3
push dword [ebp - 0x10]
push ebx
call fcn.004519ea
cmp eax, edi
jne 0x4518b0
push edi
push dword [ebp - 0x10]
call fcn.0047f426
test eax, eax
pop ecx
pop ecx
jne 0x4519bf
mov eax, dword [0x4da2a0]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push dword [ebp - 0x10]
lea eax, [ebp + 8]
push str._s_d__x
call fcn.00407174
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp + 8]
push dword [ebp - 0x10]
call fcn.0047f43a
test eax, eax
pop ecx
pop ecx
jne 0x451845
push 4
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push dword [ebp - 0x10]
push ebx
call fcn.004519ea
cmp eax, edi
jne 0x4518a1
mov edi, 0x4bdefc
lea eax, [ebp - 0x1c]
push edi
push eax
lea ecx, [ebp - 0x10]
call fcn.00409aa6
pop ecx
pop ecx
push dword [eax]
push ebx
call fcn.004519ea
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00405d7c
cmp dword [ebp - 0x14], 0
je 0x4519dd
lea eax, [ebp - 0x1c]
push edi
push eax
lea ecx, [ebp - 0x10]
call fcn.00409aa6
mov eax, dword [eax]
pop ecx
pop ecx
push 5
push dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00405d7c
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00405d7c
lea ecx, [ebp - 0x10]
call fcn.00451d4c
test eax, eax
je 0x4519b8
mov eax, dword [0x4da2a0]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov byte [ebp - 4], 2
mov eax, dword [0x4da2a0]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea edi, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00451df0
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00405e52
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00405d7c
push dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
call fcn.00451e88
pop ecx
pop ecx
lea edi, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.00405e52
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00405d7c
mov eax, edi
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040683b
pop ecx
pop ecx
push dword [eax]
push ebx
call fcn.004519ea
mov esi, eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00405d7c
test esi, esi
mov edi, dword [ebp + 8]
je 0x4519a5
push ecx
lea eax, [edi - 0x10]
mov dword [ebp - 0x18], esp
mov esi, esp
call fcn.00405bf0
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.0040683b
pop ecx
pop ecx
mov byte [ebp - 4], 7
push eax
mov byte [ebp - 4], 8
call fcn.00451ee1
mov eax, dword [ebp - 0x1c]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.00405d7c
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405d7c
lea eax, [edi - 0x10]
call fcn.00405d7c
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405d7c
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret 4
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00405d7c
jmp 0x4519bf