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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b8389
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x61f138]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov esi, dword [ebp + 8]
test esi, esi
jle 0x46729a
push 0
push esi
push edi
push ebx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x467072
add edi, eax
sub esi, eax
jmp 0x467055
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x467205
lea eax, [ebp - 0x134]
mov dword [ebp - 0x128], ebx
push eax
push 0
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 1
push eax
push 0
lea eax, [ebx + 1]
mov dword [ebp - 0x134], 0x1e
push eax
mov dword [ebp - 0x130], 0
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jg 0x467055
jne 0x467169
sub esp, 8
lea ecx, [ebp - 0x1e4]
call fcn.00443510
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x1d4]
push dword [sym.imp.WS2_32.dll_socket]
mov edx, str.Socket_select:_send_time_limit_expired_
call fcn.00449a40
mov ecx, eax
call fcn.00443c10
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1e4]
call fcn.004433d0
push 0x73
mov edx, str.messagechannel.cpp
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.004c2da0
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 0x10
jb 0x467157
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46714d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4672bb
push edx
push ecx
call fcn.0056eec5
add esp, 8
lea ecx, [ebp - 0x1e4]
call fcn.0043aef0
xor eax, eax
jmp 0x46729f
sub esp, 8
lea ecx, [ebp - 0x294]
call fcn.00443510
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x284]
push dword [sym.imp.WS2_32.dll_socket]
mov edx, str.Socket_select:_Error_waiting_for_time_limit_
call fcn.00449a40
mov ecx, eax
call fcn.00443c10
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x294]
call fcn.004433d0
push 0x77
mov edx, str.messagechannel.cpp
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.004c2da0
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 0x10
jb 0x4671f3
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4671e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4672c0
push edx
push ecx
call fcn.0056eec5
add esp, 8
lea ecx, [ebp - 0x294]
call fcn.0043aef0
xor eax, eax
jmp 0x46729f
sub esp, 8
lea ecx, [ebp - 0x1e4]
call fcn.00443510
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1d4]
push dword [sym.imp.WS2_32.dll_socket]
mov edx, str.Error_sending_non_blocking_data
call fcn.00449a40
mov ecx, eax
call fcn.00443c10
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1e4]
call fcn.004433d0
push 0x63
mov edx, str.messagechannel.cpp
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.004c2da0
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 0x10
jb 0x46728b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x467281
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4672c5
push edx
push ecx
call fcn.0056eec5
add esp, 8
lea ecx, [ebp - 0x1e4]
call fcn.0043aef0
xor eax, eax
jmp 0x46729f
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056eeb4
mov esp, ebp
pop ebp
ret
call fcn.00591dc6
call fcn.00591dc6
call fcn.00591dc6
int3