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

Disassembly:
push 0xffffffffffffffff
push 0x4769e0
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.0040a9c0
add eax, 0x10
add esp, 4
mov dword [esp + 0x88], eax
push 0x487918
lea ecx, [esp + 0x1c]
mov dword [esp + 0x84], 0
call fcn.00402900
mov esi, eax
push 1
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x90]
mov byte [esp + 0x88], 1
call fcn.00415880
mov ecx, dword [esi]
xor edx, edx
test ecx, ecx
setne dl
test edx, edx
jne 0x40f452
push 0x80004005
call fcn.00402720
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f47a
test dx, dx
je 0x40f476
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f47a
add eax, 4
add ecx, 4
test dx, dx
jne 0x40f454
xor eax, eax
jmp 0x40f47f
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 0x40f4a4
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 0x40f4cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x40f521
push 0x487918
lea ecx, [esp + 0x1c]
call fcn.00402900
mov byte [esp + 0x80], 2
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x90]
call fcn.00409160
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 0x40f521
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.00438511
mov edi, eax
mov eax, dword [esp + 0x8c]
push esi
push eax
push edi
call fcn.0045715b
add esp, 0x10
mov word [edi + esi*2], 0
mov word [edi + esi*2 + 2], 0
call fcn.0044622e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40f57f
push 0x80004005
call fcn.00402720
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.0040aa30
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.00434580
push 0x44
lea edx, [esp + 0x50]
push 0
push edx
call fcn.004596b0
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 0x40f607
push edx
lea ecx, [esp + 0x18]
call fcn.004027a0
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 0x40f631
xor ecx, ecx
jmp 0x40f64b
mov ecx, esi
lea ebx, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x40f636
sub ecx, ebx
sar ecx, 1
js 0x40f717
cmp ecx, dword [esi - 8]
jg 0x40f717
test eax, eax
mov dword [esi - 0xc], ecx
mov word [esi + ecx*2], 0
jne 0x40f67d
push esi
push str.DeleteFolder__2____Failed_to_invoke_deletion_process:__s
push 1
push 0x157
push str.Utils::DeleteFolder
call fcn.00434580
add esp, 0x14
jmp 0x40f6a9
mov ecx, dword [esp + 0x8c]
test ecx, ecx
mov eax, dword [esp + 0x1c]
je 0x40f68e
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.00434580
add esp, 0x18
push edi
call fcn.00438516
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 0x40f6d6
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 0x40f704
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.00402720
int3