Function at 0x410e90
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x43
push 0
push 0
dec ecx
jne 0x410e98
push ebx
push esi
push edi
mov dword [ebp - 8], eax
mov ebx, 0x42ab70
mov esi, 0x42ab30
mov edi, 0x42ab00
xor eax, eax
push ebp
push 0x411469
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, 0x411484
call fcn.004040c0
call fcn.00413b50
cmp byte [0x429214], 0
jne 0x410efd
lea eax, [ebp - 0x1b4]
mov ecx, dword [0x42aba8]
mov edx, 0x411528
call fcn.00404354
mov eax, dword [ebp - 0x1b4]
call fcn.0041b55c
mov byte [ebp - 9], 0
lea eax, [ebp - 0x1a0]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, esi
mov edx, 0x411538
call fcn.004040c0
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov dword [ebp - 4], eax
mov word [ebp - 0x1b0], 2
push 0x19
call sub.wsock32.dll_htons
mov word [ebp - 0x1ae], ax
lea edx, [ebp - 0x1b8]
mov eax, dword [0x42ab9c]
call fcn.004076d4
mov edx, dword [ebp - 0x1b8]
mov eax, 0x42aba0
call fcn.004040c0
mov eax, esi
mov edx, 0x411570
call fcn.004040c0
mov eax, dword [0x42aba0]
call fcn.00404308
cmp eax, 5
jge 0x410fc1
push 0x41163c
push dword [0x42ab9c]
push 0x411650
lea edx, [ebp - 0x1c0]
xor eax, eax
call fcn.0040780c
push dword [ebp - 0x1c0]
lea eax, [ebp - 0x1bc]
mov edx, 4
call fcn.004043c8
mov eax, dword [ebp - 0x1bc]
call fcn.0041b55c
jmp 0x411443
mov eax, dword [0x42aba0]
call fcn.00404508
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x1ac], eax
push 0x10
lea eax, [ebp - 0x1b0]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [0x429658]
mov eax, dword [eax]
call eax
mov dword [ebx], eax
cmp dword [ebx], 0xffffffff
jne 0x41102f
lea edx, [ebp - 0x1c8]
xor eax, eax
call fcn.0040780c
mov ecx, dword [ebp - 0x1c8]
lea eax, [ebp - 0x1c4]
mov edx, 0x41165c
call fcn.00404354
mov eax, dword [ebp - 0x1c4]
call fcn.0041b55c
lea eax, [ebp - 4]
call fcn.004077fc
jmp 0x411443
mov eax, esi
mov edx, 0x41166c
call fcn.004040c0
push ebp
lea eax, [ebp - 0x1cc]
push eax
xor ecx, ecx
mov dl, 1
xor eax, eax
call fcn.00410958
pop ecx
push ebp
lea eax, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x1d4]
mov ecx, dword [0x42aba0]
mov edx, 0x411698
call fcn.00404354
mov eax, dword [ebp - 0x1d4]
mov ecx, 0x4116a8
test al, 0x16
inc ecx
add byte [edx - 0x72617ff], dh
invalid
call [ecx - 0x75]
test dword [eax], esi
invalid
invalid
invalid
mov edx, 0x4116b4
call fcn.00404454
je 0x411443
mov eax, esi
mov edx, 0x4116c0
call fcn.004040c0
push ebp
lea eax, [ebp - 0x1d8]
push eax
mov ecx, 0x41173c
mov dl, 1
mov eax, 0x411748
call fcn.00410958
pop ecx
mov eax, dword [ebp - 0x1d8]
mov edx, 0x4116b4
call fcn.00404454
je 0x411443
mov eax, esi
mov edx, 0x41175c
call fcn.004040c0
push ebp
lea eax, [ebp - 0x1dc]
push eax
mov ecx, 0x4117c0
mov dl, 1
mov eax, dword [0x42aba4]
call fcn.00410958
pop ecx
mov eax, dword [ebp - 0x1dc]
mov edx, 0x4116b4
call fcn.00404454
je 0x411443
lea eax, [ebp - 0x10]
mov edx, 0x4117cc
call fcn.00404104
mov eax, esi
mov edx, 0x411484
call fcn.004040c0
push ebp
lea eax, [ebp - 0x1e0]
push eax
push 0x4117dc
push dword [ebp - 0x10]
push dword [0x42aba8]
lea eax, [ebp - 0x1e4]
mov edx, 3
call fcn.004043c8
mov eax, dword [ebp - 0x1e4]
mov ecx, 0x4116a8
mov dl, 1
call fcn.00410958
pop ecx
mov eax, dword [ebp - 0x1e0]
mov edx, 0x4116b4
call fcn.00404454
je 0x411443
mov eax, esi
mov edx, 0x4117ec
call fcn.004040c0
push ebp
lea eax, [ebp - 0x1e8]
test dword [eax], ebx
invalid
invalid
call dword [eax - 0x73]
test dword [esi + edi*8], edx
invalid
dec dword [ebx + 0x42ab080d]
add byte [edx + 0x411818], bh
call fcn.00404354
mov eax, dword [ebp - 0x1ec]
mov ecx, 0x4116a8
mov dl, 1
call fcn.00410958
pop ecx
mov eax, esi
mov edx, 0x41182c
call fcn.004040c0
push ebp
lea eax, [ebp - 0x1f0]
push eax
lea eax, [ebp - 0x1f4]
mov ecx, dword [0x42ab10]
mov edx, 0x411818
call fcn.00404354
mov eax, dword [ebp - 0x1f4]
mov ecx, 0x4116a8
mov dl, 1
call fcn.00410958
pop ecx
mov eax, dword [ebp - 0x1f0]
mov edx, 0x4116b4
call fcn.00404454
je 0x411443
push ebp
lea eax, [ebp - 0x1f8]
push eax
mov ecx, 0x4118b8
mov dl, 1
mov eax, 0x4118c4
call fcn.00410958
pop ecx
mov eax, dword [ebp - 0x1f8]
mov edx, 0x4116b4
call fcn.00404454
je 0x411443
mov eax, esi
mov edx, 0x4118d4
call fcn.004040c0
push 0x411904
lea edx, [ebp - 0x1fc]
mov eax, 0x8f
call fcn.00406920
push dword [ebp - 0x1fc]
push 0x411650
push dword [0x42ab14]
push 0x411650
lea edx, [ebp - 0x200]
add dh, bh
invalid
dec dword [ebx + 0x35e8f845]
invalid
invalid
invalid
push dword [ebp - 0x200]
lea eax, [ebp - 0x10]
mov edx, 6
call fcn.004043c8
mov eax, dword [ebp - 0x10]
call fcn.00404308
mov dword [0x42ab6c], eax
mov dword [ebx], 1
mov eax, edi
mov edx, 0x4c
call fcn.00404638
mov eax, esi
mov edx, 0x411914
call fcn.004040c0