Function at 0x100103b7
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create thread
Create udp socket
Initialize winsock library

Disassembly:
jae 0x100103b5
jmp 0x100103b0
call fcn.100103b7
jae 0x100103b0
add esp, 4
jmp 0x100103bc
dec dword [esp]
jno 0x100103c1
jns 0x100103ac
jp 0x100103c5
add esp, 4
popf
jmp 0x100103cc
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
clc
jae 0x100103e5
sub dword [eax + 0x74], ebx
add esi, dword [ebp + 1]
je 0x100103ea
jne 0x100103ea
call 0x1fc1373e
wait
rcl byte [edx + 0x33], 0xd0
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
xor eax, eax
test eax, eax
je 0x10010404
jne 0x10010403
call 0x9304f48b
rol byte [ebx + eax*4], 0xf0
add eax, 0x87d83
xor eax, 3
add eax, 4
xor eax, 5
cmp dword [ebp + 8], 0
je 0x1001042e
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1d4]
add ecx, 0xc02d
push ecx
call fcn.10010c60
add esp, 8
jmp 0x10010444
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 0x1d4]
mov byte [ecx + eax + 0xc02d], 0
mov edx, dword [ebp - 0x1d4]
mov ax, word [ebp + 0xc]
mov word [edx + 0xc132], ax
lea ecx, [ebp - 0x1d0]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x10010472
xor al, al
jmp 0x1001069b
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edx, dword [ebp - 0x1d4]
mov dword [edx + 0xc134], eax
mov eax, dword [ebp - 0x1d4]
cmp dword [eax + 0xc134], 0xffffffff
jne 0x100104a0
xor al, al
jmp 0x1001069b
mov ecx, 2
mov word [ebp - 0x14], cx
mov edx, dword [ebp - 0x1d4]
add edx, 0xc02d
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1d4]
movzx ecx, word [eax + 0xc132]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
mov edx, dword [ebp - 0x1d4]
mov byte [edx + 0xc02c], 1
push 0x10
mov eax, dword [ebp - 0x1d4]
mov ecx, dword [eax + 0xc004]
push ecx
mov edx, dword [ebp - 0x1d4]
mov eax, dword [edx + 0xc134]
push eax
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
mov dword [ebp - 0x1d8], eax
cmp dword [ebp - 0x1d8], 0xffffffff
jne 0x10010529
mov ecx, dword [ebp - 0x1d4]
mov byte [ecx + 0xc02c], 0
xor al, al
jmp 0x1001069b
push 0x10
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x1d4]
mov ecx, dword [eax + 0xc134]
push ecx
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 0x1dc], eax
cmp dword [ebp - 0x1dc], 0xffffffff
jne 0x10010577
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x10010577
mov edx, dword [ebp - 0x1d4]
mov byte [edx + 0xc02c], 0
xor al, al
jmp 0x1001069b
push 0x9c4
mov eax, dword [ebp - 0x1d4]
mov ecx, dword [eax + 0xc004]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x1e0], eax
cmp dword [ebp - 0x1e0], 0
je 0x100105b0
mov ecx, dword [ebp - 0x1d4]
call fcn.100106b0
xor al, al
jmp 0x1001069b
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x1d4]
mov ecx, dword [eax + 0xc004]
push ecx
mov edx, dword [ebp - 0x1d4]
mov eax, dword [edx + 0xc134]
push eax
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
mov dword [ebp - 0x1e4], eax
cmp dword [ebp - 0x1e4], 0
jne 0x1001060e
mov ecx, dword [ebp - 0x40]
and ecx, 0x10
je 0x1001060e
mov edx, 4
shl edx, 2
cmp dword [ebp + edx - 0x3c], 0
je 0x1001060e
mov eax, dword [ebp - 0x1d4]
mov byte [eax + 0xc02c], 0
xor al, al
jmp 0x1001069b
push 0x21
mov ecx, dword [ebp - 0x1d4]
mov edx, dword [ecx + 0xc004]
push edx
mov eax, dword [ebp - 0x1d4]
mov ecx, dword [eax + 0xc134]
push ecx
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
mov dword [ebp - 0x1e8], eax
cmp dword [ebp - 0x1e8], 0xffffffff
jne 0x10010650
mov edx, dword [ebp - 0x1d4]
mov byte [edx + 0xc02c], 0
xor al, al
jmp 0x1001069b
push 0
push 0
mov eax, dword [ebp - 0x1d4]
push eax
push 0x10010810
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x1d4]
mov dword [ecx + 0xc028], eax
mov edx, dword [ebp - 0x1d4]
cmp dword [edx + 0xc028], 0
jne 0x10010694
mov ecx, dword [ebp - 0x1d4]
call fcn.100106b0
xor al, al
jmp 0x1001069b
clc
jae 0x10010699
and dword [ebp - 0x50], ecx
add dword [edi + 0x5e], ebx
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007143a
mov esp, ebp
pop ebp
ret 8