Function at 0x87d6d0
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create process suspended
Read file on windows
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0xb11a40
push 0xa847a0
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0xb196ec]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, str.C:PROGRA2eScanNWCONFIG.DAT
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x23c], edi
cmp byte [str.C:PROGRA2eScanNWCONFIG.DAT], 0
je 0x87da0c
push str.netsh.exe__c_interface_dump
lea eax, [ebp - 0x230]
push eax
call fcn.00a78f30
add esp, 8
xor eax, eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x25c], 0xc
mov dword [ebp - 0x254], 1
mov dword [ebp - 0x258], edi
push edi
lea ecx, [ebp - 0x25c]
push ecx
lea edx, [ebp - 0x23c]
push edx
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x87da0c
push 0x44
push edi
lea ecx, [ebp - 0x2a8]
push ecx
call fcn.00a7ffb0
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x2a8], 0x44
mov dword [ebp - 0x27c], 0x101
mov edx, dword [ebp - 0x23c]
mov dword [ebp - 0x26c], edx
mov word [ebp - 0x278], ax
lea ecx, [ebp - 0x250]
push ecx
lea edx, [ebp - 0x2a8]
push edx
push edi
push edi
push 4
push 1
push edi
push edi
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, edi
jne 0x87d838
mov eax, dword [ebp - 0x23c]
cmp eax, edi
je 0x87d81e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x238]
cmp eax, edi
je 0x87da0c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x87da0c
push 0x118
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x24c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 0x23c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, edi
je 0x87d863
push eax
call esi
push 0xab6b18
push str.C:PROGRA2eScanNWCONFIG.DAT
call fcn.00a7932f
add esp, 8
mov dword [ebp - 0x234], eax
cmp eax, edi
jne 0x87d8a3
mov eax, dword [ebp - 0x238]
cmp eax, edi
je 0x87d88c
push eax
call esi
mov edx, dword [ebp - 0x24c]
push edx
call esi
mov eax, dword [ebp - 0x250]
push eax
call esi
jmp 0x87da0c
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea esp, [esp]
push 0x104
push 0
lea ecx, [ebp - 0x128]
push ecx
call fcn.00a7ffb0
add esp, 0xc
push 0
lea edx, [ebp - 0x260]
push edx
push 0x103
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x238]
push ecx
call edi
test eax, eax
je 0x87d909
cmp dword [ebp - 0x260], 0
je 0x87d909
mov edx, dword [ebp - 0x234]
push edx
lea eax, [ebp - 0x128]
push eax
call fcn.00a7af97
add esp, 8
jmp 0x87d8b0
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.00a79e9e
add esp, 4
mov eax, dword [ebp - 0x238]
xor edi, edi
cmp eax, edi
je 0x87d927
push eax
call esi
push 0xffffffffffffffff
mov edx, dword [ebp - 0x250]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x24c]
push eax
call esi
mov ecx, dword [ebp - 0x250]
push ecx
call esi
mov dword [ebp - 0x234], edi
push 1
push edi
lea edx, [ebp - 0x234]
mov ecx, ebx
call fcn.0095a0f0
add esp, 8
cmp dword [ebp - 0x234], edi
ja 0x87d983
mov eax, ebx
call fcn.0094dd20
push 1
push edi
lea edx, [ebp - 0x234]
mov ecx, ebx
call fcn.0095a0f0
add esp, 8
cmp eax, edi
jne 0x87da0c
mov dword [ebp - 0x240], edi
lea ecx, [ebp - 0x240]
mov edx, ebx
call fcn.00978190
mov esi, dword [ebp - 0x240]
cmp esi, edi
je 0x87da0c
push edi
push str.address_name
push esi
call fcn.0095c8c0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x87d9dd
push ebx
push str.SaveInterfaceConfig:_Deleting__s_as_it_does_not_have_add_set_address_name_
push edi
call fcn.0096a780
add esp, 0xc
mov eax, ebx
call fcn.0094dd20
push esi
call fcn.00a78fec
add esp, 4
jmp 0x87da0c
push esi
call fcn.00a78fec
add esp, 4
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
jmp 0x87da15
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret