Function at 0x40ab00
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x1b8
mov eax, dword [0x44ede8]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
push ebp
push edi
push 0x15
xor ebx, ebx
push str.GetNumberOfInterfaces
lea ecx, [esp + 0x14]
mov dword [esi + 0x18], 0x1c
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.00403920
mov eax, dword [esi + 8]
cmp eax, ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x40ab51
xor edi, edi
jmp 0x40ab8b
mov ecx, dword [esp + 0x10]
mov edi, 0x10
cmp dword [esp + 0x24], edi
jae 0x40ab64
lea ecx, [esp + 0x10]
push ecx
push eax
call ebp
cmp eax, ebx
jne 0x40ab89
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x40ab77
xor edi, edi
jmp 0x40ab8b
cmp dword [esp + 0x24], edi
mov ecx, dword [esp + 0x10]
jae 0x40ab85
lea ecx, [esp + 0x10]
push ecx
push eax
call ebp
mov edi, eax
cmp dword [esp + 0x24], 0x10
jb 0x40ab9f
mov eax, dword [esp + 0x10]
push eax
call fcn.00412b03
add esp, 4
cmp edi, ebx
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
jne 0x40abb8
mov dword [esi + 0x14], ebx
jmp 0x40abbe
lea ecx, [esi + 0x14]
push ecx
call edi
push 0xe
push str.IcmpCreateFile
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.00403920
mov eax, dword [esi + 8]
cmp eax, ebx
jne 0x40abe9
xor edi, edi
jmp 0x40ac23
mov ecx, dword [esp + 0x10]
mov edi, 0x10
cmp dword [esp + 0x24], edi
jae 0x40abfc
lea ecx, [esp + 0x10]
push ecx
push eax
call ebp
cmp eax, ebx
jne 0x40ac21
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x40ac0f
xor edi, edi
jmp 0x40ac23
cmp dword [esp + 0x24], edi
mov ecx, dword [esp + 0x10]
jae 0x40ac1d
lea ecx, [esp + 0x10]
push ecx
push eax
call ebp
mov edi, eax
cmp dword [esp + 0x24], 0x10
jb 0x40ac37
mov edx, dword [esp + 0x10]
push edx
call fcn.00412b03
add esp, 4
cmp edi, ebx
mov ebp, 0xf
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
jne 0x40ac51
mov dword [esi + 0xc], ebx
jmp 0x40ac56
call edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
call fcn.0040b390
test al, al
je 0x40acb2
push ebp
push str.Icmp6CreateFile
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.00403920
push esi
lea edi, [esp + 0x10]
call fcn.0040b340
cmp dword [esp + 0x24], 0x10
mov edi, eax
jb 0x40ac9d
mov eax, dword [esp + 0x10]
push eax
call fcn.00412b03
add esp, 4
cmp edi, ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
je 0x40acb2
call edi
mov dword [esi + 0x10], eax
lea ecx, [esp + 0x28]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x40acf7
push str.Cant_start_WSAStartup
call fcn.004082f0
mov edi, eax
call fcn.004087d0
add esp, 4
mov eax, 8
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1b0]
xor ecx, esp
call fcn.00420baf
add esp, 0x1b8
ret
push 0xe
push str.GetIpAddrTable
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.00403920
push esi
lea edi, [esp + 0x10]
call fcn.0040b340
cmp dword [esp + 0x24], 0x10
mov edi, eax
jb 0x40ad33
mov edx, dword [esp + 0x10]
push edx
call fcn.00412b03
add esp, 4
cmp edi, ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
jne 0x40ad48
mov dword [esi + 0x44], ebx
jmp 0x40adc0
mov eax, dword [esi + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
call ebp
push ebx
lea ecx, [esi + 0x18]
push ecx
push eax
mov dword [esi + 0x44], eax
call edi
cmp eax, ebx
mov dword [esi + 0x48], eax
je 0x40ad8d
cmp eax, 0x7a
jne 0x40ad8d
mov ecx, dword [esi + 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [esi + 0x18]
push edx
push 0x40
call ebp
push ebx
lea ecx, [esi + 0x18]
push ecx
push eax
mov dword [esi + 0x44], eax
call edi
mov dword [esi + 0x48], eax
cmp dword [esi + 0x48], ebx
jne 0x40adc0
mov eax, dword [esi + 0x44]
xor ebp, ebp
cmp dword [eax], ebx
jbe 0x40adc0
lea edi, [esi + 0x1c]
mov edi, edi
mov ecx, dword [esi + 0x44]
mov eax, dword [ebx + ecx + 4]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov dword [edi], eax
mov edx, dword [esi + 0x44]
add ebp, 1
add edi, 4
add ebx, 0x18
cmp ebp, dword [edx]
jb 0x40ada0
push str.Network_started_
call fcn.004082f0
mov edi, eax
call fcn.004087d0
mov ecx, dword [esp + 0x1c0]
add esp, 4
pop edi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00420baf
add esp, 0x1b8
ret