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

Disassembly:
push 0xffffffffffffffff
push 0x49d2c0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4c13e0]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c13e0]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
mov esi, ecx
push eax
mov dword [esp + 0x24], esi
call fcn.004038d0
mov eax, esi
mov dword [esp + 0x68], 0
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402b50
sub eax, edx
lea ecx, [esp + 0x14]
sar eax, 1
push ecx
add eax, 0xfffffffd
lea ecx, [esp + 0x1c]
call fcn.00403070
mov ebx, 1
lea eax, [ebx + 2]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
mov byte [esp + 0x68], bl
call fcn.004030f0
lea edi, [esp + 0x14]
mov byte [esp + 0x68], 2
call fcn.00403160
mov byte [esp + 0x68], bl
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 0x402bbb
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, [esp + 0x1c]
push ecx
call fcn.00403260
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edx
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x402bf9
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x402bf9
mov ecx, dword [esp + 0x14]
push ecx
call ebp
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x402c17
mov eax, dword [esp + 0x14]
push 0
push eax
call edi
xor eax, eax
lea edx, [esp + 0x24]
xor ecx, ecx
push edx
mov word [esp + 0x38], cx
mov dword [esp + 0x3a], eax
mov dword [esp + 0x3e], eax
mov dword [esp + 0x42], eax
mov dword [esp + 0x46], eax
mov dword [esp + 0x4a], eax
mov dword [esp + 0x4e], eax
mov dword [esp + 0x52], eax
mov dword [esp + 0x56], eax
mov dword [esp + 0x5a], eax
mov word [esp + 0x5e], ax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x2e]
movzx ecx, word [esp + 0x2c]
movzx edx, word [esp + 0x2a]
push eax
movzx eax, word [esp + 0x2a]
push ecx
movzx ecx, word [esp + 0x2c]
push edx
push eax
push ecx
push str._d__d__d__d__d
lea edx, [esp + 0x4c]
push 0x28
push edx
call fcn.004033a0
add esp, 0x20
push ebx
push 0x4a6f74
lea eax, [esp + 0x1c]
push eax
call fcn.00403260
lea eax, [esp + 0x34]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402ca0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00403260
mov eax, dword [esp + 0x14]
push eax
call esi
test eax, eax
je 0x402ce0
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x402ce0
mov edx, dword [esp + 0x14]
push edx
call ebp
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x402cf7
mov ecx, dword [esp + 0x14]
push eax
push ecx
call edi
push ebx
push 0x4a6f74
lea edx, [esp + 0x1c]
push edx
call fcn.00403260
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00403260
mov ebp, dword [esp + 0x20]
push ebp
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
jne 0x402d2d
xor ecx, ecx
jmp 0x402d41
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x402d32
sub ecx, esi
sar ecx, 1
push eax
mov ebx, ecx
lea eax, [esp + 0x1c]
call fcn.004037f0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
mov edx, dword [esp + 0x18]
mov ecx, dword [edx - 0xc]
sub eax, ecx
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
call fcn.004030f0
lea edi, [esp + 0x18]
mov byte [esp + 0x68], 3
call fcn.00403160
mov byte [esp + 0x68], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402d9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x402dd0
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
jge 0x402dd0
lea eax, [esi - 0x10]
mov byte [esp + 0x68], 0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x402df2
mov ecx, dword [esp + 0x14]
push 0
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [esi - 0x10]
mov byte [esp + 0x68], 0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402dfe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x68], edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x402e1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00476dfd
add esp, 0x58
ret