Function at 0x100e13a0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Convert ip address from string
Create tcp socket
Create udp socket
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014a365
mov eax, dword fs:[0]
push eax
sub esp, 0xa28
mov eax, dword [0x10174110]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xa28], edi
mov dword [ebp - 0xa28], edi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [ebp - 0x820], xmm0
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x818], 0
lea eax, [ebp - 0xa28]
mov byte [ebp - 4], 1
push eax
push 0
lea ecx, [ebp - 0x820]
mov dword [ebp - 0xa28], 0
call fcn.100ea330
mov ebx, dword [ebp - 0x818]
mov esi, dword [ebp - 0x81c]
mov dword [ebp - 0xa28], 0
cmp ebx, esi
je 0x100e1463
mov dword [esi], 0
add esi, 4
mov dword [ebp - 0x81c], esi
jmp 0x100e1482
lea eax, [ebp - 0xa28]
push eax
push esi
lea ecx, [ebp - 0x820]
call fcn.100ea330
mov ebx, dword [ebp - 0x818]
mov esi, dword [ebp - 0x81c]
mov dword [ebp - 0xa28], 0
cmp ebx, esi
je 0x100e14a1
mov dword [esi], 0
add esi, 4
mov dword [ebp - 0x81c], esi
jmp 0x100e14c0
lea eax, [ebp - 0xa28]
push eax
push esi
lea ecx, [ebp - 0x820]
call fcn.100ea330
mov ebx, dword [ebp - 0x818]
mov esi, dword [ebp - 0x81c]
mov dword [ebp - 0xa28], 0
cmp ebx, esi
je 0x100e14df
mov dword [esi], 0
add esi, 4
mov dword [ebp - 0x81c], esi
jmp 0x100e14fe
lea eax, [ebp - 0xa28]
push eax
push esi
lea ecx, [ebp - 0x820]
call fcn.100ea330
mov ebx, dword [ebp - 0x818]
mov esi, dword [ebp - 0x81c]
lea eax, [ebp - 0xa24]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x100e1545
mov eax, dword [ebp - 0x820]
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ebx
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x818], 0
jmp 0x100e18b5
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0xa28], eax
test eax, eax
js 0x100e1514
mov eax, 2
push 0x270e
mov word [ebp - 0x874], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x872], ax
lea eax, [ebp - 0x870]
push eax
push str.127.0.0.1
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x100e15a4
lea eax, [ebp - 0x820]
mov ecx, edi
push eax
call fcn.100e9a70
jmp 0x100e18b5
mov ebx, dword [ebp - 0xa28]
lea eax, [ebp - 0x874]
push 0x10
push eax
push ebx
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
js 0x100e1591
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x85c]
push 0
mov byte [ebp - 0x864], 0
call fcn.100551c0
sub esp, 0x10
mov byte [ebp - 4], 3
lea eax, [ebp + 8]
mov dword [ebp - 0xa28], esp
mov ecx, esp
push eax
call fcn.100e9df0
push str.data
lea ecx, [ebp - 0x864]
mov byte [ebp - 4], 4
call fcn.100e9cc0
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.10053740
push ecx
lea eax, [ebp - 0x838]
push eax
lea ecx, [ebp - 0x864]
call fcn.100534a0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x838]
cmp dword [ebp - 0x824], 0x10
push 0
push dword [ebp - 0x828]
cmovae eax, dword [ebp - 0x838]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_send]
push 0x800
lea eax, [ebp - 0x814]
push 0
push eax
call fcn.1011c670
add esp, 0xc
lea eax, [ebp - 0x814]
push 0
push 0x800
push eax
push ebx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x100e16c3
lea eax, [ebp - 0x820]
mov ecx, edi
push eax
call fcn.100e9a70
mov edx, dword [ebp - 0x824]
cmp edx, 0x10
jb 0x100e188f
mov ecx, dword [ebp - 0x838]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100e1885
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e18e6
jmp 0x100e1885
lea ecx, [ebp - 0x814]
mov dword [ebp - 0x840], 0
mov dword [ebp - 0x83c], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x850], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100e16e7
sub ecx, edx
lea eax, [ebp - 0x814]
push ecx
push eax
lea ecx, [ebp - 0x850]
call fcn.100352a0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x840], 0
jne 0x100e1778
lea eax, [ebp - 0x820]
mov ecx, edi
push eax
call fcn.100e9a70
mov edx, dword [ebp - 0x83c]
cmp edx, 0x10
jb 0x100e1758
mov ecx, dword [ebp - 0x850]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100e174e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e18eb
push edx
push ecx
call fcn.1011a4ac
add esp, 8
mov dword [ebp - 0x840], 0
mov dword [ebp - 0x83c], 0xf
mov byte [ebp - 0x850], 0
jmp 0x100e1686
sub esp, 0x28
lea edx, [ebp - 0x850]
mov eax, esp
lea ecx, [ebp - 0x894]
mov dword [eax + 0x24], 0
call fcn.100557d0
add esp, 0x28
push str.angles
lea ecx, [ebp - 0x894]
mov byte [ebp - 4], 7
call fcn.100e9cc0
push eax
lea ecx, [ebp - 0x884]
call fcn.10053780
lea eax, [ebp - 0xa34]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x884]
call fcn.100e9ea0
mov esi, eax
lea eax, [ebp - 0x820]
cmp eax, esi
je 0x100e180f
mov ecx, eax
call fcn.10034d20
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [ebp - 0x81c], eax
mov eax, dword [esi + 8]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x820], ecx
mov dword [ebp - 0x818], eax
mov dword [esi + 8], 0
lea ecx, [ebp - 0xa34]
call fcn.10034d20
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea eax, [ebp - 0x820]
mov ecx, edi
push eax
call fcn.100e9a70
lea ecx, [ebp - 0x884]
call fcn.10053610
lea ecx, [ebp - 0x894]
call fcn.10053610
mov edx, dword [ebp - 0x83c]
cmp edx, 0x10
jb 0x100e1758
mov ecx, dword [ebp - 0x850]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100e174e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100e174e
jmp 0x100e18e6
push edx
push ecx
call fcn.1011a4ac
add esp, 8
lea ecx, [ebp - 0x864]
mov dword [ebp - 0x828], 0
mov dword [ebp - 0x824], 0xf
mov byte [ebp - 0x838], 0
call fcn.10053610
lea ecx, [ebp - 0x820]
call fcn.10034d20
lea ecx, [ebp + 8]
call fcn.10037650
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10119ff7
mov esp, ebp
pop ebp
ret
call fcn.10121c8d
call fcn.10121c8d
int3