Function at 0x4b0e00
Capabilities:
Check if file exists
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e446c
mov eax, dword fs:[0]
push eax
mov eax, 0x217c
call fcn.005b8630
mov eax, dword [0x66a074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x217c], 0
mov dword [ebp - 0x2178], 0
mov dword [ebp - 0x2174], 0
lea ecx, [ebp - 0x217c]
mov dword [ebp - 4], 0
call fcn.004b0820
mov edi, dword [ebp - 0x2178]
mov ebx, dword [ebp - 0x217c]
test al, al
jne 0x4b0e91
cmp byte [0x673629], 0
je 0x4b1239
push str.ResetDHCPConfig
call fcn.00407e20
add esp, 4
jmp 0x4b1239
cmp ebx, edi
je 0x4b1233
nop dword [eax]
xor esi, esi
mov edi, 7
xor eax, eax
mov dword [ebp - 0x2018], esi
mov dword [ebp - 0x2014], edi
mov word [ebp - 0x2028], ax
mov byte [ebp - 4], 1
mov byte [ebp - 0x2161], al
mov dword [ebp - 0x216c], eax
lea eax, [ebp - 0x216c]
push eax
push esi
call dword [sym.imp.MPRAPI.dll_MprConfigServerConnect]
cmp dword [ebp - 0x216c], esi
je 0x4b104d
push 0x108
call fcn.005b79a5
mov esi, eax
mov dword [ebp - 0x2168], 0
add esp, 4
mov dword [ebp - 0x2170], esi
test esi, esi
je 0x4b1047
lea eax, [ebp - 0x2168]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetInterfaceInfo]
cmp eax, 0x7a
jne 0x4b0f3f
push esi
call fcn.005b79a0
add esp, 4
push dword [ebp - 0x2168]
call fcn.005b79a5
add esp, 4
mov dword [ebp - 0x2170], eax
mov esi, eax
test esi, esi
je 0x4b1047
lea eax, [ebp - 0x2168]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetInterfaceInfo]
test eax, eax
jne 0x4b103e
mov dword [ebp - 0x2180], eax
cmp dword [esi], eax
jle 0x4b103e
lea edx, [esi + 4]
mov dword [ebp - 0x2184], edx
nop dword [eax]
nop dword [eax + eax]
cmp dword [ebx + 0x14], 8
lea edi, [ebp - 0x2160]
mov ecx, 0x41
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov eax, ebx
jb 0x4b0f99
mov eax, dword [ebx]
push eax
lea eax, [ebp - 0x215c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4b0fce
push 0x1000
lea eax, [ebp - 0x2010]
push eax
lea eax, [ebp - 0x215c]
push eax
push dword [ebp - 0x216c]
call dword [sym.imp.MPRAPI.dll_MprConfigGetFriendlyName]
test eax, eax
je 0x4b0ff9
mov eax, dword [ebp - 0x2180]
mov esi, dword [ebp - 0x2170]
inc eax
mov edx, dword [ebp - 0x2184]
add edx, 0x104
mov dword [ebp - 0x2180], eax
mov dword [ebp - 0x2184], edx
cmp eax, dword [esi]
jl 0x4b0f80
jmp 0x4b1038
lea eax, [ebp - 0x2010]
mov byte [ebp - 0x2161], 1
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b1010
sub eax, edx
lea ecx, [ebp - 0x2028]
sar eax, 1
push eax
lea eax, [ebp - 0x2010]
push eax
call fcn.00409060
mov esi, dword [ebp - 0x2170]
mov edi, dword [ebp - 0x2014]
push esi
call fcn.005b79a0
add esp, 4
mov esi, dword [ebp - 0x2018]
cmp byte [ebp - 0x2161], 0
je 0x4b1213
push 0x1000
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.005b9c20
add esp, 0xc
lea eax, [ebp - 0x1010]
push 0x800
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
call fcn.004cb900
test al, al
je 0x4b109d
push str..._sysnative
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.netsh.exe
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b1213
push 0x1a
xor eax, eax
mov dword [ebp - 0x2048], 0
push str.interface_ip_set_address__
lea ecx, [ebp - 0x2058]
mov dword [ebp - 0x2044], 7
mov word [ebp - 0x2058], ax
call fcn.00409060
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2040]
push 0x16
xor eax, eax
mov dword [ebp - 0x2030], 0
push str.interface_ip_set_dns__
mov dword [ebp - 0x202c], 7
mov word [ebp - 0x2040], ax
call fcn.00409060
cmp edi, 8
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2028]
cmovae eax, dword [ebp - 0x2028]
lea ecx, [ebp - 0x2058]
push esi
push eax
call fcn.00409220
cmp dword [ebp - 0x2014], 8
lea eax, [ebp - 0x2028]
push dword [ebp - 0x2018]
cmovae eax, dword [ebp - 0x2028]
lea ecx, [ebp - 0x2040]
push eax
call fcn.00409220
push 6
push str.__dhcp
lea ecx, [ebp - 0x2058]
call fcn.00409220
push 6
push str.__dhcp
lea ecx, [ebp - 0x2040]
call fcn.00409220
cmp dword [ebp - 0x2044], 8
lea eax, [ebp - 0x2058]
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmovae eax, dword [ebp - 0x2058]
push 0
push 0
push eax
lea eax, [ebp - 0x1010]
push eax
push str.open
push 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x5dc
call edi
cmp dword [ebp - 0x202c], 8
lea eax, [ebp - 0x2040]
push 0
cmovae eax, dword [ebp - 0x2040]
push 0
push eax
lea eax, [ebp - 0x1010]
push eax
push str.open
push 0
call esi
push 0x5dc
call edi
lea ecx, [ebp - 0x2040]
call fcn.00408ff0
lea ecx, [ebp - 0x2058]
call fcn.00408ff0
lea ecx, [ebp - 0x2028]
mov byte [ebp - 4], 0
call fcn.00408ff0
mov edi, dword [ebp - 0x2178]
add ebx, 0x48
cmp ebx, edi
jne 0x4b0ea0
mov ebx, dword [ebp - 0x217c]
test ebx, ebx
je 0x4b129c
mov esi, ebx
cmp esi, edi
je 0x4b1259
lea ecx, [esi + 0x18]
call fcn.00408ff0
mov ecx, esi
call fcn.00408ff0
add esi, 0x48
cmp esi, edi
jne 0x4b1243
mov ecx, dword [ebp - 0x2174]
mov eax, 0x38e38e39
sub ecx, ebx
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*8]
mov eax, ebx
shl ecx, 3
cmp ecx, 0x1000
jb 0x4b1292
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b12b8
push ecx
push ebx
call fcn.005b7992
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b75ab
mov esp, ebp
pop ebp
ret
call fcn.005c00b0
int3