Function at 0x10010b00
Capabilities:
Connect socket
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006d171
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x1008f180]
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 dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x54], esi
push 0x10
lea eax, [esi + 0x8c]
mov dword [ebp - 4], 0
push eax
push dword [esi + 0x34]
mov dword [ebp - 0x5c], esi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x10010e45
push 0x40
xor edi, edi
lea ecx, [ebp - 0x48]
xorps xmm0, xmm0
mov dword [ebp - 0x38], edi
push str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], edi
call fcn.10016bc0
push edi
push 0x10
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 3
push eax
push dword [esi + 0x34]
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.WS2_32.dll_recv]
cmp dword [sym.imp.WS2_32.dll_recv], edi
jbe 0x10010e8b
xorps xmm0, xmm0
mov dword [ebp - 0x7c], edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x78], edi
movups xmmword [ebp - 0x8c], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10010bb5
sub ecx, edx
lea eax, [ebp - 0x24]
push ecx
push eax
lea ecx, [ebp - 0x8c]
call fcn.10016bc0
mov byte [ebp - 4], 6
call fcn.10055355
cmp dword [ebp - 0x78], 0xf
lea esi, [ebp - 0x8c]
mov dword [ebp - 0x58], eax
cmova esi, dword [ebp - 0x8c]
mov dword [eax], 0
lea eax, [ebp - 0x4c]
push 0xa
push eax
push esi
call fcn.10055226
add esp, 0xc
mov dword [ebp - 0x50], eax
cmp esi, dword [ebp - 0x4c]
je 0x10010ee2
mov ecx, dword [ebp - 0x58]
cmp dword [ecx], 0x22
je 0x10010eec
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x10010c56
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10010c49
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010ef6
push ecx
push edx
call fcn.1004d752
mov eax, dword [ebp - 0x50]
add esp, 8
test eax, eax
jle 0x10010f4e
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
push eax
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x30], xmm0
call fcn.100110d0
mov esi, dword [ebp - 0x54]
mov byte [ebp - 4], 7
nop
mov edx, dword [ebp - 0x50]
cmp edi, edx
jge 0x10010ca7
mov ecx, dword [ebp - 0x30]
sub edx, edi
push 0
push edx
add ecx, edi
push ecx
push dword [esi + 0x34]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x10010efb
add edi, eax
jmp 0x10010c80
mov edx, dword [ebp - 0x30]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x60], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10010cc4
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.10016bc0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.10049f00
mov ecx, dword [ebp - 0x98]
test ecx, ecx
je 0x10010d43
mov edx, dword [ebp - 0x90]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10010d1b
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010f44
push edx
push ecx
call fcn.1004d752
add esp, 8
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x10010d77
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10010d6d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010f44
push ecx
push edx
call fcn.1004d752
add esp, 8
mov ecx, dword [ebp - 0x30]
mov word [esi + 0x24], 0x101
test ecx, ecx
je 0x10010dc6
mov edx, dword [ebp - 0x28]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10010da7
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010f49
push edx
push ecx
call fcn.1004d752
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x10010dfa
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10010df0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010f49
push ecx
push edx
call fcn.1004d752
add esp, 8
mov al, 1
jmp 0x10010e29
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.1004d713
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.100167c0
push eax
mov edx, 0x1007d468
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
call fcn.1000d470
add esp, 4
push eax
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 2
call fcn.100171c0
push 0x100880c0
lea eax, [ebp - 0xb0]
push eax
call fcn.1004eeb0
lea ecx, [esi + 0xc]
mov word [esi + 0x24], 0
call fcn.10011160
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea ecx, [ebp - 0x74]
call fcn.100167c0
push eax
mov edx, 0x1007d4f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa4]
call fcn.1000d470
add esp, 4
push eax
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 5
call fcn.100171c0
push 0x100880c0
lea eax, [ebp - 0xbc]
push eax
call fcn.1004eeb0
push str.invalid_stoi_argument
call fcn.1004aaa1
push str.stoi_argument_out_of_range
call fcn.1004aae1
call fcn.1005260f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea ecx, [ebp - 0x74]
call fcn.100167c0
push eax
mov edx, str.rchain
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xa4]
call fcn.1000d470
add esp, 4
push eax
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 9
call fcn.100171c0
push 0x100880c0
lea eax, [ebp - 0xc8]
push eax
call fcn.1004eeb0
call fcn.1005260f
call fcn.1005260f
mov esi, dword [ebp - 0x54]
lea ecx, [esi + 0xc]
mov word [esi + 0x24], 0
call fcn.10011160
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea ecx, [ebp - 0x74]
call fcn.100167c0
push eax
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0x15
call fcn.100171c0
push 0x100880c0
lea eax, [ebp - 0xd4]
push eax
call fcn.1004eeb0
int3