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

Disassembly:
push 0xffffffffffffffff
push 0x471470
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x4997f0]
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.0040a6e0
add eax, 0x10
add esp, 4
mov dword [esp + 0x88], eax
push 0x4818c4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x84], 0
call fcn.00402870
mov esi, eax
push 1
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x90]
mov byte [esp + 0x88], 1
call fcn.00412360
mov ecx, dword [esi]
xor edx, edx
test ecx, ecx
setne dl
test edx, edx
jne 0x40c052
push 0x80004005
call fcn.00402690
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40c07a
test dx, dx
je 0x40c076
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40c07a
add eax, 4
add ecx, 4
test dx, dx
jne 0x40c054
xor eax, eax
jmp 0x40c07f
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 0x40c0a4
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 0x40c0cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x40c121
push 0x4818c4
lea ecx, [esp + 0x1c]
call fcn.00402870
mov byte [esp + 0x80], 2
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x90]
call fcn.00408e70
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 0x40c121
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.00433091
mov edi, eax
mov eax, dword [esp + 0x8c]
push esi
push eax
push edi
call fcn.004519ab
add esp, 0x10
mov word [edi + esi*2], 0
mov word [edi + esi*2 + 2], 0
call fcn.00440dd3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40c17f
push 0x80004005
call fcn.00402690
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.0040a750
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 0x13b
push str.Utils::DeleteFolder
call fcn.0042f100
push 0x44
lea edx, [esp + 0x50]
push 0
push edx
call fcn.00454210
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 0x40c207
push edx
lea ecx, [esp + 0x18]
call fcn.00402710
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 0x40c231
xor ecx, ecx
jmp 0x40c24b
mov ecx, esi
lea ebx, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x40c236
sub ecx, ebx
sar ecx, 1
js 0x40c317
cmp ecx, dword [esi - 8]
jg 0x40c317
test eax, eax
mov dword [esi - 0xc], ecx
mov word [esi + ecx*2], 0
jne 0x40c27d
push esi
push str.DeleteFolder__2____Failed_to_invoke_deletion_process:__s
push 1
push 0x146
push str.Utils::DeleteFolder
call fcn.0042f100
add esp, 0x14
jmp 0x40c2a9
mov ecx, dword [esp + 0x8c]
test ecx, ecx
mov eax, dword [esp + 0x1c]
je 0x40c28e
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 0x14b
push str.Utils::DeleteFolder
call fcn.0042f100
add esp, 0x18
push edi
call fcn.00433096
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 0x40c2d6
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 0x40c304
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.00402690
int3