Function at 0x101c4de0
Capabilities:
Get socket status
Resolve function by parsing pe exports
Send data
Send data on socket

Disassembly:
sub esp, 0x168
mov eax, dword [esp + 0x170]
push ebx
push ebp
push esi
mov ebp, dword [eax]
mov ecx, dword [eax + 4]
test ebp, ebp
push edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], ebp
jg 0x101c4e0f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x168
ret
mov eax, dword [esp + 0x17c]
mov edx, dword [eax]
inc edx
mov ecx, edx
mov dword [eax], edx
cmp ecx, 0x270f
jle 0x101c4e2b
mov dword [eax], 0xa
mov edx, dword [eax]
lea eax, [esp + 0x2c]
push edx
push str.0000_d
push eax
call fcn.102774e3
lea esi, [esp + 0x38]
add esp, 0xc
xor edx, edx
sub esi, 4
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, esi
inc edx
cmp edx, 4
mov cl, byte [ecx + edx - 1]
mov byte [esp + edx + 0x17], cl
jl 0x101c4e49
lea edx, [esp + 0x18]
mov byte [esp + 0x1c], al
push edx
lea eax, [esp + 0x1c]
push ebp
push eax
lea ecx, [esp + 0x4c]
push str._Msg_s__ld__Msg_s_
push ecx
call fcn.102774e3
lea edi, [esp + 0x54]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
add ebx, ebp
push ebx
call fcn.102764e7
mov ebp, eax
lea edi, [esp + 0x58]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [esp + 0x58]
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x30]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x58]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
mov esi, dword [esp + 0x2c]
dec ecx
mov edi, ecx
mov ecx, dword [esp + 0x38]
mov eax, ecx
add edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], 0
push ecx
push ebx
push ebp
push edx
call fcn.101c5410
add esp, 0x28
test eax, eax
push ebp
jne 0x101c4f1d
call fcn.102763fe
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x168
ret
call fcn.102763fe
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x14], 0
mov esi, dword [eax + 4]
mov ebp, dword [eax]
mov edi, dword [eax + 8]
mov ebx, dword [esp + 0x17c]
mov ecx, 1
mov dword [esp + 0x74], ecx
mov dword [esp + 0x24], ecx
mov eax, dword [ebx + 0xc]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x78]
mov dword [esp + 0x7c], eax
push 0
push edx
inc eax
push 0
push eax
mov dword [esp + 0x3c], 0
call sub.WS2_32.dll_select
test eax, eax
jl 0x101c4fe1
jne 0x101c4f87
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 0x14
mov dword [esp + 0x14], eax
jg 0x101c4ffb
jmp 0x101c4f39
mov ecx, dword [ebx + 0xc]
lea eax, [esp + 0x74]
push eax
push ecx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x101c4f39
mov edx, dword [ebx + 0xc]
push 0
push esi
push ebp
push edx
mov dword [esp + 0x24], 0
call sub.WS2_32.dll_send
test eax, eax
jge 0x101c4fc3
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x101c5015
jmp 0x101c4f39
cmp eax, esi
jge 0x101c4fd0
sub esi, eax
add ebp, eax
jmp 0x101c4f39
test edi, edi
je 0x101c502f
mov esi, dword [edi + 4]
mov ebp, dword [edi]
mov edi, dword [edi + 8]
jmp 0x101c4f39
mov eax, dword [esp + 0x10]
push eax
call fcn.101c5530
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x168
ret
mov ecx, dword [esp + 0x10]
push ecx
call fcn.101c5530
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x168
ret
mov edx, dword [esp + 0x10]
push edx
call fcn.101c5530
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x168
ret
mov eax, dword [esp + 0x10]
push eax
call fcn.101c5530
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x168
ret