Function at 0x455d80
Capabilities:
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x475510
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48b2b0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
lea eax, [esp + 0x30]
xor ebx, ebx
push eax
mov dword [esp + 0x1c], ebx
call fcn.0040c310
mov dword [esp + 0x28], ebx
mov esi, dword [esp + 0x30]
push ebp
call fcn.00456040
cmp eax, ebx
jne 0x455fe6
mov ecx, dword [esp + 0x30]
push ebx
push ecx
call fcn.0045b120
add esp, 8
test eax, eax
jne 0x455fee
mov edx, dword [0x48eacc]
mov eax, dword [edx + 0xc]
mov ecx, 0x48eacc
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x28], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x30]
push eax
push ecx
push str._s_d__x
lea edi, [esp + 0x20]
call fcn.0040a040
mov edi, dword [esp + 0x20]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [esp + 0x30]
push edi
push edx
call fcn.0045b2c8
add esp, 8
test eax, eax
je 0x455f22
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.MoveFileEx_Rename_file_fail__error:_d
mov ecx, 0x48fcd8
call fcn.00427400
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ebx, 0x47e900
call fcn.0040bda0
add esp, 0x10
mov byte [esp + 0x28], 2
mov eax, dword [eax]
push ebp
mov esi, eax
call fcn.00456040
mov esi, eax
mov byte [esp + 0x28], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x455ea4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x455ef8
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x20]
push edx
mov ebx, 0x47e900
call fcn.0040bda0
mov ecx, dword [esp + 0x38]
mov eax, dword [eax]
add esp, 8
push 5
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x455fc5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x455fc5
lea eax, [edi - 0x10]
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x455fee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x455fee
push 4
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
call edi
mov esi, dword [esp + 0x30]
push ebp
call fcn.00456040
cmp eax, ebx
jne 0x455fc1
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x20]
push edx
mov ebx, 0x47e900
call fcn.0040bda0
add esp, 8
mov byte [esp + 0x28], 3
mov eax, dword [eax]
push ebp
mov esi, eax
call fcn.00456040
mov esi, eax
mov byte [esp + 0x28], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x455f8d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x456030
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x20]
push edx
mov ebx, 0x47e900
call fcn.0040bda0
mov ecx, dword [esp + 0x38]
mov eax, dword [eax]
add esp, 8
push 5
push ecx
push eax
call edi
lea ecx, [esp + 0x1c]
call fcn.0040c690
mov edi, dword [esp + 0x14]
lea eax, [edi - 0x10]
mov byte [esp + 0x28], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x455fe6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x18], 1
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x456016
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
lea ecx, [esp + 0x14]
call fcn.0040c690
jmp 0x455fee