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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x58b18c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov byte [ebp - 0x111], dl
mov edx, dword [ebp + 8]
mov dword [ebp - 0x11c], eax
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x124], edx
push ebx
push esi
mov esi, dword [ebp + 0x1c]
push edi
cmp ecx, 0xffffffff
jne 0x42a78c
mov ecx, dword [eax]
mov eax, dword [0x5989dc]
cmp eax, dword [ecx + 4]
jle 0x42a781
push 0x5989dc
call fcn.004f74f5
add esp, 4
cmp dword [0x5989dc], 0xffffffff
jne 0x42a781
push 0x532750
call fcn.004f7999
add esp, 4
push 0x5989dc
call fcn.004f74a4
add esp, 4
mov dword [esi], 0x2719
jmp 0x42a9e3
mov ebx, dword [eax]
lea edi, [esi + 4]
push 0
push 0
push dword [ebp + 0x18]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push dword [ebp - 0x11c]
push 0
push eax
push dword [ebp + 0xc]
push edx
push ecx
call dword [sym.imp.WS2_32.dll_WSASendTo]
mov ecx, dword [0x5989dc]
mov dword [ebp - 0x120], eax
cmp ecx, dword [ebx + 4]
jle 0x42a800
push 0x5989dc
call fcn.004f74f5
add esp, 4
lea edi, [esi + 4]
cmp dword [0x5989dc], 0xffffffff
jne 0x42a800
push 0x532750
call fcn.004f7999
add esp, 4
push 0x5989dc
call fcn.004f74a4
add esp, 4
lea edi, [esi + 4]
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi], eax
mov dword [esi + 4], 0x58bc28
cmp eax, 0x40
jne 0x42a859
mov eax, dword [0x5989dc]
cmp eax, dword [ebx + 4]
jle 0x42a851
push 0x5989dc
call fcn.004f74f5
add esp, 4
cmp dword [0x5989dc], 0xffffffff
jne 0x42a851
push 0x532750
call fcn.004f7999
add esp, 4
push 0x5989dc
call fcn.004f74a4
add esp, 4
mov dword [esi], 0x2746
jmp 0x42a8a3
cmp eax, 0x4d2
jne 0x42a8ad
mov eax, dword [0x5989dc]
cmp eax, dword [ebx + 4]
jle 0x42a89d
push 0x5989dc
call fcn.004f74f5
add esp, 4
cmp dword [0x5989dc], 0xffffffff
jne 0x42a89d
push 0x532750
call fcn.004f7999
add esp, 4
push 0x5989dc
call fcn.004f74a4
add esp, 4
mov dword [esi], 0x274d
lea edi, [esi + 4]
mov dword [esi + 4], 0x58bc28
cmp dword [ebp - 0x120], 0
jne 0x42a8c7
mov eax, dword [ebp - 8]
mov dword [esi], 0
test eax, eax
jns 0x42a9ec
test byte [ebp - 0x111], 1
jne 0x42a9ea
mov eax, dword [0x5989dc]
cmp eax, dword [ebx + 4]
jle 0x42a911
push 0x5989dc
call fcn.004f74f5
add esp, 4
cmp dword [0x5989dc], 0xffffffff
jne 0x42a911
push 0x532750
call fcn.004f7999
add esp, 4
push 0x5989dc
call fcn.004f74a4
add esp, 4
mov eax, dword [edi]
mov eax, dword [eax + 4]
cmp eax, dword [0x58bc2c]
jne 0x42a926
cmp dword [esi], 0x2733
je 0x42a958
push 0x4d5
lea ecx, [ebp - 0x12c]
call fcn.00430770
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x128]
cmp ecx, dword [eax + 4]
jne 0x42a9ea
mov eax, dword [esi]
cmp eax, dword [ebp - 0x12c]
jne 0x42a9ea
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x110]
push 0
push 0
push ecx
mov dword [ebp - 0x10c], eax
inc eax
push 0
push eax
mov dword [ebp - 0x110], 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
js 0x42a99e
mov ecx, dword [ebp - 0x118]
mov edx, dword [ebp - 0x124]
mov dword [esi], 0
jmp 0x42a791
mov eax, dword [0x5989dc]
cmp eax, dword [ebx + 4]
jle 0x42a9db
push 0x5989dc
call fcn.004f74f5
add esp, 4
cmp dword [0x5989dc], 0xffffffff
jne 0x42a9db
push 0x532750
call fcn.004f7999
add esp, 4
push 0x5989dc
call fcn.004f74a4
add esp, 4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi], eax
mov dword [esi + 4], 0x58bc28
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f7466
mov esp, ebp
pop ebp
ret