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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], 0xffffffff
cmp dword [0x449d8e], 0
je 0x430a9f
cmp dword [ebp + 0x18], 0x1fe
jg 0x430a9f
cmp dword [ebp + 0x10], 0
jne 0x430aa6
xor eax, eax
jmp 0x430ccb
cmp dword [ebp + 0x14], 0
je 0x430ada
mov dword [ebp - 8], 0
jmp 0x430ac7
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x14]
add eax, 4
mov dword [ebp + 0x14], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0x18]
jge 0x430ada
mov edx, dword [ebp + 0x14]
mov dword [edx], 0x8000
jmp 0x430ab5
mov eax, dword [0x449dde]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x430aef
xor eax, eax
jmp 0x430ccb
mov ecx, dword [0x449d92]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x430b94
mov dword [ebp - 8], 0
jmp 0x430b1b
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x18]
jge 0x430b87
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov dword [edx + ecx*4], 0x8000
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + eax*4 + 0x7f8], 1
push 0
mov edx, dword [ebp - 8]
imul edx, edx, 0xd
mov eax, dword [ebp - 0x14]
add eax, edx
push eax
call fcn.00432510
add esp, 8
test eax, eax
jne 0x430b6d
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 8]
mov dword [ecx], edx
mov eax, 0xfffffff7
jmp 0x430ccb
mov eax, dword [ebp - 8]
imul eax, eax, 0xd
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x10]
mov al, byte [edx + eax]
mov byte [ecx + 0xfe2c], al
jmp 0x430b12
mov ecx, dword [0x449d92]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp + 0xc]
mov ax, word [edx]
add ax, 1
mov ecx, dword [ebp + 0xc]
mov word [ecx], ax
push 0x44a1a0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x20
push 0
mov edx, dword [0x449d8e]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [0x449d8e]
mov ecx, dword [0x449d7c]
mov dword [eax], ecx
mov edx, dword [0x449d8e]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [0x449d8e]
mov dx, word [ebp + 0x18]
mov word [ecx + 8], dx
mov eax, dword [0x449d8e]
mov ecx, dword [ebp + 0xc]
mov dx, word [ecx]
mov word [eax + 0xa], dx
mov eax, dword [ebp + 0x18]
imul eax, eax, 0xd
add eax, 0x20
mov ecx, dword [0x449d8e]
mov word [ecx + 0xc], ax
mov edx, dword [ebp + 0x18]
imul edx, edx, 0xd
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [0x449d8e]
add ecx, 0x20
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0x7a120
mov dword [ebp - 0x118], 0
cmp dword [ebp - 0x118], 0x40
jae 0x430c71
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [ebp + edx*4 - 0x114], ecx
mov edx, dword [ebp - 0x118]
add edx, 1
mov dword [ebp - 0x118], edx
xor eax, eax
test eax, eax
jne 0x430c46
lea ecx, [ebp - 0x120]
push ecx
push 0
lea edx, [ebp - 0x118]
push edx
push 0
push 0
call sub.WSOCK32.dll_select
push 0
mov eax, dword [0x449d8e]
xor ecx, ecx
mov cx, word [eax + 0xc]
push ecx
mov edx, dword [0x449d8e]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call sub.WSOCK32.dll_send
push 0x44a1a0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [0x449de2], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret