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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x5ca1c0]
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 0x42bc7c
mov ecx, dword [eax]
mov eax, dword [0x5dc05c]
cmp eax, dword [ecx + 4]
jle 0x42bc71
push 0x5dc05c
call fcn.0052459e
add esp, 4
cmp dword [0x5dc05c], 0xffffffff
jne 0x42bc71
push 0x56a9d0
call fcn.00524a42
add esp, 4
push 0x5dc05c
call fcn.0052454d
add esp, 4
mov dword [esi], 0x2719
jmp 0x42bed4
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 [0x5dc05c]
mov dword [ebp - 0x120], eax
cmp ecx, dword [ebx + 4]
jle 0x42bcf0
push 0x5dc05c
call fcn.0052459e
add esp, 4
lea edi, [esi + 4]
cmp dword [0x5dc05c], 0xffffffff
jne 0x42bcf0
push 0x56a9d0
call fcn.00524a42
add esp, 4
push 0x5dc05c
call fcn.0052454d
add esp, 4
lea edi, [esi + 4]
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi], eax
mov dword [esi + 4], 0x5caca8
cmp eax, 0x40
jne 0x42bd49
mov eax, dword [0x5dc05c]
cmp eax, dword [ebx + 4]
jle 0x42bd41
push 0x5dc05c
call fcn.0052459e
add esp, 4
cmp dword [0x5dc05c], 0xffffffff
jne 0x42bd41
push 0x56a9d0
call fcn.00524a42
add esp, 4
push 0x5dc05c
call fcn.0052454d
add esp, 4
mov dword [esi], 0x2746
jmp 0x42bd93
cmp eax, 0x4d2
jne 0x42bd9d
mov eax, dword [0x5dc05c]
cmp eax, dword [ebx + 4]
jle 0x42bd8d
push 0x5dc05c
call fcn.0052459e
add esp, 4
cmp dword [0x5dc05c], 0xffffffff
jne 0x42bd8d
push 0x56a9d0
call fcn.00524a42
add esp, 4
push 0x5dc05c
call fcn.0052454d
add esp, 4
mov dword [esi], 0x274d
lea edi, [esi + 4]
mov dword [esi + 4], 0x5caca8
cmp dword [ebp - 0x120], 0
jne 0x42bdb7
mov eax, dword [ebp - 8]
mov dword [esi], 0
test eax, eax
jns 0x42bedd
test byte [ebp - 0x111], 1
jne 0x42bedb
mov eax, dword [0x5dc05c]
cmp eax, dword [ebx + 4]
jle 0x42be01
push 0x5dc05c
call fcn.0052459e
add esp, 4
cmp dword [0x5dc05c], 0xffffffff
jne 0x42be01
push 0x56a9d0
call fcn.00524a42
add esp, 4
push 0x5dc05c
call fcn.0052454d
add esp, 4
mov eax, dword [edi]
mov eax, dword [eax + 4]
cmp eax, dword [0x5cacac]
jne 0x42be16
cmp dword [esi], 0x2733
je 0x42be49
push 0x4d5
lea ecx, [ebp - 0x12c]
call fcn.00433520
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x128]
cmp ecx, dword [eax + 4]
jne 0x42bedb
mov eax, dword [esi]
cmp eax, dword [ebp - 0x12c]
jne 0x42bedb
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 0x42be8f
mov ecx, dword [ebp - 0x118]
mov edx, dword [ebp - 0x124]
mov dword [esi], 0
jmp 0x42bc81
mov eax, dword [0x5dc05c]
cmp eax, dword [ebx + 4]
jle 0x42becc
push 0x5dc05c
call fcn.0052459e
add esp, 4
cmp dword [0x5dc05c], 0xffffffff
jne 0x42becc
push 0x56a9d0
call fcn.00524a42
add esp, 4
push 0x5dc05c
call fcn.0052454d
add esp, 4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi], eax
mov dword [esi + 4], 0x5caca8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052450f
mov esp, ebp
pop ebp
ret