Function at 0x10056740
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x2a8
mov eax, dword [0x1010f16c]
xor eax, esp
mov dword [esp + 0x2a4], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x7c]
mov edi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, eax
mov byte [esp + 0x17], 0
test ecx, ecx
jne 0x1005679c
push str.GetSystemDirectory_failed
call fcn.10056110
add esp, 4
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x2a4]
xor ecx, esp
call fcn.100908e7
mov esp, ebp
pop ebp
ret
movups xmm0, xmmword [str._netsh.exe]
mov eax, dword [0x100f67fc]
mov esi, edi
movups xmmword [esp + ecx*2 + 0x78], xmm0
mov dword [esp + ecx*2 + 0x88], eax
mov ax, word [0x100f6800]
mov word [esp + ecx*2 + 0x8c], ax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100567c7
sub esi, ecx
mov edx, 2
xor ecx, ecx
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10090e9f
mov edx, eax
add esp, 4
lea eax, [esi + 1]
mov dword [esp + 0x1c], edx
xor ecx, ecx
cmp eax, 0x20
jb 0x10056891
lea edx, [edx + esi*2]
mov dword [esp + 0x18], edx
lea edx, [edi + esi]
cmp dword [esp + 0x1c], edx
ja 0x10056816
cmp dword [esp + 0x18], edi
jae 0x1005688d
and eax, 0x1f
mov edx, esi
sub edx, eax
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x1c]
lea eax, [edx + 0x20]
nop dword [eax + eax]
movq xmm0, qword [edi + ecx]
lea eax, [eax + 0x40]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movups xmmword [eax - 0x60], xmm0
movq xmm0, qword [edi + ecx + 8]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movups xmmword [eax - 0x50], xmm0
movq xmm0, qword [edi + ecx + 0x10]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movups xmmword [eax - 0x40], xmm0
movq xmm0, qword [edi + ecx + 0x18]
add ecx, 0x20
punpcklbw xmm0, xmm0
psraw xmm0, 8
movups xmmword [eax - 0x30], xmm0
cmp ecx, dword [esp + 0x18]
jbe 0x10056830
cmp ecx, esi
ja 0x1005689f
jmp 0x10056891
mov edx, dword [esp + 0x1c]
movsx ax, byte [edi + ecx]
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, esi
jbe 0x10056891
push 0x44
lea eax, [esp + 0x34]
push 0
push eax
call fcn.100a8dc0
add esp, 0xc
lea eax, [esp + 0x30]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xor eax, eax
mov dword [esp + 0x5c], 1
mov word [esp + 0x60], ax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
push dword [esp + 0x3c]
lea eax, [esp + 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10056963
push 0xffffffffffffffff
push dword [esp + 0x24]
mov dword [esp + 0x20], 0xffffffff
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esp + 0x18]
push edi
test eax, eax
je 0x1005693d
push eax
push str.Netsh_failed___d__:__s
call fcn.10056110
add esp, 0xc
jmp 0x1005694f
push str.Run:__s
call fcn.100561a0
add esp, 8
mov byte [esp + 0x17], 1
push dword [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x20]
call esi
jmp 0x10056971
push edi
push str.CreateProcess_failed:__s
call fcn.10056110
add esp, 8
push dword [esp + 0x1c]
call fcn.10090c9f
mov ecx, dword [esp + 0x2b0]
add esp, 4
mov al, byte [esp + 0x17]
pop edi
pop esi
xor ecx, esp
call fcn.100908e7
mov esp, ebp
pop ebp
ret