Function at 0x100e9ef0
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
sub esp, 0x228
mov eax, dword [0x101c52b4]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
mov ebx, dword [esp + 0x240]
push ebp
push esi
mov esi, dword [esp + 0x23c]
push edi
mov dword [esp + 0x30], ebx
mov ch, ch
push ebx
pop ebx
mov ah, ah
mov dl, dl
push eax
pop eax
xchg ebx, eax
xchg ebx, eax
push ecx
pop ecx
mov ch, ch
mov dl, dl
mov dh, dh
mov ebx, ebx
mov dl, dl
mov cl, cl
mov edi, edi
mov ecx, ecx
mov dword [esp + 0x20], 0
push eax
pop eax
or eax, 0xffffffff
mov dword [esp + 0x1c], eax
nop
mov dword [esp + 0x14], eax
mov cl, cl
test esi, esi
je 0x100ea206
mov ebp, dword [esp + 0x244]
test ebp, ebp
je 0x100ea206
test ebx, ebx
je 0x100ea206
mov dword [ebx], 0
push ecx
pop ecx
mov dword [esp + 0x18], 4
mov bh, bh
mov edi, dword [esp + 0x23c]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x1005
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
jne 0x100e9fcb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebx], eax
mov al, al
mov dword [esp + 0x20], 1
push eax
pop eax
mov dword [esp + 0x1c], 0xffffffff
mov dh, dh
jmp 0x100ea216
mov edx, dword [esp + 0x248]
push 4
lea eax, [esp + 0x14]
push eax
push 0x1005
push 0xffff
push edi
mov dword [esp + 0x24], edx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x100ea016
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebx], eax
mov eax, eax
mov dword [esp + 0x20], 1
mov edx, edx
mov dword [esp + 0x1c], 0xffffffff
push edx
pop edx
jmp 0x100ea216
lea eax, [ebp + 4]
mov ebx, eax
and ebx, 0x1ff
neg ebx
sbb ebx, ebx
neg ebx
shr eax, 9
add ebx, eax
mov dl, dl
mov dword [esp + 0x24], 0
push edx
pop edx
mov edi, esi
mov edi, edi
mov dh, dh
test ebx, ebx
mov dword [esp + 0x28], 0
jle 0x100ea216
jmp 0x100ea054
mov edi, dword [esp + 0x2c]
push 0x200
lea ecx, [esp + 0x38]
push 0
push ecx
call fcn.1010efd0
add esp, 0xc
cmp dword [esp + 0x28], 0
jne 0x100ea0b1
mov dl, dl
cmp ebp, 0x1fc
mov esi, ebp
jb 0x100ea080
mov esi, 0x1fc
mov ebx, ebx
mov edx, dword [esp + 0x244]
mov dword [esp + 0x34], edx
mov ah, ah
push esi
lea eax, [esp + 0x3c]
push edi
push eax
call fcn.101102f0
add esp, 0xc
push edx
pop edx
add edi, esi
mov dword [esp + 0x2c], edi
mov dl, dl
sub ebp, esi
push ebx
pop ebx
add esi, 4
jmp 0x100ea0e1
mov ecx, ecx
cmp ebp, 0x200
mov esi, ebp
jl 0x100ea0c2
mov esi, 0x200
push eax
pop eax
push esi
lea edx, [esp + 0x38]
push edi
push edx
call fcn.101102f0
add esp, 0xc
mov dh, dh
add edi, esi
mov dword [esp + 0x2c], edi
mov bl, bl
sub ebp, esi
push ecx
pop ecx
mov esi, esi
lea edi, [esp + 0x34]
push edx
pop edx
test esi, esi
jle 0x100ea13f
lea ecx, [ecx]
mov eax, dword [esp + 0x23c]
push 0
push esi
push edi
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x100ea157
test eax, eax
je 0x100ea1c4
cmp eax, esi
jne 0x100ea11f
add dword [esp + 0x24], eax
mov bl, bl
sub esi, eax
mov esi, esi
jmp 0x100ea13b
jg 0x100ea1da
cmp eax, esi
jge 0x100ea1f0
add dword [esp + 0x24], eax
mov esi, esi
sub esi, eax
mov esi, esi
add edi, eax
mov ch, ch
test esi, esi
jg 0x100ea0f0
mov eax, dword [esp + 0x28]
add eax, 1
cmp eax, ebx
mov dword [esp + 0x28], eax
jl 0x100ea050
jmp 0x100ea216
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esp + 0x30]
mov dword [ecx], eax
mov eax, eax
mov eax, dword [ecx]
cmp eax, 0x2746
je 0x100ea1ae
cmp eax, 0x2745
je 0x100ea1ae
cmp eax, 0x274a
je 0x100ea1ae
cmp eax, 0x2744
je 0x100ea1ae
cmp eax, 0x274c
mov dword [esp + 0x20], 1
jne 0x100ea1a0
mov ah, ah
mov dword [esp + 0x1c], 0xfffffffb
mov ch, ch
jmp 0x100ea216
mov ebp, ebp
mov dword [esp + 0x1c], 0xffffffff
mov ebx, ebx
jmp 0x100ea216
mov dword [esp + 0x20], 1
mov ebx, ebx
mov dword [esp + 0x1c], 0xfffffffa
xchg ebx, eax
xchg ebx, eax
jmp 0x100ea216
mov dword [esp + 0x20], 1
mov al, al
mov dword [esp + 0x1c], 0
mov edi, edi
jmp 0x100ea216
mov dword [esp + 0x20], 1
mov dl, dl
mov dword [esp + 0x1c], 0xffffffff
mov edx, edx
jmp 0x100ea216
mov dword [esp + 0x20], 1
push eax
pop eax
mov dword [esp + 0x1c], 0xffffffff
mov edx, edx
jmp 0x100ea216
mov dword [esp + 0x20], 1
push edx
pop edx
mov dword [esp + 0x1c], eax
push ebx
pop ebx
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
je 0x100ea27f
mov dword [esp], eax
mov ebp, ebp
mov edx, dword [esp + 0x22c]
push 4
lea ecx, [esp + 4]
push ecx
push 0x1005
push 0xffff
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x100ea27f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
mov edi, edi
push ecx
pop ecx
mov dword [esp + 0xc], 0xffffffff
mov ch, ch
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.1010e4d7
add esp, 0x228
ret
cmp dword [esp + 0x10], 1
jne 0x100ea29f
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.1010e4d7
add esp, 0x228
ret
push ebx
pop ebx
mov ecx, dword [esp + 0x224]
mov eax, dword [esp + 0x14]
xor ecx, esp
add eax, 0xfffffffc
call fcn.1010e4d7
add esp, 0x228
ret