Function at 0x40f260
Capabilities:
Create process on windows
Self delete

Disassembly:
push 0xffffffffffffffff
push 0x476890
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x4a0800]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [esp + 0x88]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.0040a860
add eax, 0x10
add esp, 4
mov dword [esp + 0x88], eax
push 0x4878dc
lea ecx, [esp + 0x1c]
mov dword [esp + 0x84], 0
call fcn.00402930
mov esi, eax
push 1
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x90]
mov byte [esp + 0x88], 1
call fcn.00415720
mov ecx, dword [esi]
xor edx, edx
test ecx, ecx
setne dl
test edx, edx
jne 0x40f2f2
push 0x80004005
call fcn.00402750
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f31a
test dx, dx
je 0x40f316
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f31a
add eax, 4
add ecx, 4
test dx, dx
jne 0x40f2f4
xor eax, eax
jmp 0x40f31f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov eax, dword [esp + 0x14]
setne bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f344
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f36c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x40f3c1
push 0x4878dc
lea ecx, [esp + 0x1c]
call fcn.00402930
mov byte [esp + 0x80], 2
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x90]
call fcn.00409030
mov byte [esp + 0x80], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f3c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x88]
mov esi, dword [ecx - 0xc]
xor ecx, ecx
lea eax, [esi + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004383e6
mov edi, eax
mov eax, dword [esp + 0x8c]
push esi
push eax
push edi
call fcn.0045702b
add esp, 0x10
mov word [edi + esi*2], 0
mov word [edi + esi*2 + 2], 0
call fcn.00446123
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40f41f
push 0x80004005
call fcn.00402750
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push edi
lea ecx, [esp + 0x18]
push str.cmd.exe__C_RD__S__Q___s_
push ecx
mov byte [esp + 0x8c], 3
call fcn.0040a8d0
mov esi, dword [esp + 0x20]
push esi
push str.DeleteFolder__2____Trying_to_invoke_deletion_process_as_system_command__different_process_:__s
push 0
push 0x14c
push str.Utils::DeleteFolder
call fcn.00434450
push 0x44
lea edx, [esp + 0x50]
push 0
push edx
call fcn.00459580
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov edx, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
add esp, 0x2c
or eax, ecx
jge 0x40f4a7
push edx
lea ecx, [esp + 0x18]
call fcn.004027d0
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
push 0
push 0
push 0x8000080
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test esi, esi
jne 0x40f4d1
xor ecx, ecx
jmp 0x40f4eb
mov ecx, esi
lea ebx, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x40f4d6
sub ecx, ebx
sar ecx, 1
js 0x40f5b7
cmp ecx, dword [esi - 8]
jg 0x40f5b7
test eax, eax
mov dword [esi - 0xc], ecx
mov word [esi + ecx*2], 0
jne 0x40f51d
push esi
push str.DeleteFolder__2____Failed_to_invoke_deletion_process:__s
push 1
push 0x157
push str.Utils::DeleteFolder
call fcn.00434450
add esp, 0x14
jmp 0x40f549
mov ecx, dword [esp + 0x8c]
test ecx, ecx
mov eax, dword [esp + 0x1c]
je 0x40f52e
mov dword [ecx], eax
push eax
push eax
push str.3__DeleteFolder__2____Deletion_process_has_been_invoked__pid:__d__0x_p__
push 0
push 0x15c
push str.Utils::DeleteFolder
call fcn.00434450
add esp, 0x18
push edi
call fcn.004383e1
lea eax, [esi - 0x10]
add esp, 4
mov byte [esp + 0x80], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f576
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x88]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f5a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x74
ret
push 0x80070057
call fcn.00402750
int3