Function at 0x100032cb
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov eax, 0x100322a0
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.10001269
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100032fc
push ebx
call fcn.10017677
add esp, 4
mov dword [ebp - 8], esp
mov eax, dword [0x10032d68]
test eax, eax
je 0x1000330b
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x10003332
push 0x2f
push 0x4023d70
push 6
call fcn.10017689
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x100033be
push 0x10032d94
push 4
mov eax, 2
call fcn.10017ad0
add esp, 8
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov dword [ebp - 8], eax
mov ebx, dword [0x10032d94]
mov dword [ebp - 0xc], ebx
call fcn.1000199d
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp - 0xc]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x1000338c
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x10]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0xc]
call fcn.1001767d
add esp, 8
mov dword [0x10032d94], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x10]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 8]
mov dword [edi], eax
jmp 0x10003511
cmp dword [ebp + 0xc], 1
jne 0x10003511
mov ebx, dword [0x10032d94]
call fcn.10001e69
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jle 0x100034be
mov ebx, dword [0x10032d94]
call fcn.1000199d
mov eax, 0
cmp eax, ecx
jl 0x1000340b
push 0x144
push 0x4023d70
push 1
call fcn.10017689
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov eax, dword [ebx]
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
push 0x10032d94
push 4
mov eax, 2
call fcn.10017ad0
add esp, 8
mov ebx, dword [0x10032d94]
mov dword [ebp - 0xc], ebx
call fcn.1000199d
mov dword [ebp - 0x10], ecx
sub ecx, 0
jle 0x100034b7
cmp ecx, 1
jle 0x10003455
mov ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jle 0x100034b7
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [edi], 1
add edi, 4
mov eax, ecx
sub eax, dword [ebp - 8]
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x10003483
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xc]
add edi, 8
mov eax, dword [ebp - 8]
shl eax, 2
mov esi, edi
add esi, eax
mov ecx, dword [ebp - 0x10]
sub ecx, 0
sub ecx, dword [ebp - 8]
rep movsd dword es:[edi], dword [esi]
sub edi, dword [ebp - 0xc]
push edi
push dword [ebp - 0xc]
call fcn.1001767d
add esp, 8
mov dword [0x10032d94], eax
mov eax, dword [ebp - 8]
jmp 0x100034b9
xor eax, eax
jmp 0x1000350a
mov dword [ebp - 8], esp
push 1
push 0
push 0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x10003505
push 0x1c6
push 0x4023d70
push 6
call fcn.10017689
add esp, 0xc
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov dword [ebp - 4], 1
mov dword [ebp - 8], esp
mov eax, dword [0x10032d68]
test eax, eax
je 0x10003520
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x10003547
push 0x246
push 0x4023d70
push 6
call fcn.10017689
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x1000354f
mov esp, ebp
pop ebp
ret 8