Function at 0x14026c820
Capabilities:
Set socket configuration

Disassembly:
cmp edx, 0x11
je 0x14026c842
cmp edx, 0x13
je 0x14026c842
cmp edx, 0x15
je 0x14026c83d
cmp edx, 0x17
je 0x14026c842
cmp edx, 0x19
je 0x14026c842
or eax, 0xffffffff
ret
jmp 0x14026cf50
jmp 0x14026d710
sub rsp, 0x28
lea rcx, [rsp + 0x30]
call fcn.14026ce40
test eax, eax
je 0x14026cf6a
or eax, 0xffffffff
add rsp, 0x28
ret
mov qword [rsp + 0x20], rbx
call fcn.14026c020
lea rcx, [rsp + 0x38]
mov edx, eax
mov ebx, eax
call fcn.14026c060
mov rcx, qword [rsp + 0x38]
mov r11d, dword [rsp + 0x30]
mov dword [rcx + 0xc], r11d
mov rcx, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x20]
mov dword [rcx + 8], reloc.WS2_32.dll_setsockopt
mov rcx, qword [rsp + 0x38]
mov dword [rcx + 0x30], reloc.WS2_32.dll_setsockopt
mov rcx, qword [rsp + 0x38]
mov dword [rcx + 0x58], reloc.WS2_32.dll_setsockopt
add rsp, 0x28
ret
push rbx
push rbp
push rsi
push r12
push r14
sub rsp, 0x30
mov ebx, edx
movzx r12d, cx
mov r14d, reloc.WS2_32.dll_socket
cmp edx, 0x11
je 0x14026d76d
cmp edx, 0x13
je 0x14026d755
cmp edx, r14d
je 0x14026d76d
cmp edx, 0x19
je 0x14026d755
mov ecx, 0x102
call fcn.14026c090
or eax, 0xffffffff
add rsp, 0x30
pop r14
pop r12
pop rsi
pop rbp
pop rbx
ret
mov ebp, 2
mov edx, ebp
mov ecx, ebp
lea r8d, [rbp + 0xf]
call qword [sym.imp.WS2_32.dll_socket]
mov rsi, rax
jmp 0x14026d784
mov ebp, 2
mov ecx, r14d
lea r8d, [rbp + 0xf]
mov edx, ebp
call qword [sym.imp.WS2_32.dll_socket]
mov rsi, rax
cmp rsi, 0xffffffffffffffff
jne 0x14026d7a2
mov ecx, 0x106
call fcn.14026c090
or eax, esi
add rsp, 0x30
pop r14
pop r12
pop rsi
pop rbp
pop rbx
ret
mov qword [rsp + 0x60], rdi
call fcn.14026c020
mov edi, eax
cmp eax, 0xffffffff
je 0x14026d8dc
lea rcx, [rsp + 0x70]
mov edx, eax
call fcn.14026c060
mov r11, qword [rsp + 0x70]
mov ecx, edi
mov dword [r11 + 0xc], esi
mov rax, qword [rsp + 0x70]
mov dword [rax + 8], ebx
call fcn.14026d220
cmp eax, 0xffffffff
je 0x14026d8d5
cmp ebx, 0x11
je 0x14026d7ee
cmp ebx, r14d
jne 0x14026d815
mov edx, 0x29
lea r9, [rsp + 0x68]
mov rcx, rsi
lea r8d, [rdx - 0xe]
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp ebx, 0x11
je 0x14026d860
cmp ebx, 0x13
je 0x14026d830
cmp ebx, r14d
je 0x14026d860
cmp ebx, 0x19
je 0x14026d830
mov r8d, dword [rsp + 0x68]
jmp 0x14026d89e
mov rax, qword [rsp + 0x70]
movzx ecx, r12w
mov word [rax + 0x10], bp
mov rax, qword [rsp + 0x70]
mov dword [rax + 0x14], 0
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rsp + 0x70]
mov word [rcx + 0x12], ax
mov r8d, recvfrom
jmp 0x14026d89e
mov rax, qword [rsp + 0x70]
mov word [rax + 0x10], r14w
mov rcx, qword [rsp + 0x70]
mov rax, qword [0x1403182a0]
mov qword [rcx + 0x18], rax
mov rax, qword [0x1403182a8]
mov qword [rcx + 0x20], rax
movzx ecx, r12w
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rsp + 0x70]
mov r8d, 0x1c
mov word [rcx + 0x12], ax
mov rdx, qword [rsp + 0x70]
mov rcx, rsi
add rdx, 0x10
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x14026d8cb
cmp ebx, 0x13
je 0x14026d8bf
cmp ebx, 0x19
jne 0x14026d918
mov rcx, rsi
call fcn.14026d1d0
test al, al
jne 0x14026d8f0
mov ecx, 0x106
call fcn.14026c090
mov ecx, edi
call fcn.14026d2a0
or eax, 0xffffffff
mov rdi, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop r12
pop rsi
pop rbp
pop rbx
ret
mov rax, qword [rsp + 0x70]
movzx ecx, r12w
mov word [rax + 0x38], bp
mov rax, qword [rsp + 0x70]
mov dword [rax + 0x3c], 0xffffffff
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rsp + 0x70]
mov word [rcx + 0x3a], ax
mov eax, edi
mov rdi, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop r12
pop rsi
pop rbp
pop rbx
ret