Function at 0x4448b0
Capabilities:
Check if file exists
Copy file
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc0c0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4e9688]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x3c]
mov esi, ecx
push eax
mov dword [ebp - 0x48], esi
call fcn.00424e40
mov eax, esi
mov dword [ebp - 4], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4448f4
sub eax, edx
lea ecx, [ebp - 0x3c]
sar eax, 1
push ecx
add eax, 0xfffffffd
lea ecx, [ebp - 0x40]
call fcn.00444cb0
lea edx, [ebp - 0x3c]
push edx
mov eax, 3
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.00410f60
lea edi, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.004146d0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x444956
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x15
push str.360_Quarantine_Folder
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00414740
mov edx, dword [ebp - 0x3c]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edx
call esi
test eax, eax
je 0x44498e
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x44498e
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4449aa
mov eax, dword [ebp - 0x3c]
push 0
push eax
call edi
xor eax, eax
lea edx, [ebp - 0x58]
xor ecx, ecx
push edx
mov word [ebp - 0x38], cx
mov dword [ebp - 0x36], eax
mov dword [ebp - 0x32], eax
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x4e]
movzx ecx, word [ebp - 0x50]
movzx edx, word [ebp - 0x52]
push eax
movzx eax, word [ebp - 0x56]
push ecx
movzx ecx, word [ebp - 0x58]
push edx
push eax
push ecx
push str._d__d__d__d__d
lea edx, [ebp - 0x38]
push 0x28
push edx
call fcn.00424b40
add esp, 0x20
push 1
push 0x4cd228
lea eax, [ebp - 0x3c]
push eax
call fcn.00414740
lea eax, [ebp - 0x38]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x444a20
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.00414740
mov eax, dword [ebp - 0x3c]
push eax
call esi
test eax, eax
je 0x444a5f
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x444a5f
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x444a74
mov ecx, dword [ebp - 0x3c]
push eax
push ecx
call edi
push 1
push 0x4cd228
lea edx, [ebp - 0x3c]
push edx
call fcn.00414740
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00414740
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
jne 0x444aa7
xor ecx, ecx
jmp 0x444abf
mov ecx, eax
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x444ab0
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea edx, [ebp - 0x40]
push edx
call fcn.00425060
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx - 0xc]
mov eax, dword [eax - 0xc]
lea edx, [ebp - 0x3c]
sub eax, ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.00410f60
lea edi, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.004146d0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
or edi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x444b15
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x40]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x444b2f
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
jl 0x444b3f
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x48]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [esi - 0x10]
mov edx, edi
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x444b5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x444b7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00491281
mov esp, ebp
pop ebp
ret