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

Disassembly:
sub esp, 0x228
mov eax, dword [0x101ce2f4]
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 ebp, ebp
mov dh, dh
mov ebx, ebx
mov cl, cl
mov eax, eax
mov ebx, ebx
mov bl, bl
mov ah, ah
push edx
pop edx
xchg ebx, eax
xchg ebx, eax
push ecx
pop ecx
mov dh, dh
test al, al
test eax, 0x7122
mov ebx, ebx
mov dword [esp + 0x20], 0
mov eax, eax
or eax, 0xffffffff
mov dword [esp + 0x1c], eax
test eax, 0x1967
mov dword [esp + 0x14], eax
test dl, dl
test esi, esi
je 0x100f5eff
mov ebp, dword [esp + 0x244]
test ebp, ebp
je 0x100f5eff
test ebx, ebx
je 0x100f5eff
mov dword [ebx], 0
mov edi, edi
mov dword [esp + 0x18], 4
nop
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 0x100f5cb1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebx], eax
test cl, cl
mov dword [esp + 0x20], 1
mov ecx, ecx
mov dword [esp + 0x1c], 0xffffffff
mov eax, eax
jmp 0x100f5f12
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 0x100f5cfc
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebx], eax
mov edi, edi
mov dword [esp + 0x20], 1
test ah, ah
mov dword [esp + 0x1c], 0xffffffff
push ebx
pop ebx
jmp 0x100f5f12
lea eax, [ebp + 4]
mov ebx, eax
and ebx, 0x1ff
neg ebx
sbb ebx, ebx
neg ebx
shr eax, 9
add ebx, eax
mov ah, ah
mov dword [esp + 0x24], 0
test ah, ah
mov edi, esi
test al, al
test dh, dh
test ebx, ebx
mov dword [esp + 0x28], 0
jle 0x100f5f12
jmp 0x100f5d44
mov edi, dword [esp + 0x2c]
push 0x200
lea ecx, [esp + 0x38]
push 0
push ecx
call fcn.101182b0
add esp, 0xc
cmp dword [esp + 0x28], 0
jne 0x100f5da7
test eax, 0x59a2
cmp ebp, 0x1fc
mov esi, ebp
jb 0x100f5d73
mov esi, 0x1fc
test eax, 0x6b11
mov edx, dword [esp + 0x244]
mov dword [esp + 0x34], edx
test dh, dh
push esi
lea eax, [esp + 0x3c]
push edi
push eax
call fcn.10117f40
add esp, 0xc
mov dh, dh
add edi, esi
mov dword [esp + 0x2c], edi
mov ecx, ecx
sub ebp, esi
mov ch, ch
add esi, 4
jmp 0x100f5dda
mov edi, edi
cmp ebp, 0x200
mov esi, ebp
jl 0x100f5db8
mov esi, 0x200
test al, al
push esi
lea edx, [esp + 0x38]
push edi
push edx
call fcn.10117f40
add esp, 0xc
test cl, cl
add edi, esi
mov dword [esp + 0x2c], edi
push ebx
pop ebx
sub ebp, esi
test eax, 0x2b76
test al, al
lea edi, [esp + 0x34]
push ecx
pop ecx
test esi, esi
jle 0x100f5e35
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 0x100f5e4d
test eax, eax
je 0x100f5ebd
cmp eax, esi
jne 0x100f5e15
add dword [esp + 0x24], eax
mov ebp, ebp
sub esi, eax
test eax, eax
jmp 0x100f5e31
jg 0x100f5ed3
cmp eax, esi
jge 0x100f5ee9
add dword [esp + 0x24], eax
test eax, eax
sub esi, eax
mov edi, edi
add edi, eax
mov ebp, ebp
test esi, esi
jg 0x100f5de6
mov eax, dword [esp + 0x28]
add eax, 1
cmp eax, ebx
mov dword [esp + 0x28], eax
jl 0x100f5d40
jmp 0x100f5f12
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esp + 0x30]
mov dword [ecx], eax
mov edx, edx
mov eax, dword [ecx]
cmp eax, 0x2746
je 0x100f5ea4
cmp eax, 0x2745
je 0x100f5ea4
cmp eax, 0x274a
je 0x100f5ea4
cmp eax, 0x2744
je 0x100f5ea4
cmp eax, 0x274c
mov dword [esp + 0x20], 1
jne 0x100f5e96
mov edi, edi
mov dword [esp + 0x1c], 0xfffffffb
test ecx, ecx
jmp 0x100f5f12
mov ebx, ebx
mov dword [esp + 0x1c], 0xffffffff
mov cl, cl
jmp 0x100f5f12
mov dword [esp + 0x20], 1
test eax, 0x7047
mov dword [esp + 0x1c], 0xfffffffa
push ecx
pop ecx
jmp 0x100f5f12
mov dword [esp + 0x20], 1
mov cl, cl
mov dword [esp + 0x1c], 0
test ch, ch
jmp 0x100f5f12
mov dword [esp + 0x20], 1
mov edi, edi
mov dword [esp + 0x1c], 0xffffffff
test ch, ch
jmp 0x100f5f12
mov dword [esp + 0x20], 1
test ecx, ecx
mov dword [esp + 0x1c], 0xffffffff
xchg ebx, eax
xchg ebx, eax
jmp 0x100f5f12
mov dword [esp + 0x20], 1
mov cl, cl
mov dword [esp + 0x1c], eax
test eax, 0x1018
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
je 0x100f5f81
mov dword [esp], eax
test eax, 0x2383
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 0x100f5f81
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
mov ah, ah
test eax, 0x2b06
mov dword [esp + 0xc], 0xffffffff
mov dh, dh
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.1011717a
add esp, 0x228
ret
cmp dword [esp + 0x10], 1
jne 0x100f5fa1
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.1011717a
add esp, 0x228
ret
mov esi, esi
mov ecx, dword [esp + 0x224]
mov eax, dword [esp + 0x14]
xor ecx, esp
add eax, 0xfffffffc
call fcn.1011717a
add esp, 0x228
ret