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

Disassembly:
push 0xffffffffffffffff
push 0x46ddb0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x498700]
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.00409080
add eax, 0x10
add esp, 4
mov dword [esp + 0x88], eax
push 0x480d88
lea ecx, [esp + 0x1c]
mov dword [esp + 0x84], 0
call fcn.004018b0
mov esi, eax
push 1
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x90]
mov byte [esp + 0x88], 1
call fcn.00410d80
mov ecx, dword [esi]
xor edx, edx
test ecx, ecx
setne dl
test edx, edx
jne 0x40a6c2
push 0x80004005
call fcn.004016d0
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40a6ea
test dx, dx
je 0x40a6e6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40a6ea
add eax, 4
add ecx, 4
test dx, dx
jne 0x40a6c4
xor eax, eax
jmp 0x40a6ef
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 0x40a714
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 0x40a73c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x40a791
push 0x480d88
lea ecx, [esp + 0x1c]
call fcn.004018b0
mov byte [esp + 0x80], 2
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x90]
call fcn.00406800
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 0x40a791
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.00430f50
mov edi, eax
mov eax, dword [esp + 0x8c]
push esi
push eax
push edi
call fcn.0044f16b
add esp, 0x10
mov word [edi + esi*2], 0
mov word [edi + esi*2 + 2], 0
call fcn.0043ec5a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40a7ef
push 0x80004005
call fcn.004016d0
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.004090f0
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 0x107
push str.Utils::DeleteFolder
call fcn.00430235
push 0x44
lea edx, [esp + 0x50]
push 0
push edx
call fcn.00450a50
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 0x40a877
push edx
lea ecx, [esp + 0x18]
call fcn.00401750
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 0x40a8a1
xor ecx, ecx
jmp 0x40a8bb
mov ecx, esi
lea ebx, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x40a8a6
sub ecx, ebx
sar ecx, 1
js 0x40a987
cmp ecx, dword [esi - 8]
jg 0x40a987
test eax, eax
mov dword [esi - 0xc], ecx
mov word [esi + ecx*2], 0
jne 0x40a8ed
push esi
push str.DeleteFolder__2____Failed_to_invoke_deletion_process:__s
push 1
push 0x112
push str.Utils::DeleteFolder
call fcn.00430235
add esp, 0x14
jmp 0x40a919
mov ecx, dword [esp + 0x8c]
test ecx, ecx
mov eax, dword [esp + 0x1c]
je 0x40a8fe
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 0x117
push str.Utils::DeleteFolder
call fcn.00430235
add esp, 0x18
push edi
call fcn.00430f55
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 0x40a946
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 0x40a974
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.004016d0
int3