Function at 0x436540
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x1b8
mov eax, dword [0x4bc7b8]
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.00401b10
mov eax, dword [esi + 8]
cmp eax, ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x436591
xor edi, edi
jmp 0x4365cb
mov ecx, dword [esp + 0x10]
mov edi, 0x10
cmp dword [esp + 0x24], edi
jae 0x4365a4
lea ecx, [esp + 0x10]
push ecx
push eax
call ebp
cmp eax, ebx
jne 0x4365c9
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4365b7
xor edi, edi
jmp 0x4365cb
cmp dword [esp + 0x24], edi
mov ecx, dword [esp + 0x10]
jae 0x4365c5
lea ecx, [esp + 0x10]
push ecx
push eax
call ebp
mov edi, eax
cmp dword [esp + 0x24], 0x10
jb 0x4365df
mov eax, dword [esp + 0x10]
push eax
call fcn.0044ac38
add esp, 4
cmp edi, ebx
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
jne 0x4365f8
mov dword [esi + 0x14], ebx
jmp 0x4365fe
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.00401b10
mov eax, dword [esi + 8]
cmp eax, ebx
jne 0x436629
xor edi, edi
jmp 0x436663
mov ecx, dword [esp + 0x10]
mov edi, 0x10
cmp dword [esp + 0x24], edi
jae 0x43663c
lea ecx, [esp + 0x10]
push ecx
push eax
call ebp
cmp eax, ebx
jne 0x436661
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x43664f
xor edi, edi
jmp 0x436663
cmp dword [esp + 0x24], edi
mov ecx, dword [esp + 0x10]
jae 0x43665d
lea ecx, [esp + 0x10]
push ecx
push eax
call ebp
mov edi, eax
cmp dword [esp + 0x24], 0x10
jb 0x436677
mov edx, dword [esp + 0x10]
push edx
call fcn.0044ac38
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 0x436691
mov dword [esi + 0xc], ebx
jmp 0x436696
call edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
call fcn.00437020
test al, al
je 0x4366f2
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.00401b10
push esi
lea edi, [esp + 0x10]
call fcn.00436fd0
cmp dword [esp + 0x24], 0x10
mov edi, eax
jb 0x4366dd
mov eax, dword [esp + 0x10]
push eax
call fcn.0044ac38
add esp, 4
cmp edi, ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
je 0x4366f2
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 0x436737
push str.Cant_start_WSAStartup
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 4
mov eax, 8
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1b0]
xor ecx, esp
call fcn.004677d8
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.00401b10
push esi
lea edi, [esp + 0x10]
call fcn.00436fd0
cmp dword [esp + 0x24], 0x10
mov edi, eax
jb 0x436773
mov edx, dword [esp + 0x10]
push edx
call fcn.0044ac38
add esp, 4
cmp edi, ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
jne 0x436788
mov dword [esi + 0x44], ebx
jmp 0x436800
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 0x4367cd
cmp eax, 0x7a
jne 0x4367cd
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 0x436800
mov eax, dword [esi + 0x44]
xor ebp, ebp
cmp dword [eax], ebx
jbe 0x436800
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 0x4367e0
push str.Network_started_
call fcn.00426a70
mov edi, eax
call fcn.00426f90
mov ecx, dword [esp + 0x1c0]
add esp, 4
pop edi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004677d8
add esp, 0x1b8
ret