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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc02c
call fcn.0063cb10
mov eax, dword [0x906648]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0xc020], ecx
xor ebx, ebx
mov ecx, dword [ebp + 0x14]
mov eax, dword [eax]
push esi
mov dword [ebp - 0xc024], ecx
xor esi, esi
xor ecx, ecx
mov eax, dword [eax + 0x60]
push edi
xor edi, edi
mov dword [ebp - 0xc018], eax
mov dword [ebp - 0x800c], edi
mov dword [ebp - 0x4008], esi
mov dword [ebp - 0xc010], ebx
mov dword [ebp - 0xc014], ecx
cmp dword [ebp + 0x10], ecx
jbe 0x5c1397
push ecx
push 0x3e8
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call fcn.0063c9c0
mov dword [ebp - 0xc01c], eax
mov dword [ebp - 0xc028], edx
xor ebx, ebx
xor ecx, ecx
test edi, edi
je 0x5c107f
mov eax, dword [ebp - 0xc018]
mov eax, dword [eax + 0x10]
cmp dword [ebp + ecx*4 - 0x8008], eax
je 0x5c107f
inc ecx
cmp ecx, edi
jb 0x5c1071
cmp ecx, edi
jne 0x5c10a3
cmp edi, 0x1000
mov edi, dword [ebp - 0xc018]
jae 0x5c10a9
mov eax, dword [edi + 0x10]
mov dword [ebp + ecx*4 - 0x8008], eax
inc dword [ebp - 0x800c]
jmp 0x5c10a9
mov edi, dword [ebp - 0xc018]
xor ecx, ecx
test esi, esi
je 0x5c10c0
mov eax, dword [edi + 0x10]
cmp dword [ebp + ecx*4 - 0x4004], eax
je 0x5c10c0
inc ecx
cmp ecx, esi
jb 0x5c10b2
cmp ecx, esi
jne 0x5c10dc
cmp esi, 0x1000
jae 0x5c10dc
mov eax, dword [edi + 0x10]
mov dword [ebp + ecx*4 - 0x4004], eax
inc dword [ebp - 0x4008]
mov eax, dword [ebp - 0xc01c]
mov dword [ebp - 0xc02c], eax
mov eax, dword [ebp + 0x18]
or eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc028], ebx
je 0x5c10fe
lea eax, [ebp - 0xc02c]
jmp 0x5c1100
xor eax, eax
push eax
lea eax, [ebp - 0x800c]
push eax
lea eax, [ebp - 0x4008]
push eax
lea eax, [ebp - 0xc010]
push eax
mov eax, dword [edi + 0x10]
inc eax
push eax
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
je 0x5c138c
cmp eax, 0xffffffff
jne 0x5c114d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.004f1a60
mov ebx, eax
add esp, 4
cmp ebx, 4
jne 0x5c1391
jmp 0x5c12ab
lea eax, [ebp - 0x800c]
push eax
push dword [edi + 0x10]
call sub.WS2_32.dll___WSAFDIsSet
mov ecx, dword [ebp - 0xc014]
test eax, eax
jne 0x5c1387
mov eax, dword [ebp + 0x10]
sub eax, ecx
mov dword [ebp - 0x800c], ebx
add ecx, dword [ebp - 0xc020]
mov dword [ebp - 0x4008], ebx
mov dword [ebp - 0xc010], ebx
mov edx, dword [edi + 0x9c]
test edx, edx
je 0x5c12cb
push eax
push ecx
push edx
call fcn.004ae090
mov esi, eax
add esp, 0xc
test esi, esi
jg case.0x5c11c2.0
push esi
push dword [edi + 0x9c]
call fcn.004b10a0
add esp, 8
cmp eax, 6
ja case.0x5c11c2.1
jmp dword [eax*4 + 0x5c13c0]
mov eax, dword [ebp - 0xc010]
xor ecx, ecx
test eax, eax
je 0x5c11ee
mov edx, dword [edi + 0x10]
nop dword [eax + eax]
cmp dword [ebp + ecx*4 - 0xc00c], edx
je 0x5c11ee
inc ecx
cmp ecx, eax
jb 0x5c11e0
cmp ecx, eax
jne 0x5c12ab
cmp eax, 0x1000
jae 0x5c12ab
mov eax, dword [edi + 0x10]
mov dword [ebp + ecx*4 - 0xc00c], eax
inc dword [ebp - 0xc010]
jmp 0x5c12ab
mov esi, dword [ebp - 0x4008]
xor ecx, ecx
test esi, esi
je 0x5c1233
mov eax, dword [edi + 0x10]
cmp dword [ebp + ecx*4 - 0x4004], eax
je 0x5c1233
inc ecx
cmp ecx, esi
jb 0x5c1225
cmp ecx, esi
jne 0x5c12b1
cmp esi, 0x1000
jae 0x5c12b1
mov eax, dword [edi + 0x10]
mov dword [ebp + ecx*4 - 0x4004], eax
mov esi, dword [ebp - 0x4008]
inc esi
mov dword [ebp - 0x4008], esi
jmp 0x5c12b1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0xb
je 0x5c1273
cmp eax, 4
je 0x5c1273
cmp eax, 0x2733
jne 0x5c12fb
test byte [0x9538a8], 0x10
je 0x5c12a1
push eax
push str.Write_over_SSL_error___d_._Retrying_n
push 0x599
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_common_bxr_bxr_ipsock.c
push str._bxr_ipsock_write
push dword [0x905228]
push 0x10
call fcn.004f21c0
add esp, 0x1c
xor esi, esi
add dword [ebp - 0xc014], esi
xor ebx, ebx
mov esi, dword [ebp - 0x4008]
mov ecx, dword [ebp - 0xc014]
cmp ecx, dword [ebp + 0x10]
jae 0x5c1397
mov edi, dword [ebp - 0x800c]
jmp 0x5c1060
push 0
push eax
push ecx
push dword [edi + 0x10]
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
cmp esi, 0xffffffff
jne case.0x5c11c2.0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.004f1a60
mov ebx, eax
add esp, 4
cmp ebx, 0xb
jne 0x5c1391
jmp 0x5c12ab
test byte [0x9538a8], 1
je 0x5c1329
push eax
push str.Write_over_SSL_error___d__n
push 0x5a0
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_common_bxr_bxr_ipsock.c
push str._bxr_ipsock_write
push dword [0x905228]
push 1
call fcn.004f21c0
add esp, 0x1c
push esi
push dword [edi + 0x9c]
call fcn.005c1f00
add esp, 8
or ebx, 0xffffffff
jmp 0x5c1391
test byte [0x9538a8], 1
je 0x5c136a
push str.Peer_shutdown_SSL_n
push 0x573
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_common_bxr_bxr_ipsock.c
push str._bxr_ipsock_write
push dword [0x905228]
push 1
call fcn.004f21c0
add esp, 0x18
mov ebx, 0x6c
jmp 0x5c1391
test byte [0x9538a8], 1
je 0x5c1329
push eax
push str.Failed_to_write_over_SSL___d__n
push 0x5a7
jmp 0x5c130f
or ebx, 0xffffffff
jmp 0x5c1397
mov ebx, 0x3e
mov ecx, dword [ebp - 0xc014]
mov edx, dword [ebp - 0xc024]
test edx, edx
je 0x5c13aa
xor eax, eax
test ebx, ebx
cmove eax, ecx
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0063c972
mov esp, ebp
pop ebp
ret