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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x55b18c]
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 0x4297dc
mov ecx, dword [eax]
mov eax, dword [0x56519c]
cmp eax, dword [ecx + 4]
jle 0x4297d1
push 0x56519c
call fcn.004d212f
add esp, 4
cmp dword [0x56519c], 0xffffffff
jne 0x4297d1
push 0x50a520
call fcn.004d25d3
add esp, 4
push 0x56519c
call fcn.004d20de
add esp, 4
mov dword [esi], 0x2719
jmp 0x429a33
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 [0x56519c]
mov dword [ebp - 0x120], eax
cmp ecx, dword [ebx + 4]
jle 0x429850
push 0x56519c
call fcn.004d212f
add esp, 4
lea edi, [esi + 4]
cmp dword [0x56519c], 0xffffffff
jne 0x429850
push 0x50a520
call fcn.004d25d3
add esp, 4
push 0x56519c
call fcn.004d20de
add esp, 4
lea edi, [esi + 4]
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi], eax
mov dword [esi + 4], 0x55bc28
cmp eax, 0x40
jne 0x4298a9
mov eax, dword [0x56519c]
cmp eax, dword [ebx + 4]
jle 0x4298a1
push 0x56519c
call fcn.004d212f
add esp, 4
cmp dword [0x56519c], 0xffffffff
jne 0x4298a1
push 0x50a520
call fcn.004d25d3
add esp, 4
push 0x56519c
call fcn.004d20de
add esp, 4
mov dword [esi], 0x2746
jmp 0x4298f3
cmp eax, 0x4d2
jne 0x4298fd
mov eax, dword [0x56519c]
cmp eax, dword [ebx + 4]
jle 0x4298ed
push 0x56519c
call fcn.004d212f
add esp, 4
cmp dword [0x56519c], 0xffffffff
jne 0x4298ed
push 0x50a520
call fcn.004d25d3
add esp, 4
push 0x56519c
call fcn.004d20de
add esp, 4
mov dword [esi], 0x274d
lea edi, [esi + 4]
mov dword [esi + 4], 0x55bc28
cmp dword [ebp - 0x120], 0
jne 0x429917
mov eax, dword [ebp - 8]
mov dword [esi], 0
test eax, eax
jns 0x429a3c
test byte [ebp - 0x111], 1
jne 0x429a3a
mov eax, dword [0x56519c]
cmp eax, dword [ebx + 4]
jle 0x429961
push 0x56519c
call fcn.004d212f
add esp, 4
cmp dword [0x56519c], 0xffffffff
jne 0x429961
push 0x50a520
call fcn.004d25d3
add esp, 4
push 0x56519c
call fcn.004d20de
add esp, 4
mov eax, dword [edi]
mov eax, dword [eax + 4]
cmp eax, dword [0x55bc2c]
jne 0x429976
cmp dword [esi], 0x2733
je 0x4299a8
push 0x4d5
lea ecx, [ebp - 0x12c]
call fcn.0042e140
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x128]
cmp ecx, dword [eax + 4]
jne 0x429a3a
mov eax, dword [esi]
cmp eax, dword [ebp - 0x12c]
jne 0x429a3a
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 0x4299ee
mov ecx, dword [ebp - 0x118]
mov edx, dword [ebp - 0x124]
mov dword [esi], 0
jmp 0x4297e1
mov eax, dword [0x56519c]
cmp eax, dword [ebx + 4]
jle 0x429a2b
push 0x56519c
call fcn.004d212f
add esp, 4
cmp dword [0x56519c], 0xffffffff
jne 0x429a2b
push 0x50a520
call fcn.004d25d3
add esp, 4
push 0x56519c
call fcn.004d20de
add esp, 4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi], eax
mov dword [esi + 4], 0x55bc28
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d20a0
mov esp, ebp
pop ebp
ret