Function at 0x5cd71a
Capabilities:
Create process on windows
Get common file path
Get comspec environment variable
Get startup folder
Query environment variable

Disassembly:
push ebp
sub esp, 0x68
mov eax, 0x6e52d0
call fcn.006899cc
sub esp, 0x458
lea eax, [ebp - 0x464]
push ebx
push esi
push edi
push 0x104
push eax
push str.COMSPEC
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
test eax, eax
je 0x5cd9f3
xor ebx, ebx
lea eax, [ebp - 0x25c]
push ebx
push 0x25
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp + 0x48], ebx
push str.ping.exe
lea ecx, [ebp + 0x48]
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x5c], 7
mov word [ebp + 0x48], ax
call fcn.004482e2
push 1
lea eax, [ebp + 0x48]
mov dword [ebp - 4], ebx
push eax
sub esp, 0x18
lea eax, [ebp - 0x25c]
mov ecx, esp
push 7
pop esi
push eax
mov dword [ecx], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], esi
call fcn.004482e2
lea eax, [ebp - 0x54]
push eax
call fcn.0046f4a0
mov eax, dword [ebp + 0x5c]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x5cd7f0
mov ecx, dword [ebp + 0x48]
lea eax, [eax*2 + 2]
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x68], ecx
cmp eax, 0x1000
jb 0x5cd7e7
lea eax, [ebp + 0x64]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.0044810a
mov eax, dword [ebp + 0x64]
mov ecx, dword [ebp + 0x68]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
sub esp, 0x18
mov dword [ebp + 0x5c], esi
xor eax, eax
mov dword [ebp + 0x58], ebx
mov word [ebp + 0x48], ax
lea esi, [ebp - 0x54]
lea eax, [ebp - 0x3c]
push 6
pop ecx
mov edi, esp
push str._s__n_2_127.0.0.1_r_n
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00475719
add esp, 0x20
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x2c], ebx
call fcn.00448193
push dword [ebp + 0x74]
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 4
call fcn.004578e2
push ebx
push ebx
lea eax, [ebp]
push eax
call fcn.0046f6b4
push 0x6fb100
lea ecx, [ebp]
mov byte [ebp - 4], 5
call fcn.004578e2
push 8
pop edi
lea eax, [ebp]
cmp dword [ebp + 0x14], edi
jb 0x5cd86c
mov eax, dword [ebp]
push 0x80
push 7
pop esi
push esi
push eax
call fcn.00470c47
mov dword [ebp + 0x60], eax
lea eax, [ebp + 0x18]
cmp dword [ebp + 0x2c], edi
jb 0x5cd889
mov eax, dword [ebp + 0x18]
push eax
lea eax, [ebp + 0x48]
push eax
call fcn.0048fcb1
cmp dword [ebp + 0x5c], 0x10
lea eax, [ebp + 0x48]
mov byte [ebp - 4], 6
jb 0x5cd8a3
mov eax, dword [ebp + 0x48]
push dword [ebp + 0x28]
push eax
push dword [ebp + 0x60]
call fcn.0047116f
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 5
call fcn.0040fad0
lea eax, [ebp + 0x60]
push eax
call fcn.00470bd9
xor eax, eax
mov dword [ebp + 0x30], ebx
mov word [ebp + 0x30], ax
lea ecx, [ebp + 0x30]
lea eax, [ebp - 0x464]
mov dword [ebp + 0x40], ebx
push eax
mov dword [ebp + 0x44], esi
call fcn.004482e2
push str.__C
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 7
call fcn.004578e2
lea eax, [ebp]
cmp dword [ebp + 0x14], edi
jb 0x5cd8fe
mov eax, dword [ebp]
push dword [ebp + 0x10]
lea ecx, [ebp + 0x30]
push eax
call fcn.00448284
lea eax, [ebp + 0x30]
cmp dword [ebp + 0x44], edi
jb 0x5cd915
mov eax, dword [ebp + 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0048fcb1
cmp dword [ebp - 0x10], 0x10
lea eax, [ebp - 0x24]
jb 0x5cd92b
mov eax, dword [ebp - 0x24]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_WinExec]
cmp eax, 0x1f
lea ecx, [ebp - 0x24]
seta bl
call fcn.0040fad0
mov eax, dword [ebp + 0x44]
cmp eax, edi
jb 0x5cd97b
mov ecx, dword [ebp + 0x30]
lea eax, [eax*2 + 2]
mov dword [ebp + 0x74], eax
mov dword [ebp + 0x68], ecx
cmp eax, 0x1000
jb 0x5cd972
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.0044810a
mov eax, dword [ebp + 0x74]
mov ecx, dword [ebp + 0x68]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
and dword [ebp + 0x40], 0
lea ecx, [ebp]
xor eax, eax
mov dword [ebp + 0x44], 7
mov word [ebp + 0x30], ax
call fcn.0044823e
mov eax, dword [ebp + 0x2c]
cmp eax, edi
jb 0x5cd9ce
mov ecx, dword [ebp + 0x18]
lea eax, [eax*2 + 2]
mov dword [ebp + 0x74], eax
mov dword [ebp + 0x68], ecx
cmp eax, 0x1000
jb 0x5cd9c5
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.0044810a
mov eax, dword [ebp + 0x74]
mov ecx, dword [ebp + 0x68]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
and dword [ebp + 0x28], 0
lea ecx, [ebp - 0x3c]
xor eax, eax
mov dword [ebp + 0x2c], 7
mov word [ebp + 0x18], ax
call fcn.0044823e
lea ecx, [ebp - 0x54]
call fcn.0044823e
mov al, bl
jmp 0x5cd9f5
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add ebp, 0x6c
leave
ret 4