Function at 0x469840
Capabilities:
Get socket status
Print debug messages
Send data
Send data on socket

Disassembly:
sub esp, 0x110
push edi
mov edi, ecx
mov eax, dword [edi + 0x170]
test eax, eax
je 0x46986a
push dword [esp + 0x118]
push eax
call fcn.00469af0
pop edi
add esp, 0x110
ret 4
mov ecx, dword [edi + 0x118]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
lea edx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x469880
mov eax, dword [esp + 0x120]
sub esi, edx
mov dword [esp + 0x14], ebx
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x469a6f
push ebp
test esi, esi
jle 0x46992a
mov ebp, dword [sym.imp.WS2_32.dll_send]
mov eax, dword [edi + 0x120]
lea ecx, [esp + 0x14]
push ecx
push 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], eax
push ecx
push 0
inc eax
mov dword [esp + 0x2c], 1
push eax
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x4699fa
test eax, eax
je 0x4699aa
lea eax, [esp + 0x1c]
push eax
push dword [edi + 0x120]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x469920
mov eax, dword [edi + 0x118]
push 0
push esi
add eax, ebx
push eax
push dword [edi + 0x120]
call ebp
cmp eax, 0xffffffff
je 0x469961
test eax, eax
je 0x469961
sub esi, eax
add ebx, eax
test esi, esi
jg 0x4698b2
mov ecx, dword [edi + 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esp + 0x1c]
xor ecx, ecx
test eax, eax
je 0x469a62
mov edx, dword [edi + 0x120]
cmp dword [esp + ecx*4 + 0x20], edx
je 0x469a4a
inc ecx
cmp ecx, eax
jb 0x469945
pop ebp
pop esi
pop ebx
pop edi
add esp, 0x110
ret 4
mov edx, dword [esp + 0x1c]
xor ecx, ecx
test edx, edx
je 0x469a91
mov eax, dword [edi + 0x120]
cmp dword [esp + ecx*4 + 0x20], eax
je 0x469985
inc ecx
cmp ecx, edx
jb 0x469975
jmp 0x469a91
lea eax, [edx - 1]
cmp ecx, eax
jae 0x469a8c
mov eax, dword [esp + ecx*4 + 0x24]
mov dword [esp + ecx*4 + 0x20], eax
inc ecx
mov edx, dword [esp + 0x1c]
lea eax, [edx - 1]
cmp ecx, eax
jae 0x469a8c
jmp 0x469990
mov edx, dword [esp + 0x1c]
xor ecx, ecx
test edx, edx
je 0x469ab0
mov eax, dword [edi + 0x120]
nop
cmp dword [esp + ecx*4 + 0x20], eax
je 0x4699d0
inc ecx
cmp ecx, edx
jb 0x4699c0
jmp 0x469ab0
lea eax, [edx - 1]
cmp ecx, eax
jae 0x469aab
nop dword [eax + eax]
mov eax, dword [esp + ecx*4 + 0x24]
mov dword [esp + ecx*4 + 0x20], eax
inc ecx
mov edx, dword [esp + 0x1c]
lea eax, [edx - 1]
cmp ecx, eax
jae 0x469aab
jmp 0x4699e0
mov edx, dword [esp + 0x1c]
xor ecx, ecx
test edx, edx
je 0x469ad2
mov eax, dword [edi + 0x120]
nop
cmp dword [esp + ecx*4 + 0x20], eax
je 0x469a20
inc ecx
cmp ecx, edx
jb 0x469a10
jmp 0x469ad2
lea eax, [edx - 1]
cmp ecx, eax
jae 0x469acd
nop dword [eax + eax]
mov eax, dword [esp + ecx*4 + 0x24]
mov dword [esp + ecx*4 + 0x20], eax
inc ecx
mov edx, dword [esp + 0x1c]
lea eax, [edx - 1]
cmp ecx, eax
jae 0x469acd
jmp 0x469a30
dec eax
cmp ecx, eax
jae 0x469a62
nop
mov eax, dword [esp + ecx*4 + 0x24]
mov dword [esp + ecx*4 + 0x20], eax
inc ecx
mov eax, dword [esp + 0x1c]
dec eax
cmp ecx, eax
jb 0x469a50
pop ebp
pop esi
pop ebx
pop edi
add esp, 0x110
ret 4
push 0x19b
lea ecx, [esp + 0x10]
call fcn.00463e00
push 0x67c874
lea eax, [esp + 0x10]
push eax
call fcn.005cb59c
dec edx
mov dword [esp + 0x1c], edx
push 0x66
lea ecx, [esp + 0x14]
call fcn.00463e00
push 0x67c874
lea eax, [esp + 0x14]
push eax
call fcn.005cb59c
dec edx
mov dword [esp + 0x1c], edx
push 0x192
lea ecx, [esp + 0x14]
call fcn.00463e00
push 0x67c874
lea eax, [esp + 0x14]
push eax
call fcn.005cb59c
dec edx
mov dword [esp + 0x1c], edx
push 0x6d
lea ecx, [esp + 0x14]
call fcn.00463e00
push 0x67c874
lea eax, [esp + 0x14]
push eax
call fcn.005cb59c
int3