Function at 0x100d0d90
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x100d2b40
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
xor ecx, ecx
mov eax, dword [ebx]
xor eax, 1
or eax, dword [ebx + 4]
jne 0x100d0e5b
mov eax, 0x3e8
mov ecx, dword [ebx + 8]
mul dword [ebx + 0xc]
mov esi, eax
seto byte [ebp - 0x1e]
xor eax, eax
mul ecx
mov edx, 0x3e8
mov edi, eax
mov eax, ecx
seto byte [ebp - 0x1d]
mov ecx, 0xffffffff
mul edx
add edi, esi
mov esi, edx
mov dword [ebp - 0x3c], eax
add esi, edi
setb al
or al, byte [ebp - 0x1d]
or al, byte [ebp - 0x1e]
jne 0x100d0e5b
mov edi, dword [ebx + 0x10]
mov ebx, dword [ebp - 0x3c]
mov edx, 0x431bde83
mov eax, edi
mul edx
shr edx, 0x12
add ebx, edx
adc esi, 0
jb 0x100d0e5b
imul eax, edx, 0xf4240
sub edi, eax
je 0x100d0e3e
add ebx, 1
adc esi, 0
setae al
movzx eax, al
jmp 0x100d0e43
mov eax, 1
cmp ebx, 0xffffffff
mov ecx, 0xffffffff
sbb esi, 0
cmovae ebx, ecx
test eax, eax
je 0x100d0e5b
test ebx, ebx
mov ecx, ebx
je 0x100d0ea9
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x2c]
mov edx, dword [edx]
push 4
push ecx
push eax
push 0xffff
push edx
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x100d0e85
mov ecx, dword [ebp + 8]
mov byte [ecx], 3
jmp 0x100d0e96
call sub.WS2_32.dll_WSAGetLastError
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov dword [ecx], 0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, ecx
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
push 1
push 0x1f
call fcn.100176f0
add esp, 8
test eax, eax
je 0x100d0fb9
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0x1f
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x38]
push 1
push 0x1f
push 0
call fcn.100c1ed0
add esp, 0xc
cmp dword [ebp - 0x2c], 1
je 0x100d0fc7
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x38]
movsd xmm0, qword [0x101850bb]
lea edx, [ecx + 0x1f]
mov dword [ebp - 0x30], edx
movsd qword [eax + ecx + 0x17], xmm0
movsd xmm0, qword [0x101850b4]
movsd qword [eax + ecx + 0x10], xmm0
movsd xmm0, qword [0x101850ac]
movsd qword [eax + ecx + 8], xmm0
movsd xmm0, qword [str.cannot_set_a_0_duration_timeoutconnection_timed_out]
movsd qword [eax + ecx], xmm0
mov eax, dword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x38]
movsd qword [ebp - 0x48], xmm0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x24], eax
movsd qword [ebp - 0x2c], xmm0
push 4
push 0xc
call fcn.100176f0
add esp, 8
test eax, eax
je 0x100d0fab
mov esi, eax
mov eax, dword [ebp - 0x24]
movsd xmm0, qword [ebp - 0x2c]
mov dword [esi + 8], eax
movsd qword [esi], xmm0
push 4
push 0xc
call fcn.100176f0
add esp, 8
test eax, eax
je 0x100d0fab
movzx ecx, word [ebp - 0x2c]
mov dword [eax], esi
mov dword [eax + 4], 0x101843c8
mov byte [eax + 8], 0xb
mov word [eax + 9], cx
mov cl, byte [ebp - 0x2a]
mov byte [eax + 0xb], cl
mov ecx, dword [ebp + 8]
mov dword [ecx], 2
mov dword [ecx + 4], eax
jmp 0x100d0e96
push 4
push 0xc
call fcn.100da490
add esp, 8
ud2
push 1
push 0x1f
call fcn.100da490
add esp, 8
ud2
cmp dword [ebp - 0x24], 0
jne 0x100d0fd4
call fcn.100da7a0
jmp 0x100d0fe8
push 0x10184050
push 0x28
push str.internal_error:_entered_unreachable_code_::core::macros::panic_macros_
call fcn.100df260
add esp, 0xc
ud2