Function at 0x10062450
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0x170]
test eax, eax
je 0x1006249c
push ecx
push eax
mov ecx, edi
call fcn.10062df0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.1007aa10
mov esp, ebp
pop ebp
ret 4
mov esi, dword [edi + 0x124]
xor ebx, ebx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100624a7
mov eax, dword [ecx + 4]
sub esi, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
test esi, esi
jle 0x10062537
nop
mov eax, dword [edi + 0x12c]
lea ecx, [esp + 0x10]
push ecx
push 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], eax
push ecx
push 0
inc eax
mov dword [esp + 0x28], 1
push eax
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x10062619
test eax, eax
je 0x100625c9
lea eax, [esp + 0x18]
push eax
push dword [edi + 0x12c]
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x10062533
mov eax, dword [edi + 0x124]
push 0
push esi
add eax, ebx
push eax
push dword [edi + 0x12c]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x10062576
test eax, eax
je 0x10062576
sub esi, eax
add ebx, eax
test esi, esi
jg 0x100624c0
mov eax, dword [esp + 0x18]
xor ecx, ecx
test eax, eax
je 0x10062682
mov edx, dword [edi + 0x12c]
jmp 0x10062550
cmp dword [esp + ecx*4 + 0x1c], edx
je 0x10062666
inc ecx
cmp ecx, eax
jb 0x10062550
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.1007aa10
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esp + 0x18]
xor ecx, ecx
test edx, edx
je 0x1006269e
mov eax, dword [edi + 0x12c]
lea ebx, [ebx]
cmp dword [esp + ecx*4 + 0x1c], eax
je 0x100625a0
inc ecx
cmp ecx, edx
jb 0x10062590
jmp 0x1006269e
lea eax, [edx - 1]
cmp ecx, eax
jae 0x10062699
jmp 0x100625b0
mov eax, dword [esp + ecx*4 + 0x20]
mov dword [esp + ecx*4 + 0x1c], eax
inc ecx
mov edx, dword [esp + 0x18]
lea eax, [edx - 1]
cmp ecx, eax
jb 0x100625b0
jmp 0x10062699
mov edx, dword [esp + 0x18]
xor ecx, ecx
test edx, edx
je 0x100626ba
mov eax, dword [edi + 0x12c]
lea ecx, [ecx]
cmp dword [esp + ecx*4 + 0x1c], eax
je 0x100625f0
inc ecx
cmp ecx, edx
jb 0x100625e0
jmp 0x100626ba
lea eax, [edx - 1]
cmp ecx, eax
jae 0x100626b5
jmp 0x10062600
mov eax, dword [esp + ecx*4 + 0x20]
mov dword [esp + ecx*4 + 0x1c], eax
inc ecx
mov edx, dword [esp + 0x18]
lea eax, [edx - 1]
cmp ecx, eax
jb 0x10062600
jmp 0x100626b5
mov edx, dword [esp + 0x18]
xor ecx, ecx
test edx, edx
je 0x100626d6
mov eax, dword [edi + 0x12c]
lea ecx, [ecx]
cmp dword [esp + ecx*4 + 0x1c], eax
je 0x10062640
inc ecx
cmp ecx, edx
jb 0x10062630
jmp 0x100626d6
lea eax, [edx - 1]
cmp ecx, eax
jae 0x100626d1
jmp 0x10062650
mov eax, dword [esp + ecx*4 + 0x20]
mov dword [esp + ecx*4 + 0x1c], eax
inc ecx
mov edx, dword [esp + 0x18]
lea eax, [edx - 1]
cmp ecx, eax
jb 0x10062650
jmp 0x100626d1
dec eax
cmp ecx, eax
jae 0x10062682
jmp 0x10062670
mov eax, dword [esp + ecx*4 + 0x20]
mov dword [esp + ecx*4 + 0x1c], eax
inc ecx
mov eax, dword [esp + 0x18]
dec eax
cmp ecx, eax
jb 0x10062670
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1007aa10
mov esp, ebp
pop ebp
ret 4
dec edx
mov dword [esp + 0x18], edx
push 0x100c97d8
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x66
push eax
call fcn.100823fd
dec edx
mov dword [esp + 0x18], edx
push 0x100c97d8
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x192
push eax
call fcn.100823fd
dec edx
mov dword [esp + 0x18], edx
push 0x100c97d8
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x6d
push eax
call fcn.100823fd
int3