Function at 0x100103d7
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 0x100103d5
jmp 0x100103d0
call fcn.100103d7
jae 0x100103d0
add esp, 4
jmp 0x100103dc
dec dword [esp]
jno 0x100103e1
jns 0x100103cc
jp 0x100103e5
add esp, 4
popf
jmp 0x100103ec
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
clc
jae 0x10010405
sub dword [eax + 0x74], ebx
add esi, dword [ebp + 1]
je 0x1001040a
jne 0x1001040a
call 0x1fc1375e
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 0x10010424
jne 0x10010423
call 0x9304f4ab
rol byte [ebx + eax*4], 0xf0
add eax, 0x87d83
xor eax, 3
add eax, 4
xor eax, 5
cmp dword [ebp + 8], 0
je 0x1001044e
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1d4]
add ecx, 0xc02d
push ecx
call fcn.10010c80
add esp, 8
jmp 0x10010464
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 0x10010492
xor al, al
jmp 0x100106bb
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 0x100104c0
xor al, al
jmp 0x100106bb
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 0x10010549
mov ecx, dword [ebp - 0x1d4]
mov byte [ecx + 0xc02c], 0
xor al, al
jmp 0x100106bb
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 0x10010597
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x10010597
mov edx, dword [ebp - 0x1d4]
mov byte [edx + 0xc02c], 0
xor al, al
jmp 0x100106bb
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 0x100105d0
mov ecx, dword [ebp - 0x1d4]
call fcn.100106d0
xor al, al
jmp 0x100106bb
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 0x1001062e
mov ecx, dword [ebp - 0x40]
and ecx, 0x10
je 0x1001062e
mov edx, 4
shl edx, 2
cmp dword [ebp + edx - 0x3c], 0
je 0x1001062e
mov eax, dword [ebp - 0x1d4]
mov byte [eax + 0xc02c], 0
xor al, al
jmp 0x100106bb
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 0x10010670
mov edx, dword [ebp - 0x1d4]
mov byte [edx + 0xc02c], 0
xor al, al
jmp 0x100106bb
push 0
push 0
mov eax, dword [ebp - 0x1d4]
push eax
push 0x10010830
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 0x100106b4
mov ecx, dword [ebp - 0x1d4]
call fcn.100106d0
xor al, al
jmp 0x100106bb
clc
jae 0x100106b9
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.10071030
mov esp, ebp
pop ebp
ret 8