Function at 0x10098c10
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102eaaa5
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x104230a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb8], 0
lea ecx, [ebp - 0x50]
call fcn.10055100
mov dword [ebp - 4], 0
mov eax, dword [0x10434ab0]
and eax, 1
jne 0x10098c8c
mov ecx, dword [0x10434ab0]
or ecx, 1
mov dword [0x10434ab0], ecx
mov byte [ebp - 4], 1
mov ecx, 0x10434aac
call fcn.1009a450
push 0x102ee3e0
call fcn.100a9a0a
add esp, 4
mov byte [ebp - 4], 0
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x38]
call fcn.100550a0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.100a04e0
add esp, 8
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
call fcn.10055330
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0xbc], eax
lea ecx, [ebp - 0x80]
call fcn.10055650
cmp dword [ebp - 0xbc], 0
je 0x10098d02
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx + 0xc]
mov eax, dword [eax + edx]
mov ecx, dword [eax]
mov dword [ebp - 0xc4], ecx
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0x1c], edx
jmp 0x10098d3b
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x98]
push ecx
call fcn.100a04e0
add esp, 8
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
call fcn.10055330
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x98]
call fcn.10055650
mov edx, 2
mov word [ebp - 0x20], dx
movzx eax, word [ebp + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0
jne 0x10098dad
push 0x102f8524
mov ecx, dword [ebp + 8]
call fcn.100550a0
mov ecx, dword [ebp - 0xb8]
or ecx, 1
mov dword [ebp - 0xb8], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.10054ff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.10054ff0
mov eax, dword [ebp + 8]
jmp 0x10098e61
push 0x10
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0xb4]
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x10098e1b
mov ecx, dword [ebp - 0xb4]
push ecx
lea edx, [ebp - 0x68]
push edx
call fcn.100a31d0
add esp, 8
mov byte [ebp - 4], 3
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0xb0]
push ecx
call fcn.100a00c0
add esp, 8
mov dword [ebp - 0xcc], eax
mov edx, dword [ebp - 0xcc]
push edx
lea ecx, [ebp - 0x50]
call fcn.10094060
lea ecx, [ebp - 0xb0]
call fcn.10054ff0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
call fcn.10055650
mov eax, dword [ebp - 0xb4]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [ebp - 0x50]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10055030
mov edx, dword [ebp - 0xb8]
or edx, 1
mov dword [ebp - 0xb8], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.10054ff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.10054ff0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100a9f90
mov esp, ebp
pop ebp
ret