Function at 0x4aebe0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a3d0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5ac020]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
mov eax, dword [0x5be230]
mov ebx, dword [eax + 0xbc]
test byte [ebx + 0x13ac], 0x40
je 0x4af2ac
mov eax, dword [ebx + 0x14ac]
xor edx, edx
mov ecx, dword [ebx + 0x14a8]
mov esi, eax
sub esi, ecx
xor edi, edi
add esi, 3
shr esi, 2
cmp ecx, eax
cmova esi, edx
test esi, esi
je 0x4af4af
mov eax, dword [ecx]
cmp dword [eax], 0
je 0x4aec8f
inc edi
inc edx
add ecx, 4
cmp edx, esi
jne 0x4aec87
test edi, edi
jle 0x4af4af
mov eax, dword [ebx + 0x14ac]
xor edx, edx
mov ecx, dword [ebx + 0x14a8]
mov esi, eax
sub esi, ecx
xor edi, edi
add esi, 3
shr esi, 2
cmp ecx, eax
cmova esi, edx
test esi, esi
je 0x4aeef1
mov eax, dword [ecx]
cmp dword [eax], 0
je 0x4aecce
inc edi
inc edx
add ecx, 4
cmp edx, esi
jne 0x4aecc6
cmp edi, 1
jne 0x4aeef1
lea ecx, [ebx + 0x1348]
call fcn.004db880
mov ecx, dword [0x5be230]
push eax
mov dword [ebp - 0x44], eax
mov ecx, dword [ecx + 0xbc]
add ecx, 0x1348
call fcn.004dbb10
mov ecx, dword [0x5be230]
push eax
mov ecx, dword [ecx + 0xbc]
add ecx, 0x1348
call fcn.004dadb0
mov ebx, eax
test ebx, ebx
je 0x4aeed3
mov eax, dword [ebx + 0x118]
test eax, eax
je 0x4aed3a
cmp eax, 3
jne 0x4aeed3
cmp dword [ebx + 0x19c], 0
jne 0x4aeed3
cmp dword [ebx + 0x1c], 8
lea esi, [ebx + 8]
jb 0x4aed54
mov ecx, dword [esi]
jmp 0x4aed56
mov ecx, esi
call fcn.0040dd80
test eax, eax
jne 0x4aeed3
cmp dword [esi + 0x14], 8
jb 0x4aed6d
mov eax, dword [esi]
jmp 0x4aed6f
mov eax, esi
test eax, eax
je 0x4aed7d
cmp dword [esi + 0x14], 8
jb 0x4aed82
mov esi, dword [esi]
jmp 0x4aed82
mov esi, 0x56c344
push esi
lea ecx, [ebp - 0x28]
call fcn.00401fc0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0xefffffff
push 4
push 2
push 4
push str.0025
push 3
push dword [0x5bdd04]
call fcn.004a3b30
add esp, 0x20
cmp eax, 6
jne 0x4aeed3
mov esi, 2
mov ecx, ebx
call fcn.00493f60
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4aedd0
sub eax, edx
xor ecx, ecx
sar eax, 1
push 0x623
push str.Tasks.cpp
push 1
lea edi, [eax + 2]
mov eax, edi
mul esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00500b6a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4aedc0
mov ecx, ebx
call fcn.00493f60
push eax
push edi
push esi
call fcn.00500848
xor eax, eax
mov dword [ebp - 0x68], 3
mov word [esi + edi*2 - 2], ax
add esp, 0xc
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x60], eax
mov eax, 0x414
mov word [ebp - 0x5c], ax
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x5a], 0
mov dword [ebp - 0x56], 0
mov dword [ebp - 0x52], 0
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push esi
mov edi, eax
call fcn.0051d3d0
add esp, 4
test edi, edi
je 0x4aee9c
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 0
cmovae ecx, dword [ebp - 0x28]
mov edx, edi
call fcn.004aeb40
add esp, 4
mov esi, 2
cmp eax, 4
je 0x4aedc5
cmp eax, esi
je 0x4af493
jmp 0x4aedc5
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, 0x5be2e4
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004be750
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, 0x5be2e4
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004bece0
mov ecx, dword [0x5be2f0]
call fcn.00495890
mov eax, dword [0x5be230]
push dword [ebp - 0x44]
mov ecx, dword [eax + 0xbc]
add ecx, 0x1348
call fcn.004db940
jmp 0x4af493
xor edi, edi
lea ecx, [ebx + 0x1348]
mov dword [ebp - 0x4c], edi
call fcn.004db880
mov ecx, dword [0x5be230]
push eax
mov dword [ebp - 0x44], eax
mov ecx, dword [ecx + 0xbc]
add ecx, 0x1348
call fcn.004dbb10
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4af28e
jmp 0x4aef30
mov eax, dword [0x5be230]
mov ecx, dword [eax + 0xbc]
cmp ebx, 0xffffffff
jle 0x4af26a
mov eax, dword [ecx + 0x14ac]
sub eax, dword [ecx + 0x14a8]
sar eax, 2
cmp ebx, eax
jae 0x4af26a
mov eax, dword [ecx + 0x14a8]
mov eax, dword [eax + ebx*4]
mov esi, dword [eax + 0xc]
test esi, esi
je 0x4af26a
mov eax, dword [esi + 0x118]
test eax, eax
je 0x4aef82
cmp eax, 3
jne 0x4af1e3
cmp dword [esi + 0x19c], 0
jne 0x4af1e3
add esi, 8
cmp dword [esi + 0x14], 8
jb 0x4aef9c
mov ecx, dword [esi]
jmp 0x4aef9e
mov ecx, esi
call fcn.0040dd80
test eax, eax
jne 0x4af1e3
cmp dword [esi + 0x14], 8
jb 0x4aefb5
mov eax, dword [esi]
jmp 0x4aefb7
mov eax, esi
test eax, eax
je 0x4aefc5
cmp dword [esi + 0x14], 8
jb 0x4aefca
mov esi, dword [esi]
jmp 0x4aefca
mov esi, 0x56c344
push esi
lea ecx, [ebp - 0x28]
call fcn.00401fc0
test edi, edi
jne 0x4af065
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0xefffffff
push edi
push 4
push 3
push 2
push edi
push str.0025
push 3
push dword [0x5bdd04]
call fcn.004a3b30
add esp, 0x28
cmp eax, 6
je 0x4af065
cmp eax, 0xc
je 0x4af05e
cmp eax, 7
jne 0x4af050
mov eax, dword [0x5be230]
push 1
push ebx
mov esi, dword [eax + 0xbc]
lea ecx, [esi + 0x1348]
call fcn.004dbc60
push eax
lea ecx, [esi + 0x1348]
call fcn.004db560
mov ecx, dword [0x5be2f0]
call fcn.00495890
mov dword [ebp - 0x4c], edi
jmp 0x4af26a
cmp eax, 2
je 0x4af28e
jmp 0x4af26a
mov dword [ebp - 0x4c], 1
mov edi, dword [ebp - 0x18]
xor ecx, ecx
add edi, 2
mov edx, 2
mov eax, edi
mul edx
push 0x68d
push str.Tasks.cpp
seto cl
neg ecx
or ecx, eax
push 1
push ecx
call fcn.00500b6a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4af065
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push ecx
push edi
push esi
call fcn.00500848
xor eax, eax
mov dword [ebp - 0x68], 3
mov word [esi + edi*2 - 2], ax
add esp, 0xc
mov eax, dword [0x5bdd04]
mov dword [ebp - 0x6c], eax
mov eax, 0x414
mov word [ebp - 0x5c], ax
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5a], 0
mov dword [ebp - 0x56], 0
mov dword [ebp - 0x52], 0
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push esi
mov edi, eax
call fcn.0051d3d0
add esp, 4
test edi, edi
je 0x4af1b2
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x48]
push 0
push 0
push eax
push 0
push edi
push 0
lea esi, [ebp - 0x28]
mov dword [ebp - 0x48], 0
cmovae esi, dword [ebp - 0x28]
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x4af065
push eax
push esi
push 0xefffffff
push 0
push 6
push 5
push 5
push str.0026
push 4
push dword [0x5bdd04]
call fcn.004a3b30
add esp, 0x28
mov esi, eax
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp esi, 4
je 0x4af065
cmp esi, 2
je 0x4af493
cmp esi, 5
jne 0x4af065
mov eax, dword [0x5be230]
push 1
push ebx
mov esi, dword [eax + 0xbc]
lea ecx, [esi + 0x1348]
call fcn.004dbc60
push eax
lea ecx, [esi + 0x1348]
call fcn.004db560
jmp 0x4af25c
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, 0x5be2e4
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004be750
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, 0x5be2e4
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004bece0
jmp 0x4af25c
mov eax, dword [0x5be230]
mov ecx, dword [eax + 0xbc]
mov eax, dword [ecx + 0x14ac]
sub eax, dword [ecx + 0x14a8]
sar eax, 2
cmp ebx, eax
jae 0x4af20c
mov eax, dword [ecx + 0x14a8]
mov edx, dword [eax + ebx*4]
jmp 0x4af20e
xor edx, edx
mov eax, dword [ecx + 0x14ac]
lea esi, [ecx + 0x1348]
mov ecx, dword [esi + 0x160]
xor edi, edi
cmp ecx, eax
je 0x4af25c
cmp dword [ecx], edx
je 0x4af231
add ecx, 4
cmp ecx, eax
jne 0x4af226
cmp ecx, eax
je 0x4af25c
mov eax, dword [ecx]
mov ecx, 1
cmp dword [eax], edi
mov dword [eax], 0
cmovne edi, ecx
mov ecx, esi
call fcn.004dd950
test edi, edi
je 0x4af25c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
mov ecx, dword [0x5be2f0]
call fcn.00495890
mov edi, dword [ebp - 0x4c]
mov eax, dword [0x5be230]
push dword [ebp - 0x44]
mov ecx, dword [eax + 0xbc]
add ecx, 0x1348
call fcn.004dbb10
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4aef30
mov eax, dword [0x5be230]
push dword [ebp - 0x44]
mov ecx, dword [eax + 0xbc]
add ecx, 0x1348
call fcn.004db940
jmp 0x4af493
test byte [ebx + 0xa20], 0x40
je 0x4af493
mov ecx, dword [ebx + 0xba0]
test ecx, ecx
js 0x4af2e4
mov eax, dword [ebx + 0xb94]
sub eax, dword [ebx + 0xb90]
sar eax, 2
cmp ecx, eax
jae 0x4af2e4
mov eax, dword [ebx + 0xb90]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x1c]
jmp 0x4af2e6
xor eax, eax
cmp dword [eax], 1
mov dword [ebp - 0x48], eax
jne 0x4af493
cmp dword [eax + 0x24], 0xffffffff
jne 0x4af493
cmp dword [eax + 0x20], 8
lea esi, [eax + 0xc]
jb 0x4af309
mov eax, dword [esi]
jmp 0x4af30b
mov eax, esi
mov ecx, dword [0x5be2f0]
push eax
call fcn.00495bd0
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
test ecx, ecx
je 0x4af35b
cmp dword [esi + 0x14], 8
jb 0x4af32d
mov eax, dword [esi]
jmp 0x4af32f
mov eax, esi
push eax
mov ecx, 0x5be2e4
call fcn.004bed60
test eax, eax
jne 0x4af4af
cmp dword [esi + 0x14], 8
jb 0x4af34c
mov ecx, dword [esi]
jmp 0x4af34e
mov ecx, esi
call fcn.0040dd80
test eax, eax
jne 0x4af4af
cmp dword [esi + 0x14], 8
jb 0x4af365
mov eax, dword [esi]
jmp 0x4af367
mov eax, esi
push eax
push 0xefffffff
push 4
push 2
push 4
push str.0025
push 3
push dword [0x5bdd04]
call fcn.004a3b30
add esp, 0x20
cmp eax, 6
jne 0x4af4af
lea edx, [eax - 4]
mov eax, dword [ebp - 0x48]
xor ecx, ecx
push 0x6ec
push str.Tasks.cpp
push 1
mov ebx, dword [eax + 0x1c]
add ebx, 2
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00500b6a
mov edi, eax
add esp, 0x10
mov edx, 2
test edi, edi
je 0x4af394
cmp dword [esi + 0x14], 8
jb 0x4af3d4
mov eax, dword [esi]
jmp 0x4af3d6
mov eax, esi
push eax
push ebx
push edi
call fcn.00500848
xor eax, eax
mov dword [ebp - 0x68], 3
mov word [edi + ebx*2 - 2], ax
add esp, 0xc
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x60], eax
mov eax, 0x414
mov word [ebp - 0x5c], ax
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x5a], 0
mov dword [ebp - 0x56], 0
mov dword [ebp - 0x52], 0
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push edi
mov ebx, eax
call fcn.00500843
add esp, 4
test ebx, ebx
je 0x4af45e
cmp dword [esi + 0x14], 8
jb 0x4af439
mov ecx, dword [esi]
jmp 0x4af43b
mov ecx, esi
push 0
mov edx, ebx
call fcn.004aeb40
add esp, 4
mov edx, 2
cmp eax, 4
je 0x4af394
cmp eax, edx
je 0x4af4af
jmp 0x4af394
cmp dword [esi + 0x14], 8
jb 0x4af468
mov eax, dword [esi]
jmp 0x4af46a
mov eax, esi
push eax
mov ecx, 0x5be2e4
call fcn.004be750
cmp dword [esi + 0x14], 8
jb 0x4af47d
mov esi, dword [esi]
push esi
mov ecx, 0x5be2e4
call fcn.004bece0
mov ecx, dword [0x5be2f0]
call fcn.00495890
mov eax, dword [0x5be230]
push 0
mov ecx, dword [eax + 0xbc]
call fcn.004622a0
mov ecx, 0x5be2e4
call fcn.004be4a0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x14], 8
jb 0x4af4c4
push dword [ebp - 0x28]
call fcn.0051d3d0
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret