Function at 0x456750
Capabilities:
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x4754c8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48b2b0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x34]
mov eax, dword [0x48eacc]
mov edx, dword [eax + 0xc]
xor edi, edi
mov ecx, 0x48eacc
mov dword [esp + 0x1c], edi
call edx
add eax, 0x10
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], edi
cmp esi, edi
jne 0x4567a5
xor eax, eax
jmp 0x4567bf
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4567b0
sub eax, edx
sar eax, 1
mov ebx, eax
push esi
lea eax, [esp + 0x38]
call fcn.0040c520
mov eax, dword [ebp]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0040dbc0
mov ebx, dword [esp + 0x34]
push ebx
push ebp
call fcn.00456bd0
test eax, eax
jne 0x45693d
push eax
push ebx
call fcn.0045b120
add esp, 8
test eax, eax
jne 0x456a9f
mov edx, dword [0x48eacc]
mov eax, dword [edx + 0xc]
mov ecx, 0x48eacc
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x2c], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push ebx
push str._s_d__x
lea edi, [esp + 0x24]
call fcn.0040a040
mov esi, dword [esp + 0x24]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push ebx
call fcn.0045b2c8
add esp, 8
test eax, eax
je 0x456b04
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.MoveFileEx_Rename_file_fail__error:_d
mov ecx, 0x48fcd8
call fcn.00427400
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x2c]
push edx
mov ebx, 0x47e900
call fcn.0040bda0
add esp, 0x10
mov byte [esp + 0x2c], 2
mov eax, dword [eax]
push eax
push ebp
call fcn.00456bd0
mov edi, eax
mov byte [esp + 0x2c], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4568b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x456ae1
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x24]
push edx
mov ebx, 0x47e900
call fcn.0040bda0
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax]
add esp, 8
push 5
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x456905
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
push str.MoveFileEx_Rename_file_succeed__path:_ws
mov ecx, 0x48fcd8
call fcn.00427400
add esi, 0xfffffff0
add esp, 8
mov byte [esp + 0x2c], 0
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x456939
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ebx, dword [esp + 0x34]
lea ecx, [esp + 0x34]
call fcn.00456f20
test eax, eax
je 0x456a97
mov edx, dword [0x48eacc]
mov eax, dword [edx + 0xc]
mov ecx, 0x48eacc
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x2c], 4
mov edx, dword [0x48eacc]
mov eax, dword [edx + 0xc]
mov ecx, 0x48eacc
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea esi, [esp + 0x20]
mov byte [esp + 0x2c], 5
call fcn.004570d0
lea edi, [esp + 0x18]
mov byte [esp + 0x2c], 6
call fcn.0040c630
mov byte [esp + 0x2c], 5
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4569c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.004571c0
add esp, 4
lea edi, [esp + 0x1c]
mov byte [esp + 0x2c], 7
call fcn.0040c630
mov byte [esp + 0x2c], 5
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x456a04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
lea ebx, [esp + 0x20]
call fcn.00417e90
add esp, 8
mov byte [esp + 0x2c], 8
mov eax, dword [eax]
push eax
push ebp
call fcn.00456bd0
mov byte [esp + 0x2c], 5
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x456a4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2c], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x456a72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2c], 0
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 0x456a97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x456ac7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
add esi, 0xfffffff0
mov byte [esp + 0x2c], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x456a9f
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x456a9f
push esi
push str.MoveFileEx_Rename_file_succeed__path:_ws
mov ecx, 0x48fcd8
call fcn.00427400
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
add esp, 8
push 4
push 0
push esi
call edi
push ebx
push ebp
call fcn.00456bd0
test eax, eax
jne 0x456905
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ebx, 0x47e900
call fcn.0040bda0
add esp, 8
mov byte [esp + 0x2c], 3
mov eax, dword [eax]
push eax
push ebp
call fcn.00456bd0
mov ebx, eax
mov byte [esp + 0x2c], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x456b7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
je 0x456bb4
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x24]
push edx
mov ebx, 0x47e900
call fcn.0040bda0
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax]
add esp, 8
push 5
push ecx
push eax
call edi
lea ecx, [esp + 0x20]
call fcn.0040c690
jmp 0x456905
lea ecx, [esp + 0x18]
call fcn.0040c690
jmp 0x456a9f