Function at 0x40ecb0
Capabilities:
Create process on windows
Delete directory
Delete file
Get common file path
Self delete

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5306e7
mov eax, dword fs:[0]
push eax
sub esp, 0x35c
mov eax, dword [0x58deec]
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
lea eax, [ebp - 0x310]
push eax
push 0x300
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push str.ComSpec
call fcn.00517cb0
add esp, 4
push eax
lea ecx, [ebp - 0x31c]
call fcn.00405830
push 0xe
push str.___null__q__c
lea ecx, [ebp - 0x31c]
mov byte [ebp - 4], 1
call fcn.00408cc0
call fcn.0041e837
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40ed40
push 0x80004005
call fcn.00401010
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x318], ebx
lea ecx, [ebp - 0x334]
mov byte [ebp - 4], 2
call fcn.00429feb
lea ecx, [ebp - 0x368]
mov byte [ebp - 4], 3
call fcn.0040f790
push 0x541c58
lea ecx, [ebp - 0x314]
mov byte [ebp - 4], 4
mov dword [ebp - 0x360], 1
call fcn.00405830
lea ecx, [ebp - 0x314]
push ecx
lea ecx, [ebp - 0x364]
mov byte [ebp - 4], 5
call fcn.004056a0
mov eax, dword [ebp - 0x314]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40edca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x320], esp
mov esi, esp
push eax
call fcn.00405390
add eax, 0x10
add esp, 4
lea ecx, [ebp - 0x368]
mov dword [esi], eax
call fcn.0040f710
lea ecx, [ebp - 0x334]
push ecx
lea ecx, [ebp - 0x368]
call fcn.0040f890
mov eax, dword [ebp - 0x32c]
xor esi, esi
test eax, eax
jle 0x40f1ed
test esi, esi
js 0x40f293
cmp esi, eax
jge 0x40f293
mov edx, dword [ebp - 0x330]
mov eax, dword [edx + esi*4]
cmp dword [eax - 4], 1
lea edi, [edx + esi*4]
jle 0x40ee41
mov eax, dword [eax - 0xc]
push eax
mov ecx, edi
call fcn.00401aa0
mov edi, dword [edi]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ee48
sub eax, edx
cmp byte [eax + edi - 1], 0x5c
lea ecx, [ebp - 0x31c]
jne 0x40f010
push str.RD__S__Q___
push ecx
lea edx, [ebp - 0x354]
push edx
call fcn.00405750
lea ecx, [ebp - 0x310]
push ecx
push eax
lea edx, [ebp - 0x358]
push edx
mov byte [ebp - 4], 6
call fcn.00405750
push 0x541364
push eax
lea eax, [ebp - 0x344]
push eax
mov byte [ebp - 4], 7
call fcn.00405750
add esp, 0x24
mov byte [ebp - 4], 8
cmp esi, dword [ebp - 0x32c]
jge 0x40f293
mov ecx, dword [ebp - 0x330]
lea ecx, [ecx + esi*4]
push ecx
push eax
lea edx, [ebp - 0x340]
push edx
call fcn.00409340
add esp, 0xc
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea edi, [ebx - 0x10]
mov byte [ebp - 4], 9
cmp eax, edi
je 0x40ef3a
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x40ef24
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x40ef24
push eax
call fcn.00405390
mov dword [ebp - 0x314], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x40ef13
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ebx, dword [ebp - 0x314]
add ebx, 0x10
mov dword [ebp - 0x318], ebx
jmp 0x40ef3a
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x318]
call fcn.00405540
mov ebx, dword [ebp - 0x318]
mov eax, dword [ebp - 0x340]
add eax, 0xfffffff0
mov byte [ebp - 4], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ef60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x344]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ef86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x358]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40efac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x354]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40efd2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, dword [ebp - 0x32c]
jge 0x40f293
mov ecx, dword [ebp - 0x330]
lea eax, [ecx + esi*4]
push eax
lea edx, [ebp - 0x338]
push 0x541c44
push edx
call fcn.00409400
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov eax, dword [ebp - 0x338]
jmp 0x40f1b9
push str.DEL__F__A__Q___
push ecx
lea edx, [ebp - 0x33c]
push edx
call fcn.00405750
lea ecx, [ebp - 0x310]
push ecx
push eax
lea edx, [ebp - 0x34c]
push edx
mov byte [ebp - 4], 0xa
call fcn.00405750
push 0x541364
push eax
lea eax, [ebp - 0x348]
push eax
mov byte [ebp - 4], 0xb
call fcn.00405750
add esp, 0x24
mov byte [ebp - 4], 0xc
cmp esi, dword [ebp - 0x32c]
jge 0x40f293
mov ecx, dword [ebp - 0x330]
lea ecx, [ecx + esi*4]
push ecx
push eax
lea edx, [ebp - 0x350]
push edx
call fcn.00409340
add esp, 0xc
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea edi, [ebx - 0x10]
mov byte [ebp - 4], 0xd
cmp eax, edi
je 0x40f0e8
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x40f0d2
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x40f0d2
push eax
call fcn.00405390
mov dword [ebp - 0x314], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x40f0c1
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ebx, dword [ebp - 0x314]
add ebx, 0x10
mov dword [ebp - 0x318], ebx
jmp 0x40f0e8
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x318]
call fcn.00405540
mov ebx, dword [ebp - 0x318]
mov eax, dword [ebp - 0x350]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f10e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x348]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f134
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x34c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f15a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x33c]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f180
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, dword [ebp - 0x32c]
jge 0x40f293
mov ecx, dword [ebp - 0x330]
lea eax, [ecx + esi*4]
push eax
lea edx, [ebp - 0x320]
push 0x541c44
push edx
call fcn.00409400
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x320]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f1d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov eax, dword [ebp - 0x32c]
inc esi
cmp esi, eax
jl 0x40ee14
lea ecx, [ebp - 0x368]
mov byte [ebp - 4], 3
call fcn.0040f490
lea ecx, [ebp - 0x334]
mov byte [ebp - 4], 2
call fcn.0042a229
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f22b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x31c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f251
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f277
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
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005156a7
mov esp, ebp
pop ebp
ret
call fcn.004169da
int3