Function at 0x60b380
Capabilities:
Set socket configuration

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0x90
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x0085e9e0]
cmp rax, qword [0x0085e9d8]
je 0x60b3c4
xor ebx, ebx
mov byte [rax], bl
mov rax, qword [0x0085e9e0]
mov qword [0x0085e9d8], rax
jmp 0x60b3c6
xor ebx, ebx
mov dword [0x0086560c], ebx
mov rax, qword [0x00862cb8]
cmp byte [rax + 0x2f52], bl
jne 0x60b3f3
mov rcx, qword [rax + 0xb8]
cmp rcx, rbx
je 0x60b3f3
mov edx, 0xd2
call fcn.0040a51c
jmp 0x60b3f9
mov eax, dword [rax + 0x276c]
cmp eax, 1
jne 0x60b66b
lea r12, [0x007b3690]
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x48]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x48], bl
or r13, 0xffffffffffffffff
mov qword [rsp + 0x80], r13
mov byte [rsp + 0x89], bl
mov dword [rsp + 0xb0], 1
lea r8, [rsp + 0xb0]
mov edx, 0x8004667e
mov rcx, r13
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rdi, qword [0x00862cb8]
cmp byte [rdi + 0x2f54], bl
jne 0x60b483
mov rcx, qword [rdi + 0xb8]
cmp rcx, rbx
je 0x60b483
mov edx, 0xd4
call fcn.0040a51c
mov esi, eax
jmp 0x60b489
mov esi, dword [rdi + 0x2774]
cmp byte [rdi + 0x2e84], bl
jne 0x60b4a9
mov rcx, qword [rdi + 0xb8]
cmp rcx, rbx
je 0x60b4a9
mov edx, 4
call fcn.004083bc
jmp 0x60b4b0
lea rax, [rdi + 0x180]
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.006095ac
mov edi, 0x7530
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.00609dcc
mov byte [rsp + 0x28], 5
mov byte [rsp + 0x29], 3
mov byte [rsp + 0x2a], bl
mov byte [rsp + 0x2b], 1
mov dword [rsp + 0x2c], ebx
mov word [rsp + 0x30], bx
mov r9, rdi
mov esi, 0xa
mov r8, rsi
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x40]
call fcn.0060a890
mov r9, rdi
mov r8d, esi
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x40]
call fcn.0060a808
cmp eax, esi
je 0x60b574
mov qword [rsp + 0x40], r12
lea rcx, [rsp + 0x40]
call qword [0x007b36b0]
lea rcx, [rsp + 0x40]
mov rax, qword [rsp + 0x40]
call qword [rax + 0x28]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
cmp rcx, rdx
je 0x60b56f
cmp rcx, rbx
je 0x60b56f
mov rdx, qword [rsp + 0x48]
sub rdx, rcx
cmp rdx, 0x100
jbe 0x60b56a
call fcn.006a4944
jmp 0x60b56f
call fcn.006a3610
jmp 0x60b66b
cmp byte [rsp + 0x28], 5
jne 0x60b61c
cmp byte [rsp + 0x29], bl
jne 0x60b61c
movzx ecx, word [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx edx, ax
mov dword [0x0086560c], edx
mov ecx, dword [rsp + 0x2c]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rdx, rax
xor eax, eax
mov rcx, r13
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
add r8, rdx
lea rcx, [0x0085e9b8]
call fcn.0040289c
nop
mov qword [rsp + 0x40], r12
lea rcx, [rsp + 0x40]
call qword [0x007b36b0]
lea rcx, [rsp + 0x40]
mov rax, qword [rsp + 0x40]
call qword [rax + 0x28]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
cmp rcx, rdx
je 0x60b61a
cmp rcx, rbx
je 0x60b61a
mov rdx, qword [rsp + 0x48]
sub rdx, rcx
cmp rdx, 0x100
jbe 0x60b614
call fcn.006a4944
jmp 0x60b61a
call fcn.006a3610
nop
jmp 0x60b66b
mov qword [rsp + 0x40], r12
lea rcx, [rsp + 0x40]
call qword [0x007b36b0]
lea rcx, [rsp + 0x40]
mov rax, qword [rsp + 0x40]
call qword [rax + 0x28]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
cmp rcx, rdx
je 0x60b66b
cmp rcx, rbx
je 0x60b66b
mov rdx, qword [rsp + 0x48]
sub rdx, rcx
cmp rdx, 0x100
jbe 0x60b665
call fcn.006a4944
jmp 0x60b66b
call fcn.006a3610
nop
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret