Function at 0x4eccb0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6021c7
mov eax, dword fs:[0]
push eax
sub esp, 0x4b0
mov eax, dword [0x697bc0]
xor eax, esp
mov dword [esp + 0x4a8], eax
push ebx
push esi
push edi
mov eax, dword [0x697bc0]
xor eax, esp
push eax
lea eax, [esp + 0x4c0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], 0
mov word [esp + 0x58], ax
mov dword [esp + 0x4c8], eax
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], eax
mov word [esp + 0x40], ax
xorps xmm0, xmm0
mov dword [esp + 0x18], eax
movq qword [esp + 0x10], xmm0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c8], 2
call fcn.004e8780
lea eax, [esp + 0x70]
push eax
call fcn.004e4620
add esp, 4
mov byte [esp + 0x4c8], 3
lea ecx, [esp + 0x70]
mov edi, dword [esp + 0x84]
lea edx, [esp + 0x70]
mov esi, dword [esp + 0x70]
lea ebx, [esp + 0x70]
mov eax, dword [esp + 0x80]
cmp edi, 8
cmovae ecx, esi
cmovae edx, esi
cmovae ebx, esi
lea eax, [ecx + eax*2]
cmp edx, eax
je 0x4ecda5
push ecx
push ebx
push eax
lea ecx, [esp + 0x28]
call fcn.004f55a0
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [esp + 0xac], ax
lea eax, [esp + 0xae]
push eax
call fcn.005c63d0
add esp, 0xc
lea eax, [esp + 0xa4]
push 0
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, dword [esp + 0x14]
mov eax, 0x2aaaaaab
mov ebx, dword [esp + 0x10]
mov ecx, edi
sub ecx, ebx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x20], eax
je 0x4ed19d
mov edi, ebx
cmp dword [edi + 0x14], 8
jb 0x4ece0c
mov eax, dword [edi]
jmp 0x4ece0e
mov eax, edi
push dword [edi + 0x10]
push eax
mov eax, dword [esp + 0x2c]
mov ecx, eax
push dword [eax + 0x10]
push 0
call fcn.004f1ca0
test eax, eax
je 0x4ed188
xor eax, eax
mov dword [esp + 0xa0], 7
push 0xffffffffffffffff
push eax
push edi
lea ecx, [esp + 0x98]
mov dword [esp + 0xa8], 0
mov word [esp + 0x98], ax
call fcn.004f19e0
push 0x104
lea eax, [esp + 0x2b0]
mov byte [esp + 0x4cc], 4
push 0
push eax
call fcn.005c63d0
add esp, 0xc
lea eax, [esp + 0x8c]
cmp dword [esp + 0xa0], 8
cmovae eax, dword [esp + 0x8c]
push eax
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0x30]
push str._s_s
push eax
call fcn.004e37f0
mov esi, eax
add esp, 0x10
lea eax, [esp + 0x58]
cmp eax, esi
je 0x4ecf2b
cmp dword [esp + 0x6c], 8
jb 0x4ecec8
push dword [esp + 0x58]
call fcn.005c4337
add esp, 4
xor eax, eax
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], 0
mov word [esp + 0x58], ax
cmp dword [esi + 0x14], 8
jae 0x4ecefe
mov eax, dword [esi + 0x10]
inc eax
je 0x4ecf0a
add eax, eax
push eax
lea eax, [esp + 0x5c]
push esi
push eax
call fcn.005c64f0
add esp, 0xc
jmp 0x4ecf0a
mov eax, dword [esi]
mov dword [esp + 0x58], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [esp + 0x3c], 8
jb 0x4ecf3e
push dword [esp + 0x28]
call fcn.005c4337
add esp, 4
cmp dword [esp + 0x6c], 8
lea ecx, [esp + 0x58]
lea edx, [esp + 0x2ac]
cmovae ecx, dword [esp + 0x58]
call fcn.004e8950
lea eax, [esp + 0x2ac]
push eax
lea eax, [esp + 0x2c]
push 0x66e0f4
push eax
call fcn.004e37f0
mov esi, eax
add esp, 0xc
lea eax, [esp + 0x40]
cmp eax, esi
je 0x4ecff2
cmp dword [esp + 0x54], 8
jb 0x4ecf8f
push dword [esp + 0x40]
call fcn.005c4337
add esp, 4
xor eax, eax
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], 0
mov word [esp + 0x40], ax
cmp dword [esi + 0x14], 8
jae 0x4ecfc5
mov eax, dword [esi + 0x10]
inc eax
je 0x4ecfd1
add eax, eax
push eax
lea eax, [esp + 0x44]
push esi
push eax
call fcn.005c64f0
add esp, 0xc
jmp 0x4ecfd1
mov eax, dword [esi]
mov dword [esp + 0x40], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [esp + 0x3c], 8
jb 0x4ed005
push dword [esp + 0x28]
call fcn.005c4337
add esp, 4
push 1
push 0xffffffffffffffff
lea eax, [esp + 0x90]
mov dword [esp + 0x90], 0x5c
push eax
lea ecx, [esp + 0x4c]
call fcn.004f1be0
inc eax
lea ecx, [esp + 0x40]
push eax
push 0
lea eax, [esp + 0x30]
push eax
call fcn.004ef8d0
mov esi, eax
lea eax, [esp + 0x40]
cmp eax, esi
je 0x4ed0b7
cmp dword [esp + 0x54], 8
jb 0x4ed054
push dword [esp + 0x40]
call fcn.005c4337
add esp, 4
xor eax, eax
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], 0
mov word [esp + 0x40], ax
cmp dword [esi + 0x14], 8
jae 0x4ed08a
mov eax, dword [esi + 0x10]
inc eax
je 0x4ed096
add eax, eax
push eax
lea eax, [esp + 0x44]
push esi
push eax
call fcn.005c64f0
add esp, 0xc
jmp 0x4ed096
mov eax, dword [esi]
mov dword [esp + 0x40], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [esp + 0x3c], 8
jb 0x4ed0ca
push dword [esp + 0x28]
call fcn.005c4337
add esp, 4
mov esi, dword [esp + 0x54]
lea eax, [esp + 0x40]
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x40]
mov ebx, dword [esp + 0x50]
cmp esi, 8
cmovae eax, edx
cmovae ecx, edx
lea eax, [eax + ebx*2]
lea ebx, [esp + 0x40]
cmovae ebx, edx
cmp ebx, eax
je 0x4ed110
push ecx
push ecx
push eax
mov edx, ebx
lea ecx, [esp + 0x28]
call fcn.004f55a0
mov esi, dword [esp + 0x60]
add esp, 0xc
mov edx, dword [esp + 0x40]
jmp 0x4ed114
mov dword [esp + 0x1c], ecx
push dword [esp + 0x50]
cmp esi, 8
lea eax, [esp + 0x44]
lea ecx, [esp + 0x74]
cmovae eax, edx
push eax
push dword [esp + 0x88]
push 0
call fcn.004f1ca0
test eax, eax
jne 0x4ed167
push 4
push eax
push str..lnk
lea ecx, [esp + 0x98]
call fcn.004f1b00
cmp eax, 0xffffffff
je 0x4ed167
cmp dword [esp + 0x6c], 8
lea eax, [esp + 0x58]
cmovae eax, dword [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esp + 0x4c8], 3
cmp dword [esp + 0xa0], 8
jb 0x4ed188
push dword [esp + 0x8c]
call fcn.005c4337
add esp, 4
add edi, 0x18
dec dword [esp + 0x20]
jne 0x4ece02
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x84], 8
jb 0x4ed1b3
push dword [esp + 0x70]
call fcn.005c4337
add esp, 4
xor eax, eax
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], 0
mov word [esp + 0x70], ax
test ebx, ebx
je 0x4ed213
mov esi, ebx
cmp ebx, edi
je 0x4ed20a
lea ebx, [ebx]
cmp dword [esi + 0x14], 8
jb 0x4ed1f0
push dword [esi]
call fcn.005c4337
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x4ed1e0
push ebx
call fcn.005c4337
add esp, 4
cmp dword [esp + 0x54], 8
jb 0x4ed226
push dword [esp + 0x40]
call fcn.005c4337
add esp, 4
xor eax, eax
mov dword [esp + 0x54], 7
cmp dword [esp + 0x6c], 8
mov dword [esp + 0x50], 0
mov word [esp + 0x40], ax
jb 0x4ed250
push dword [esp + 0x58]
call fcn.005c4337
add esp, 4
mov ecx, dword [esp + 0x4c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4a8]
xor ecx, esp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret