Function at 0x410c1c
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 0x410c24
push ebx
push esi
push edi
mov dword [ebp - 8], eax
mov ebx, 0x42ab70
mov esi, 0x42ab00
mov edi, 0x42ab30
xor eax, eax
push ebp
push 0x4111e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, 0x411204
call fcn.004040c0
call fcn.00413968
cmp byte [0x429214], 0
jne 0x410c89
lea eax, [ebp - 0x1b4]
mov ecx, dword [0x42aba8]
mov edx, 0x4112a8
call fcn.00404354
mov eax, dword [ebp - 0x1b4]
call fcn.0041b548
mov byte [ebp - 9], 0
lea eax, [ebp - 0x1a0]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
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, edi
mov edx, 0x4112b8
call fcn.004040c0
mov eax, dword [0x42aba0]
call fcn.00404308
cmp eax, 5
jge 0x410d41
push 0x41134c
push dword [0x42ab9c]
push 0x411360
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.0041b548
jmp 0x4111c3
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 0x410daf
lea edx, [ebp - 0x1c8]
xor eax, eax
call fcn.0040780c
mov ecx, dword [ebp - 0x1c8]
lea eax, [ebp - 0x1c4]
mov edx, 0x41136c
call fcn.00404354
mov eax, dword [ebp - 0x1c4]
call fcn.0041b548
lea eax, [ebp - 4]
call fcn.004077fc
jmp 0x4111c3
mov eax, edi
mov edx, 0x41137c
call fcn.004040c0
push ebp
lea eax, [ebp - 0x1cc]
push eax
xor ecx, ecx
mov dl, 1
xor eax, eax
call fcn.004108b8
pop ecx
push ebp
lea eax, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x1d4]
mov ecx, dword [0x42aba0]
mov edx, 0x4113a8
call fcn.00404354
mov eax, dword [ebp - 0x1d4]
mov ecx, 0x4113b8
mov dl, 1
call fcn.004108b8
pop ecx
mov eax, dword [ebp - 0x1d0]
mov edx, 0x4113c4
call fcn.00404454
je 0x4111c3
push ebp
lea eax, [ebp - 0x1d8]
push eax
mov ecx, 0x4113d0
mov dl, 1
mov eax, 0x4113dc
call fcn.004108b8
pop ecx
mov eax, dword [ebp - 0x1d8]
mov edx, 0x4113c4
call fcn.00404454
je 0x4111c3
push ebp
lea eax, [ebp - 0x1dc]
push eax
mov ecx, 0x4113f0
mov dl, 1
mov eax, dword [0x42aba4]
call fcn.004108b8
pop ecx
mov eax, dword [ebp - 0x1dc]
mov edx, 0x4113c4
call fcn.00404454
je 0x4111c3
mov eax, edi
mov edx, 0x4113fc
call fcn.004040c0
lea eax, [ebp - 0x10]
mov edx, 0x4114b4
call fcn.00404104
push ebp
lea eax, [ebp - 0x1e0]
push eax
push 0x4114c4
push dword [ebp - 0x10]
push dword [0x42aba8]
lea eax, [ebp - 0x1e4]
mov edx, 3
call fcn.004043c8
mov eax, dword [ebp - 0x1e4]
mov ecx, 0x4113b8
mov dl, 1
call fcn.004108b8
pop ecx
mov eax, dword [ebp - 0x1e0]
mov edx, 0x4113c4
call fcn.00404454
je 0x4111c3
push ebp
lea eax, [ebp - 0x1e8]
push eax
lea eax, [ebp - 0x1ec]
mov ecx, dword [0x42ab08]
mov edx, 0x4114d4
call fcn.00404354
mov eax, dword [ebp - 0x1ec]
mov ecx, 0x4113b8
mov dl, 1
call fcn.004108b8
pop ecx
mov eax, edi
mov edx, 0x4114e8
call fcn.004040c0
push ebp
lea eax, [ebp - 0x1f0]
push eax
lea eax, [ebp - 0x1f4]
mov ecx, dword [0x42ab10]
mov edx, 0x4114d4
call fcn.00404354
mov eax, dword [ebp - 0x1f4]
mov ecx, 0x4113b8
mov dl, 1
call fcn.004108b8
pop ecx
mov eax, dword [ebp - 0x1f0]
mov edx, 0x4113c4
call fcn.00404454
je 0x4111c3
mov eax, edi
mov edx, 0x411598
call fcn.004040c0
push ebp
lea eax, [ebp - 0x1f8]
push eax
mov ecx, 0x4115f4
mov dl, 1
mov eax, 0x411600
call fcn.004108b8
pop ecx
mov eax, dword [ebp - 0x1f8]
mov edx, 0x4113c4
call fcn.00404454
je 0x4111c3
push 0x411610
lea edx, [ebp - 0x1fc]
mov eax, 0x8f
call fcn.00406920
push dword [ebp - 0x1fc]
push 0x411360
push dword [0x42ab14]
push 0x411360
lea edx, [ebp - 0x200]
mov eax, dword [ebp - 8]
call fcn.004104ec
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, 0x411620
call fcn.004040c0
mov eax, esi
mov edx, 0x4c
call fcn.00404638
mov eax, edi
mov edx, 0x411698
call fcn.004040c0
jmp 0x41105b
lea eax, [ebp - 0x10]
call fcn.00404560
mov edx, dword [ebx]
lea eax, [eax + edx - 1]
push eax
mov eax, esi
call fcn.00404560
mov ecx, 0x4c
pop edx
call fcn.0040610c
push ebp
lea eax, [ebp - 0x204]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [esi]
call fcn.004108b8
pop ecx
add dword [ebx], 0x4c
mov eax, dword [0x42ab6c]
sub eax, 0x4c
cmp eax, dword [ebx]
jge 0x411023
mov eax, edi
mov edx, 0x411768
call fcn.004040c0
mov eax, dword [0x42ab6c]
sub eax, dword [ebx]
inc eax
mov dword [0x42ab6c], eax
mov eax, edi
mov edx, 0x4117c8
call fcn.004040c0
mov eax, esi
mov edx, dword [0x42ab6c]
call fcn.00404638
mov eax, esi
call fcn.00404560
mov ecx, 0x2b
mov edx, dword [0x42ab6c]
call fcn.00402e70
lea eax, [ebp - 0x10]
call fcn.00404560
mov edx, dword [ebx]
lea eax, [eax + edx - 1]
push eax
mov eax, esi
call fcn.00404560
mov ecx, dword [0x42ab6c]
pop edx
call fcn.0040610c
push ebp
lea eax, [ebp - 0x208]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [esi]
call fcn.004108b8
pop ecx
push ebp
lea eax, [ebp - 0x20c]
push eax
mov ecx, 0x4113b8
mov dl, 1
mov eax, 0x411888
call fcn.004108b8
pop ecx
mov edx, dword [ebp - 0x20c]
lea eax, [ebp - 0x10]
call fcn.00404104
lea eax, [ebp - 0x10]
push eax
mov ecx, 3
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.00404568
push ebp
lea eax, [ebp - 0x210]
push eax
mov ecx, 0x4113b8
mov dl, 1
mov eax, 0x411894
call fcn.004108b8
pop ecx
mov eax, edi
mov edx, 0x4118a4
call fcn.004040c0
push ebp
lea eax, [ebp - 0x214]
push eax