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

Disassembly:
sub esp, 0x228
mov eax, dword [0x101ce00c]
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
test eax, 0x4cc1
test ecx, ecx
test eax, eax
mov ecx, ecx
mov bh, bh
mov esi, esi
test edx, edx
test eax, 0x1f74
mov al, al
mov bh, bh
test cl, cl
mov ch, ch
test bl, bl
mov bl, bl
push edx
pop edx
mov dword [esp + 0x20], 0
test ebx, ebx
or eax, 0xffffffff
mov dword [esp + 0x1c], eax
test al, al
mov dword [esp + 0x14], eax
mov al, al
test esi, esi
je 0x100f37ec
mov ebp, dword [esp + 0x244]
test ebp, ebp
je 0x100f37ec
test ebx, ebx
je 0x100f37ec
mov dword [ebx], 0
mov bh, bh
mov dword [esp + 0x18], 4
test eax, 0x4e86
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 0x100f35a5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebx], eax
test al, al
mov dword [esp + 0x20], 1
test bh, bh
mov dword [esp + 0x1c], 0xffffffff
mov edx, edx
jmp 0x100f37fc
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 0x100f35f0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebx], eax
mov bh, bh
mov dword [esp + 0x20], 1
test cl, cl
mov dword [esp + 0x1c], 0xffffffff
test ah, ah
jmp 0x100f37fc
lea eax, [ebp + 4]
mov ebx, eax
and ebx, 0x1ff
neg ebx
sbb ebx, ebx
neg ebx
shr eax, 9
add ebx, eax
mov bh, bh
mov dword [esp + 0x24], 0
mov dh, dh
mov edi, esi
test edi, edi
mov eax, eax
test ebx, ebx
mov dword [esp + 0x28], 0
jle 0x100f37fc
jmp 0x100f3634
mov edi, dword [esp + 0x2c]
push 0x200
lea ecx, [esp + 0x38]
push 0
push ecx
call fcn.10118770
add esp, 0xc
cmp dword [esp + 0x28], 0
jne 0x100f3694
mov ebx, ebx
cmp ebp, 0x1fc
mov esi, ebp
jb 0x100f3660
mov esi, 0x1fc
test eax, 0x6c94
mov edx, dword [esp + 0x244]
mov dword [esp + 0x34], edx
push edx
pop edx
push esi
lea eax, [esp + 0x3c]
push edi
push eax
call fcn.10119900
add esp, 0xc
test edx, edx
add edi, esi
mov dword [esp + 0x2c], edi
push ebx
pop ebx
sub ebp, esi
mov al, al
add esi, 4
jmp 0x100f36c4
mov edi, edi
cmp ebp, 0x200
mov esi, ebp
jl 0x100f36a5
mov esi, 0x200
test bh, bh
push esi
lea edx, [esp + 0x38]
push edi
push edx
call fcn.10119900
add esp, 0xc
test edi, edi
add edi, esi
mov dword [esp + 0x2c], edi
mov bl, bl
sub ebp, esi
test ecx, ecx
test ch, ch
lea edi, [esp + 0x34]
mov esi, esi
test esi, esi
jle 0x100f3725
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 0x100f373d
test eax, eax
je 0x100f37aa
cmp eax, esi
jne 0x100f36ff
add dword [esp + 0x24], eax
mov ecx, ecx
sub esi, eax
test edx, edx
jmp 0x100f3721
jg 0x100f37c0
cmp eax, esi
jge 0x100f37d6
add dword [esp + 0x24], eax
test eax, 0x4f8d
sub esi, eax
test eax, 0x3a3f
add edi, eax
push eax
pop eax
test esi, esi
jg 0x100f36d0
mov eax, dword [esp + 0x28]
add eax, 1
cmp eax, ebx
mov dword [esp + 0x28], eax
jl 0x100f3630
jmp 0x100f37fc
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esp + 0x30]
mov dword [ecx], eax
test dl, dl
mov eax, dword [ecx]
cmp eax, 0x2746
je 0x100f3794
cmp eax, 0x2745
je 0x100f3794
cmp eax, 0x274a
je 0x100f3794
cmp eax, 0x2744
je 0x100f3794
cmp eax, 0x274c
mov dword [esp + 0x20], 1
jne 0x100f3786
test cl, cl
mov dword [esp + 0x1c], 0xfffffffb
push edx
pop edx
jmp 0x100f37fc
test bh, bh
mov dword [esp + 0x1c], 0xffffffff
mov ch, ch
jmp 0x100f37fc
mov dword [esp + 0x20], 1
push ecx
pop ecx
mov dword [esp + 0x1c], 0xfffffffa
mov ebp, ebp
jmp 0x100f37fc
mov dword [esp + 0x20], 1
test dh, dh
mov dword [esp + 0x1c], 0
test dl, dl
jmp 0x100f37fc
mov dword [esp + 0x20], 1
mov edi, edi
mov dword [esp + 0x1c], 0xffffffff
test esi, esi
jmp 0x100f37fc
mov dword [esp + 0x20], 1
mov bh, bh
mov dword [esp + 0x1c], 0xffffffff
push eax
pop eax
jmp 0x100f37fc
mov dword [esp + 0x20], 1
test esi, esi
mov dword [esp + 0x1c], eax
test edx, edx
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
je 0x100f3868
mov dword [esp], eax
test ah, ah
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 0x100f3868
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
push ecx
pop ecx
test eax, 0x4049
mov dword [esp + 0xc], 0xffffffff
mov ebp, ebp
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.101180ca
add esp, 0x228
ret
cmp dword [esp + 0x10], 1
jne 0x100f3888
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.101180ca
add esp, 0x228
ret
test bh, bh
mov ecx, dword [esp + 0x224]
mov eax, dword [esp + 0x14]
xor ecx, esp
add eax, 0xfffffffc
call fcn.101180ca
add esp, 0x228
ret