Function at 0x4011e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x40ae09
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x40e028]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x40e028]
xor eax, esp
push eax
lea eax, [esp + 0xfc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x1c], eax
xor ebx, ebx
mov dword [esp + 0x104], ebx
mov edi, 7
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
cmp byte [esp + 0x12d], bl
mov byte [esp + 0x104], 1
je 0x4012a2
push 0x23
push str.netsh.exe_interface_ip_set_address
lea esi, [esp + 0x28]
call fcn.004025a0
push 1
push 0x40caa8
mov ecx, esi
call fcn.004024d0
push ebx
lea ecx, [esp + 0x114]
push ecx
or eax, 0xffffffff
call fcn.00402410
push 1
push 0x40caa8
mov ecx, esi
call fcn.004024d0
push 5
push 0x40caac
mov ecx, esi
call fcn.004024d0
jmp 0x4015d3
push 1
push 0x40cab8
lea esi, [esp + 0x60]
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
call fcn.004025a0
mov eax, dword [esp + 0x130]
cmp eax, ebx
mov byte [esp + 0x104], 2
jne 0x401331
mov esi, 8
cmp dword [esp + 0x70], esi
jb 0x4012ea
mov edx, dword [esp + 0x5c]
push edx
call fcn.00403471
add esp, 4
cmp dword [esp + 0x38], esi
mov word [esp + 0x5c], bx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], edi
jb 0x40130a
mov eax, dword [esp + 0x24]
push eax
call fcn.00403471
add esp, 4
cmp dword [esp + 0x128], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
jb 0x4019f5
mov ecx, dword [esp + 0x114]
push ecx
jmp 0x4019ed
mov ebp, dword [esp + 0x134]
cmp ebp, ebx
je 0x4012d2
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov esi, eax
cmp esi, ebx
je 0x401997
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x401350
sub eax, edx
cmp eax, 0x40
jae 0x401997
push 0x7e
lea edx, [esp + 0x7a]
push ebx
push edx
mov word [esp + 0x80], bx
call fcn.00403e80
mov eax, esi
add esp, 0xc
xor ecx, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x401383
sub eax, edi
je 0x4013b1
movsx ax, byte [ecx + esi]
mov word [esp + ecx*2 + 0x74], ax
mov eax, esi
add ecx, 1
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x4013a2
sub eax, edi
cmp ecx, eax
jb 0x401390
lea eax, [esp + 0x74]
lea edx, [eax + 2]
jmp 0x4013c0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4013c0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x60]
call fcn.004024d0
push 1
push 0x40cab8
lea ecx, [esp + 0x60]
call fcn.004024d0
push ebp
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov esi, eax
cmp esi, ebx
je 0x401978
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x401402
sub eax, edx
cmp eax, 0x40
jae 0x401978
push 0x7e
lea edx, [esp + 0x7a]
push ebx
push edx
mov word [esp + 0x80], bx
call fcn.00403e80
mov eax, esi
add esp, 0xc
xor ecx, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x401435
sub eax, edi
je 0x401463
movsx ax, byte [ecx + esi]
mov word [esp + ecx*2 + 0x74], ax
mov eax, esi
add ecx, 1
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x401454
sub eax, edi
cmp ecx, eax
jb 0x401442
lea eax, [esp + 0x74]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x401470
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x60]
call fcn.004024d0
push 1
push 0x40cab8
lea ecx, [esp + 0x60]
call fcn.004024d0
mov eax, dword [esp + 0x138]
cmp eax, ebx
je 0x40155e
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov esi, eax
cmp esi, ebx
je 0x40155e
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4014c1
sub eax, edx
cmp eax, 0x40
jae 0x40155e
push 0x7e
lea edx, [esp + 0x7a]
push ebx
push edx
mov word [esp + 0x80], bx
call fcn.00403e80
mov eax, esi
add esp, 0xc
xor ecx, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x4014f4
sub eax, edi
je 0x401522
movsx ax, byte [ecx + esi]
mov word [esp + ecx*2 + 0x74], ax
mov eax, esi
add ecx, 1
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x401513
sub eax, edi
cmp ecx, eax
jb 0x401501
lea eax, [esp + 0x74]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x401530
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x60]
call fcn.004024d0
push 1
push 0x40cab8
lea ecx, [esp + 0x60]
call fcn.004024d0
push 0x23
push str.netsh.exe_interface_ip_set_address
lea esi, [esp + 0x28]
call fcn.004025a0
push 1
push 0x40caa8
mov ecx, esi
call fcn.004024d0
push ebx
lea edx, [esp + 0x114]
push edx
or eax, 0xffffffff
call fcn.00402410
push 1
push 0x40caa8
mov ecx, esi
call fcn.004024d0
push 8
push 0x40cabc
mov ecx, esi
call fcn.004024d0
push ebx
lea eax, [esp + 0x5c]
push eax
or eax, 0xffffffff
call fcn.00402410
mov byte [esp + 0x104], 1
cmp dword [esp + 0x70], 8
jb 0x4015d3
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00403471
add esp, 4
mov ebp, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push edx
mov esi, ebp
call fcn.00401fb0
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
cmp byte [esp + 0x13c], bl
mov byte [esp + 0x104], 3
je 0x40165e
push 0x24
push str.netsh.exe_interface_ip_set_dns_name
lea ecx, [esp + 0x44]
call fcn.004024d0
push 1
push 0x40caa8
lea ecx, [esp + 0x44]
call fcn.004024d0
push ebx
lea eax, [esp + 0x114]
push eax
or eax, 0xffffffff
lea esi, [esp + 0x44]
call fcn.00402410
push 1
push 0x40caa8
mov ecx, esi
call fcn.004024d0
push 0xc
push str._sourcedhcp
mov ecx, esi
call fcn.004024d0
mov ecx, esi
push ecx
jmp 0x401907
mov eax, dword [esp + 0x140]
cmp eax, ebx
mov byte [esp + 0x17], bl
je 0x401772
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov esi, eax
cmp esi, ebx
je 0x401772
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x401685
sub eax, edx
cmp eax, 0x40
jae 0x401772
push 0x7e
lea edx, [esp + 0x7a]
push ebx
push edx
mov word [esp + 0x80], bx
call fcn.00403e80
mov eax, esi
add esp, 0xc
xor ecx, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x4016b8
sub eax, edi
je 0x4016f1
jmp 0x4016d0
movsx ax, byte [ecx + esi]
mov word [esp + ecx*2 + 0x74], ax
mov eax, esi
add ecx, 1
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x4016e2
sub eax, edi
cmp ecx, eax
jb 0x4016d0
push 0x24
push str.netsh.exe_interface_ip_set_dns_name
lea esi, [esp + 0x44]
call fcn.004025a0
push 1
push 0x40caa8
mov ecx, esi
call fcn.004024d0
push ebx
lea ecx, [esp + 0x114]
push ecx
or eax, 0xffffffff
call fcn.00402410
push 1
push 0x40caa8
mov ecx, esi
call fcn.004024d0
push 0x17
push str._sourcestatic_address
mov ecx, esi
call fcn.004024d0
lea eax, [esp + 0x74]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x401743
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x44]
call fcn.004024d0
lea eax, [esp + 0x3c]
push eax
mov esi, ebp
mov byte [esp + 0x1b], 1
call fcn.00401fb0
mov eax, dword [esp + 0x144]
cmp eax, ebx
je 0x40190e
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov esi, eax
cmp esi, ebx
je 0x40190e
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x401795
sub eax, edx
cmp eax, 0x40
jae 0x40190e
push 0x7e
lea ecx, [esp + 0x7a]
push ebx
push ecx
mov word [esp + 0x80], bx
call fcn.00403e80
mov eax, esi
add esp, 0xc
xor ecx, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x4017c8
sub eax, edi
je 0x401801
jmp 0x4017e0
movsx dx, byte [ecx + esi]
mov eax, esi
mov word [esp + ecx*2 + 0x74], dx
add ecx, 1
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x4017f2
sub eax, edi
cmp ecx, eax
jb 0x4017e0
cmp byte [esp + 0x17], bl
je 0x40188a
push 0x24
push str.netsh.exe_interface_ip_add_dns_name
lea esi, [esp + 0x44]
call fcn.004025a0
push 1
push 0x40caa8
mov ecx, esi
call fcn.004024d0
push ebx
lea eax, [esp + 0x114]
push eax
or eax, 0xffffffff
call fcn.00402410
push 1
push 0x40caa8
mov ecx, esi
call fcn.004024d0
push 9
push str._address
mov ecx, esi
call fcn.004024d0
lea eax, [esp + 0x74]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x401860
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x44]
call fcn.004024d0
push 8
push str._index2
jmp 0x4018f9
mov eax, dword [esp + 0x50]
mov edi, 0x24
lea ecx, [esp + 0x3c]
call fcn.00402fc0
push 1
push 0x40caa8
lea ecx, [esp + 0x44]
call fcn.004024d0
push ebx
lea eax, [esp + 0x114]
push eax
or eax, 0xffffffff
lea esi, [esp + 0x44]
call fcn.00402410
push 1
push 0x40caa8
mov ecx, esi
call fcn.004024d0
push 0x17
push str._sourcestatic_address
mov ecx, esi
call fcn.004024d0
lea eax, [esp + 0x74]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4018e4
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x44]
call fcn.004024d0
lea edx, [esp + 0x3c]
push edx
mov esi, ebp
call fcn.00401fb0
mov esi, 8
cmp dword [esp + 0x54], esi
jb 0x401926
mov eax, dword [esp + 0x40]
push eax
call fcn.00403471
add esp, 4
cmp dword [esp + 0x38], esi
mov edi, 7
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
jb 0x40194b
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00403471
add esp, 4
cmp dword [esp + 0x128], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
jb 0x401971
mov edx, dword [esp + 0x114]
push edx
call fcn.00403471
add esp, 4
mov al, 1
jmp 0x4019f7
mov esi, 8
cmp dword [esp + 0x70], esi
jb 0x401990
mov eax, dword [esp + 0x5c]
push eax
call fcn.00403471
add esp, 4
mov edi, 7
jmp 0x4019af
mov esi, 8
cmp dword [esp + 0x70], esi
jb 0x4019af
mov eax, dword [esp + 0x5c]
push eax
call fcn.00403471
add esp, 4
cmp dword [esp + 0x38], esi
mov word [esp + 0x5c], bx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], edi
jb 0x4019cf
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00403471
add esp, 4
cmp dword [esp + 0x128], esi
mov word [esp + 0x24], bx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], edi
jb 0x4019f5
mov edx, dword [esp + 0x114]
push edx
call fcn.00403471
add esp, 4
xor al, al
mov ecx, dword [esp + 0xfc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.0040338c
add esp, 0xf4
ret