Function at 0x484d8c
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff4ec
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor ebx, ebx
push 0
mov eax, dword [ebp - 4]
mov ecx, 1
mov edx, dword [0x484d50]
call fcn.00405b18
add esp, 4
lea eax, [ebp - 0x1b0]
push eax
xor edx, edx
mov al, 2
call fcn.00407730
push eax
call sub.wsock32.dll_WSAStartup
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x484fb6
xor edx, edx
push ebp
push 0x484f9c
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push 0x400
lea eax, [ebp - 0xb14]
push eax
push 0
push 0
push 0x4004747f
mov eax, dword [ebp - 8]
push eax
call sub.WS2_32.DLL_WSAIoctl
inc eax
je 0x484f92
mov eax, dword [ebp - 0xc]
mov ecx, 0x4c
cdq
idiv ecx
mov ebx, eax
push ebx
mov eax, dword [ebp - 4]
mov ecx, 1
mov edx, dword [0x484d50]
call fcn.00405b18
add esp, 4
dec ebx
test ebx, ebx
jl 0x484f92
inc ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 0
lea ebx, [ebp - 0xb10]
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx]
lea esi, [edx + eax*4]
mov dword [ebp - 0x10], 0x10
mov eax, esi
mov edx, dword [ebp - 0x10]
call fcn.00404cb8
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi]
call fcn.00404b2c
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
jne 0x484e9b
mov eax, esi
call fcn.0040466c
push esi
mov esi, ebx
lea edi, [ebp - 0x1c0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
push dword [ebp - 0x1bc]
call sub.wsock32.dll_inet_ntoa
mov edi, eax
lea eax, [esi + 4]
mov edx, edi
call fcn.00404864
push esi
lea esi, [ebx + 0x30]
lea edi, [ebp - 0x1d0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
push dword [ebp - 0x1cc]
call sub.wsock32.dll_inet_ntoa
mov edi, eax
lea eax, [esi + 8]
mov edx, edi
call fcn.00404864
push esi
lea esi, [ebx + 0x18]
lea edi, [ebp - 0x1e0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
push dword [ebp - 0x1dc]
call sub.wsock32.dll_inet_ntoa
mov edi, eax
lea eax, [esi + 0x10]
mov edx, edi
call fcn.00404864
mov eax, dword [ebx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x34]
and dword [ebp - 0x18], eax
not eax
or eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x18]
call sub.wsock32.dll_inet_ntoa
mov edi, eax
lea eax, [esi + 0xc]
mov edx, edi
call fcn.00404864
push dword [ebp - 0x14]
call sub.wsock32.dll_inet_ntoa
mov edi, eax
lea eax, [esi + 0x14]
mov edx, edi
call fcn.00404864
mov eax, dword [ebx - 4]
mov edx, eax
and edx, 1
dec edx
jne 0x484f59
mov byte [esi + 0x18], 1
jmp 0x484f5d
mov byte [esi + 0x18], 0
mov edx, eax
and edx, 2
cmp edx, 2
jne 0x484f6d
mov byte [esi + 0x19], 1
jmp 0x484f71
mov byte [esi + 0x19], 0
and eax, 4
cmp eax, 4
jne 0x484f7f
mov byte [esi + 0x1a], 1
jmp 0x484f83
mov byte [esi + 0x1a], 0
inc dword [ebp - 0x1c]
add ebx, 0x4c
dec dword [ebp - 0x20]
jne 0x484e5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x484fa6
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_closesocket
call sub.wsock32.dll_WSACleanup
mov bl, 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret