Function at 0x45e190
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7ce3
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x503040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x464], esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x45c]
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
push ecx
cmovae eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.MSVCR120.dll__stat64i32]
add esp, 8
test eax, eax
jne 0x45e37f
test dword [ebp - 0x456], 0x4000
je 0x45e37f
xorps xmm0, xmm0
mov dword [ebp - 0x418], eax
movq qword [ebp - 0x420], xmm0
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x418], eax
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
cmp dword [ebp + 0x20], 0x10
lea edx, [ebp + 0xc]
mov eax, dword [ebp + 0x1c]
cmovae ecx, dword [ebp + 0xc]
push dword [ebp - 0x464]
add eax, ecx
cmp dword [ebp + 0x20], 0x10
lea ecx, [ebp - 0x420]
cmovae edx, dword [ebp + 0xc]
push ecx
push eax
lea ecx, [ebp - 0x460]
call fcn.0045f070
add esp, 0xc
mov dword [ebp - 0x460], 0
lea eax, [ebp - 0x460]
lea ecx, [ebp - 0x420]
push eax
call fcn.0045ede0
lea eax, [ebp - 0x460]
mov dword [ebp - 0x460], 0
push eax
lea ecx, [ebp - 0x420]
call fcn.0045ede0
mov eax, dword [ebp - 0x420]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x44c], xmm0
mov dword [ebp - 0x444], eax
mov eax, 0x614
movq qword [ebp - 0x43c], xmm0
mov word [ebp - 0x43c], ax
lea eax, [ebp - 0x44c]
push eax
mov dword [ebp - 0x434], 0
mov word [ebp - 0x430], 0
mov dword [ebp - 0x448], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, eax
test ecx, ecx
jne 0x45e312
mov eax, dword [ebp - 0x420]
test eax, eax
je 0x45e308
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
push eax
call edi
add esp, 4
mov esi, 1
jmp 0x45e3e7
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
push ecx
lea eax, [ebp - 0x414]
push str.__d_
push eax
call fcn.0040ddf0
add esp, 0x10
cmp byte [ebp - 0x414], 0
jne 0x45e340
xor eax, eax
jmp 0x45e359
lea eax, [ebp - 0x414]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45e350
sub eax, edx
mov ecx, dword [ebp - 0x464]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0040f4f0
mov eax, dword [ebp - 0x420]
test eax, eax
je 0x45e3e5
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
push eax
jmp 0x45e3e0
push 0x4dfa7c
lea edx, [ebp + 0xc]
lea ecx, [ebp - 0x42c]
call fcn.00420340
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x464], eax
cmp esi, eax
je 0x45e3d1
cmp dword [esi + 0x14], 0x10
jb 0x45e3b8
push dword [esi]
call edi
mov eax, dword [ebp - 0x464]
add esp, 4
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push eax
mov byte [esi], 0
call fcn.0040f220
cmp dword [ebp - 0x418], 0x10
jb 0x45e3e5
push dword [ebp - 0x42c]
call edi
add esp, 4
xor esi, esi
cmp dword [ebp + 0x20], 0x10
jb 0x45e3f9
push dword [ebp + 0xc]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b73db
mov esp, ebp
pop ebp
ret 0x1c