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

Disassembly:
push 0x51c
mov eax, 0x445c2f
call fcn.004372b5
mov esi, 0x208
xor ebx, ebx
push esi
lea eax, [ebp - 0x21e]
push ebx
push eax
mov word [ebp - 0x220], bx
call fcn.00435420
push esi
lea eax, [ebp - 0x42e]
push ebx
push eax
mov word [ebp - 0x430], bx
call fcn.00435420
add esp, 0x18
mov esi, 0x104
push esi
lea eax, [ebp - 0x220]
push eax
push ebx
call dword [0x448164]
test eax, eax
je 0x40ae2c
push esi
lea eax, [ebp - 0x430]
push eax
push str.COMSPEC
call dword [0x448050]
test eax, eax
je 0x40ae2c
push 7
pop esi
mov byte [ebp - 0x4a4], bl
mov dword [ebp - 0x488], esi
mov dword [ebp - 0x48c], ebx
mov word [ebp - 0x49c], bx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x46c], esi
mov dword [ebp - 0x470], ebx
mov word [ebp - 0x480], bx
lea eax, [ebp - 0x484]
push eax
lea eax, [ebp - 0x4a4]
push eax
mov byte [ebp - 4], 1
call fcn.0040f7d0
test al, al
jne 0x40aa50
push ebx
push 1
lea esi, [ebp - 0x484]
call fcn.004012b6
or dword [ebp - 4], 0xffffffff
jmp 0x40ae20
push str..bat
lea eax, [ebp - 0x484]
push eax
lea eax, [ebp - 0x44c]
push eax
call fcn.0040438b
add esp, 0xc
lea eax, [ebp - 0x44c]
lea ecx, [ebp - 0x484]
call fcn.0040dc80
test al, al
jne 0x40aa90
push ebx
push 1
lea esi, [ebp - 0x44c]
call fcn.004012b6
jmp 0x40aa39
mov byte [ebp - 0x4a4], bl
mov dword [ebp - 0x450], esi
mov dword [ebp - 0x454], ebx
mov word [ebp - 0x464], bx
push str.if_not_exist__
lea eax, [ebp - 0x468]
push eax
mov byte [ebp - 4], 3
call fcn.00403d3c
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.00403d3c
push str.___del__0___else__ping_127.0.0.1__n_2del__
lea eax, [ebp - 0x468]
push eax
call fcn.00403d3c
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.00403d3c
push str.__0_
lea eax, [ebp - 0x468]
push eax
call fcn.00403d3c
push 4
call fcn.004354b3
cmp eax, ebx
pop ecx
je 0x40ab1f
or dword [eax], 0xffffffff
mov esi, eax
mov dword [ebp - 0x4c4], esi
jmp 0x40ab27
mov dword [ebp - 0x4c4], ebx
mov esi, ebx
mov dword [ebp - 0x4d0], esi
cmp esi, ebx
mov byte [ebp - 4], 4
je 0x40ab73
push 2
pop eax
call fcn.0040eb30
cmp dword [ebp - 0x434], 8
mov ecx, dword [ebp - 0x448]
jae 0x40ab52
lea ecx, [ebp - 0x448]
push ebx
push eax
push 3
push ebx
push 1
push 0x40000000
push ecx
call dword [0x448094]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x40ab86
push esi
call fcn.00435578
pop ecx
push ebx
push 1
lea esi, [ebp - 0x468]
call fcn.004012b6
jmp 0x40aa80
lea edi, [ebp - 0x468]
lea eax, [ebp - 0x4c0]
call fcn.0040f640
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x4ac]
cmp ecx, ebx
jne 0x40abeb
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x4c0]
call fcn.004020ee
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x40abc3
push eax
call dword [0x448030]
push esi
call fcn.00435578
pop ecx
push ebx
push edi
lea esi, [ebp - 0x468]
call fcn.004012b6
push ebx
push edi
lea esi, [ebp - 0x44c]
call fcn.004012b6
push ebx
push edi
jmp 0x40aa3c
cmp dword [ebp - 0x4a8], 0x10
mov eax, dword [ebp - 0x4bc]
mov dword [ebp - 0x4cc], ecx
mov dword [ebp - 0x4c8], ebx
jae 0x40ac0c
lea eax, [ebp - 0x4bc]
or edi, 0xffffffff
cmp eax, ebx
je 0x40add1
cmp dword [esi], edi
je 0x40add1
push ebx
lea edx, [ebp - 0x4c8]
push edx
push ecx
push eax
push dword [esi]
call dword [0x4480a4]
test eax, eax
je 0x40add1
mov eax, dword [ebp - 0x4cc]
cmp eax, dword [ebp - 0x4c8]
jne 0x40add1
cmp dword [esi], edi
je 0x40ac61
push dword [esi]
call dword [0x448030]
test eax, eax
je 0x40add1
mov dword [esi], edi
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x50c]
push ebx
push eax
call fcn.00435420
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x528]
push str._c__
push eax
mov dword [ebp - 0x50c], esi
mov dword [ebp - 0x500], str.Open
call fcn.00404341
add esp, 0x18
push edi
lea ecx, [ebp - 0x44c]
push ecx
xor ebx, ebx
mov byte [ebp - 4], 6
call fcn.00401322
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp - 0x528]
mov byte [ebp - 4], 5
call fcn.004012b6
push 0x449e18
lea eax, [ebp - 0x44c]
push eax
call fcn.00403d3c
cmp dword [ebp - 0x434], 8
mov eax, dword [ebp - 0x448]
jae 0x40acea
lea eax, [ebp - 0x448]
mov dword [ebp - 0x4f8], eax
lea eax, [ebp - 0x430]
mov dword [ebp - 0x4fc], eax
lea eax, [ebp - 0x50c]
push eax
mov dword [ebp - 0x4f0], ebx
mov dword [ebp - 0x508], 0x8040
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x40ad35
push ebx
push edi
lea ecx, [ebp - 0x4c0]
call fcn.004020ee
mov esi, dword [ebp - 0x4c4]
jmp 0x40abb5
mov esi, dword [0x44804c]
push 0x40
push dword [ebp - 0x4d4]
call esi
test eax, eax
je 0x40ad1d
push 0x100
call dword [0x448054]
push eax
call esi
test eax, eax
je 0x40ad1d
push 0xf
call dword [0x448040]
push eax
call dword [0x448044]
test eax, eax
push ebx
lea ecx, [ebp - 0x4c0]
push edi
je 0x40ad25
call fcn.004020ee
mov esi, dword [ebp - 0x4c4]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x40ad8f
push eax
call dword [0x448030]
push esi
call fcn.00435578
pop ecx
push ebx
push edi
lea esi, [ebp - 0x468]
call fcn.004012b6
push ebx
push edi
lea esi, [ebp - 0x44c]
call fcn.004012b6
push ebx
push edi
lea esi, [ebp - 0x484]
call fcn.004012b6
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4a4]
push eax
call fcn.0040f680
mov al, 1
jmp 0x40ae2e
push ebx
push 1
lea ecx, [ebp - 0x4c0]
call fcn.004020ee
mov eax, dword [esi]
cmp eax, edi
je 0x40adec
push eax
call dword [0x448030]
push esi
call fcn.00435578
pop ecx
push ebx
push 1
lea esi, [ebp - 0x468]
call fcn.004012b6
push ebx
push 1
lea esi, [ebp - 0x44c]
call fcn.004012b6
push ebx
push 1
lea esi, [ebp - 0x484]
call fcn.004012b6
mov dword [ebp - 4], edi
lea eax, [ebp - 0x4a4]
push eax
call fcn.0040f680
xor al, al
call fcn.00437338
ret