Function at 0x4aafa0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56035a
mov eax, dword fs:[0]
push eax
sub esp, 0x308
mov eax, dword [0x5c04b4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [0x5c6138]
mov dword [ebp - 0x2cc], eax
lea eax, [ebp - 0x2a4]
push eax
mov dword [ebp - 0x2c0], ebx
call fcn.0048ae80
test eax, eax
je 0x4aaffd
mov eax, 0x1388
jmp 0x4ab551
mov eax, dword [ebp - 0x2e8]
sub esp, 0x10
mov edx, dword [ebp - 0x2a4]
mov ecx, esp
mov esi, dword [ebp - 0x2a0]
mov dword [ecx], ebx
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], esi
lea ecx, [ebp - 0x314]
call fcn.004ac0d0
add esp, 0x10
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2dc]
push dword [ebp - 0x2a0]
mov ecx, ebx
push dword [ebp - 0x2a4]
push str.plugins.01000600.settings.Quarantine.UserQuarantineDirPaths
push eax
call fcn.00448c90
mov byte [ebp - 4], 1
cmp dword [ebp - 0x2dc], 0
jne 0x4ab06a
mov edi, 0x1388
jmp 0x4ab52e
xor esi, esi
mov dword [ebp - 0x2b0], esi
mov dword [ebp - 0x2ac], esi
mov dword [ebp - 0x2a8], esi
mov byte [ebp - 4], 2
xor edi, edi
lea edx, [ebp - 0x290]
mov dword [ebp - 0x290], edi
lea ecx, [ebp - 0x2dc]
call fcn.00440ca0
cmp dword [ebp - 0x290], edi
jle 0x4ab46d
jmp 0x4ab0b0
push str.Path
lea ecx, [ebp - 0x23c]
call fcn.0045af20
mov byte [ebp - 4], 3
lea eax, [ebp - 0x26c]
push edi
push eax
lea ecx, [ebp - 0x2dc]
call fcn.00448c30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x23c]
push ecx
lea ecx, [ebp - 0x25c]
push ecx
mov ecx, eax
call fcn.00451340
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x298]
push 0x574c4c
push ecx
mov ecx, eax
call fcn.00448b10
mov byte [ebp - 4], 6
mov edx, dword [eax]
test edx, edx
je 0x4ab116
add edx, 8
jmp 0x4ab11b
mov edx, 0x5c6a88
xor eax, eax
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x21c], 0
mov word [ebp - 0x22c], ax
cmp word [edx], ax
je 0x4ab165
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ab156
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x22c]
call fcn.0041e3a0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x298]
test eax, eax
je 0x4ab1a5
dec dword [eax]
mov eax, dword [ebp - 0x298]
mov eax, dword [eax]
jne 0x4ab1a5
push dword [ebp - 0x298]
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
mov dword [ebp - 0x298], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x25c]
call fcn.00440820
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x26c]
call fcn.00440820
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x23c]
call fcn.00440820
lea eax, [ebp - 0x2bc]
mov dword [ebp - 0x2bc], 0
push eax
xor bl, bl
call dword [0x5c015c]
test eax, eax
je 0x4ab1f1
mov bl, 1
cmp dword [ebp - 0x218], 8
mov eax, dword [ebp - 0x22c]
jae 0x4ab206
lea eax, [ebp - 0x22c]
push 0
push 0x2000000
push 3
push 0
push 7
push 0xd0
push eax
call dword [0x5c008c]
mov esi, eax
test bl, bl
je 0x4ab231
push dword [ebp - 0x2bc]
call dword [0x5c0160]
cmp esi, 0xffffffff
jne 0x4ab266
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4ab246
cmp eax, 3
jne 0x4ab26d
lea eax, [edi + 1]
mov dword [ebp - 0x2c8], eax
lea ecx, [ebp - 0x2b0]
lea eax, [ebp - 0x2c8]
push eax
call fcn.004abdb0
jmp 0x4ab3d9
push esi
call dword [0x5c001c]
push str.UserSID
lea ecx, [ebp - 0x24c]
call fcn.0045af20
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x27c]
push edi
push eax
lea ecx, [ebp - 0x2dc]
call fcn.00448c30
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x24c]
push ecx
lea ecx, [ebp - 0x28c]
push ecx
mov ecx, eax
call fcn.00451340
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x29c]
push 0x574c4c
push ecx
mov ecx, eax
call fcn.00448b10
mov byte [ebp - 4], 0xf
mov eax, dword [eax]
test eax, eax
je 0x4ab2d3
add eax, 8
jmp 0x4ab2d8
mov eax, 0x5c6a88
lea ecx, [ebp - 0x2b8]
push ecx
push eax
call fcn.0054f71c
test eax, eax
sete bl
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x29c]
test eax, eax
je 0x4ab31d
dec dword [eax]
mov eax, dword [ebp - 0x29c]
mov eax, dword [eax]
jne 0x4ab31d
push dword [ebp - 0x29c]
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
mov dword [ebp - 0x29c], 0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28c]
call fcn.00440820
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x27c]
call fcn.00440820
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x24c]
call fcn.00440820
test bl, bl
jne 0x4ab56f
push dword [ebp - 0x2b8]
mov edx, dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x2f8]
call fcn.004722c0
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x214]
mov ecx, dword [ebp - 0x2b8]
call fcn.00439670
mov eax, dword [ebp - 0x22c]
add esp, 4
cmp dword [ebp - 0x218], 8
jae 0x4ab396
lea eax, [ebp - 0x22c]
mov ebx, dword [ebp - 0x2cc]
mov ecx, ebx
push eax
call fcn.004d24f0
push 0x574c4c
mov ecx, ebx
call fcn.004d24f0
lea eax, [ebp - 0x214]
mov ecx, ebx
push eax
call fcn.004d24f0
push 0x574c4c
mov ecx, ebx
call fcn.004d24f0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2f8]
call fcn.004725d0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x218], 8
jb 0x4ab3f5
push dword [ebp - 0x22c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x218], 7
lea edx, [ebp - 0x290]
mov word [ebp - 0x22c], ax
lea ecx, [ebp - 0x2dc]
mov dword [ebp - 0x21c], eax
inc edi
mov dword [ebp - 0x290], eax
call fcn.00440ca0
cmp edi, dword [ebp - 0x290]
jl 0x4ab0b0
mov esi, dword [ebp - 0x2b0]
mov eax, dword [ebp - 0x2ac]
cmp esi, eax
je 0x4ab46d
push dword [ebp - 0x2a0]
mov ecx, dword [ebp - 0x2c0]
sub eax, esi
push dword [ebp - 0x2a4]
sar eax, 2
push eax
push esi
push str.plugins.01000600.settings.Quarantine.UserQuarantineDirPaths
call fcn.00451f00
test al, al
je 0x4ab5ae
lea eax, [ebp - 0x2b4]
mov dword [ebp - 0x294], 0
push eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
je 0x4ab4be
lea eax, [ebp - 0x294]
push eax
push 2
push dword [ebp - 0x2b4]
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
push dword [ebp - 0x2b4]
neg eax
sbb eax, eax
and dword [ebp - 0x294], eax
call dword [0x5c001c]
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push dword [ebp - 0x294]
lea ecx, [ebp - 0x2e8]
call fcn.004ac2b0
add esp, 4
mov byte [ebp - 4], 0x11
push dword [ebp - 0x2a0]
push dword [ebp - 0x2a4]
call fcn.0048af10
xor edi, edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2e8]
call fcn.00416890
mov byte [ebp - 4], 1
test esi, esi
je 0x4ab52e
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2a8], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2dc]
call fcn.00440820
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x314]
call fcn.004ac4a0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00553510
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x218], 8
jb 0x4ab58b
push dword [ebp - 0x22c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [ebp - 0x2b0]
xor eax, eax
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x21c], 0
mov word [ebp - 0x22c], ax
mov edi, 0x1388
jmp 0x4ab4fe