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

Disassembly:
sub esp, 0x228
mov eax, dword [0x101ce2ac]
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 ah, ah
mov dh, dh
push edx
pop edx
mov bh, bh
nop
mov al, al
mov bh, bh
test edi, edi
mov dl, dl
xchg ebx, eax
xchg ebx, eax
test eax, 0x33ab
mov ah, ah
test eax, 0x4550
mov bh, bh
mov edi, edi
mov dword [esp + 0x20], 0
mov eax, eax
or eax, 0xffffffff
mov dword [esp + 0x1c], eax
mov esi, esi
mov dword [esp + 0x14], eax
test dl, dl
test esi, esi
je 0x100f5a48
mov ebp, dword [esp + 0x244]
test ebp, ebp
je 0x100f5a48
test ebx, ebx
je 0x100f5a48
mov dword [ebx], 0
mov bl, bl
mov dword [esp + 0x18], 4
test eax, 0x6094
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 0x100f57f4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebx], eax
test ebx, ebx
mov dword [esp + 0x20], 1
mov dl, dl
mov dword [esp + 0x1c], 0xffffffff
test cl, cl
jmp 0x100f5a58
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 0x100f583f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebx], eax
test esi, esi
mov dword [esp + 0x20], 1
mov ah, ah
mov dword [esp + 0x1c], 0xffffffff
mov al, al
jmp 0x100f5a58
lea eax, [ebp + 4]
mov ebx, eax
and ebx, 0x1ff
neg ebx
sbb ebx, ebx
neg ebx
shr eax, 9
add ebx, eax
test ch, ch
mov dword [esp + 0x24], 0
test ch, ch
mov edi, esi
test eax, eax
mov al, al
test ebx, ebx
mov dword [esp + 0x28], 0
jle 0x100f5a58
jmp 0x100f5884
mov edi, dword [esp + 0x2c]
push 0x200
lea ecx, [esp + 0x38]
push 0
push ecx
call fcn.10117df0
add esp, 0xc
cmp dword [esp + 0x28], 0
jne 0x100f58e1
push ecx
pop ecx
cmp ebp, 0x1fc
mov esi, ebp
jb 0x100f58b0
mov esi, 0x1fc
mov al, al
mov edx, dword [esp + 0x244]
mov dword [esp + 0x34], edx
mov ch, ch
push esi
lea eax, [esp + 0x3c]
push edi
push eax
call fcn.10117a80
add esp, 0xc
test dl, dl
add edi, esi
mov dword [esp + 0x2c], edi
test edx, edx
sub ebp, esi
test ebx, ebx
add esi, 4
jmp 0x100f5914
push eax
pop eax
cmp ebp, 0x200
mov esi, ebp
jl 0x100f58f2
mov esi, 0x200
push ebx
pop ebx
push esi
lea edx, [esp + 0x38]
push edi
push edx
call fcn.10117a80
add esp, 0xc
test eax, 0x671e
add edi, esi
mov dword [esp + 0x2c], edi
test ebx, ebx
sub ebp, esi
xchg ebx, eax
xchg ebx, eax
push eax
pop eax
lea edi, [esp + 0x34]
test ecx, ecx
test esi, esi
jle 0x100f5975
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 0x100f598d
test eax, eax
je 0x100f5a00
cmp eax, esi
jne 0x100f5952
add dword [esp + 0x24], eax
test eax, 0x4e1f
sub esi, eax
test esi, esi
jmp 0x100f5971
jg 0x100f5a16
cmp eax, esi
jge 0x100f5a2c
add dword [esp + 0x24], eax
mov ah, ah
sub esi, eax
mov bh, bh
add edi, eax
test eax, 0x5c52
test esi, esi
jg 0x100f5920
mov eax, dword [esp + 0x28]
add eax, 1
cmp eax, ebx
mov dword [esp + 0x28], eax
jl 0x100f5880
jmp 0x100f5a58
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esp + 0x30]
mov dword [ecx], eax
mov ch, ch
mov eax, dword [ecx]
cmp eax, 0x2746
je 0x100f59e7
cmp eax, 0x2745
je 0x100f59e7
cmp eax, 0x274a
je 0x100f59e7
cmp eax, 0x2744
je 0x100f59e7
cmp eax, 0x274c
mov dword [esp + 0x20], 1
jne 0x100f59d9
test edx, edx
mov dword [esp + 0x1c], 0xfffffffb
test eax, 0x43b7
jmp 0x100f5a58
test cl, cl
mov dword [esp + 0x1c], 0xffffffff
test esi, esi
jmp 0x100f5a58
mov dword [esp + 0x20], 1
test esi, esi
mov dword [esp + 0x1c], 0xfffffffa
test eax, 0x7049
jmp 0x100f5a58
mov dword [esp + 0x20], 1
mov ebx, ebx
mov dword [esp + 0x1c], 0
mov eax, eax
jmp 0x100f5a58
mov dword [esp + 0x20], 1
mov ah, ah
mov dword [esp + 0x1c], 0xffffffff
mov ebx, ebx
jmp 0x100f5a58
mov dword [esp + 0x20], 1
test eax, 0x4167
mov dword [esp + 0x1c], 0xffffffff
test eax, 0x18b
jmp 0x100f5a58
mov dword [esp + 0x20], 1
mov bh, bh
mov dword [esp + 0x1c], eax
test esi, esi
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
je 0x100f5ac1
mov dword [esp], eax
test ecx, ecx
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 0x100f5ac1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
test ch, ch
mov cl, cl
mov dword [esp + 0xc], 0xffffffff
mov ecx, ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.10116cb9
add esp, 0x228
ret
cmp dword [esp + 0x10], 1
jne 0x100f5ae1
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.10116cb9
add esp, 0x228
ret
test esi, esi
mov ecx, dword [esp + 0x224]
mov eax, dword [esp + 0x14]
xor ecx, esp
add eax, 0xfffffffc
call fcn.10116cb9
add esp, 0x228
ret