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

Disassembly:
push 0xffffffffffffffff
push 0x42a2f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov al, byte [esp + 3]
push ebp
push esi
mov ebp, ecx
push edi
push 0
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], al
call fcn.00402d60
mov edi, str._c_ping_127.0.0.1__n_2__del__f
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str._c_ping_127.0.0.1__n_2__del__f
lea ecx, [esp + 0x18]
call fcn.004038d0
push 0x22
push 1
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0
call fcn.00402970
mov ecx, dword [0x42c244]
push ecx
push 0
push ebp
lea ecx, [esp + 0x1c]
call fcn.00403730
push 0x22
push 1
lea ecx, [esp + 0x18]
call fcn.00402970
mov edi, str.__ren
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.__ren
lea ecx, [esp + 0x18]
call fcn.00403810
push 0x22
push 1
lea ecx, [esp + 0x18]
call fcn.00402970
mov edx, dword [0x42c244]
lea eax, [ebp + 0x30]
push edx
push 0
push eax
lea ecx, [esp + 0x1c]
call fcn.00403730
mov ecx, dword [0x42c244]
mov edx, dword [esp + 0x18]
sub ecx, edx
cmp ecx, 1
ja 0x40185a
call fcn.004105fd
mov edx, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x14]
lea esi, [edx + 1]
push esi
call fcn.00403a10
test al, al
je 0x401888
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add ecx, eax
push esi
mov byte [ecx], 0x22
lea ecx, [esp + 0x14]
call fcn.00403970
mov edi, 0x435178
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x42c244]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [esp + 0x18]
sub edx, ecx
cmp edx, esi
ja 0x4018ae
call fcn.004105fd
test esi, esi
push ebx
jbe 0x4018f4
mov eax, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x18]
lea ebx, [eax + esi]
push ebx
call fcn.00403a10
test al, al
je 0x4018f4
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, esi
mov esi, 0x435178
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.00403970
mov eax, dword [0x42c244]
mov edx, dword [esp + 0x1c]
sub eax, edx
pop ebx
cmp eax, 1
ja 0x40190a
call fcn.004105fd
mov eax, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x14]
lea esi, [eax + 1]
push esi
call fcn.00403a10
test al, al
je 0x401938
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add edx, ecx
push esi
lea ecx, [esp + 0x14]
mov byte [edx], 0x22
call fcn.00403970
mov eax, dword [0x42c244]
add ebp, 0x10
push eax
push 0
push ebp
lea ecx, [esp + 0x1c]
call fcn.00403730
mov ecx, dword [0x42c244]
mov edx, dword [esp + 0x18]
sub ecx, edx
cmp ecx, 1
ja 0x401963
call fcn.004105fd
mov edx, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x14]
lea esi, [edx + 1]
push esi
call fcn.00403a10
test al, al
je 0x401993
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add ecx, eax
mov byte [ecx], 0x22
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], esi
mov byte [edx + esi], 0
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
test eax, eax
jne 0x4019a3
mov eax, 0x42c240
push 0
push 0
push eax
push str.cmd.exe
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x4019ea
mov al, byte [ecx - 1]
test al, al
je 0x4019e0
cmp al, 0xff
je 0x4019e0
dec al
mov byte [ecx - 1], al
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
dec ecx
push ecx
call fcn.00410270
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4