Function at 0x180005f30
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x198
mov rcx, qword [rsp + 0x1b0]
call fcn.1800058e0
mov dword [rsp + 0x40], 0x7530
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x40]
mov r8d, 0x1006
mov edx, 0xffff
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rax]
call sub.WS2_32.dll_setsockopt
lea rcx, [rsp + 0x48]
call fcn.1800057e0
mov byte [rsp + 0x30], 0
xor eax, eax
cmp eax, 1
je 0x18000629c
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x1b0]
call fcn.180005e80
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 3
jne 0x1800061b7
mov byte [rsp + 0x30], 0
movzx eax, byte [rsp + 0x48]
test eax, eax
je 0x1800061b2
cmp byte [rsp + 0x49], 1
je 0x180005fda
cmp byte [rsp + 0x49], 2
jne 0x1800060a6
mov rax, qword [rsp + 0x1b0]
add rax, 8
mov rcx, rax
call fcn.1800012e0
test eax, eax
jle 0x1800060a6
cmp qword [0x18000b020], 0
je 0x1800060a6
cmp byte [rsp + 0x49], 1
jne 0x180006015
mov dword [rsp + 0x3c], 1
jmp 0x18000601d
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x31], al
mov rax, qword [0x18000b020]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x1b0]
add rax, 8
mov rcx, rax
call fcn.1800012e0
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x1b0]
add rax, 8
mov rcx, rax
call fcn.180001b80
mov qword [rsp + 0x60], rax
mov r8d, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0xc0]
call fcn.180001140
lea rcx, [rsp + 0x80]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
movzx edx, byte [rsp + 0x31]
lea rcx, [rsp + 0x80]
call qword [rsp + 0x68]
nop
jmp 0x1800061b2
mov rax, qword [rsp + 0x1b0]
add rax, 8
mov rcx, rax
call fcn.1800012e0
mov edx, 0x81
mov ecx, eax
call fcn.1800021c0
mov dword [rsp + 0x34], eax
movsxd rax, dword [rsp + 0x34]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x1b0]
add rcx, 8
call fcn.180001b80
mov rcx, qword [rsp + 0x70]
mov r8, rcx
mov rdx, rax
lea rcx, [rsp + 0x100]
call fcn.1800027d0
nop
cmp byte [rsp + 0x49], 8
jne 0x180006164
mov r8d, dword [rsp + 0x34]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0xd0]
call fcn.180001140
lea rcx, [rsp + 0x90]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x90]
mov dl, 8
mov rcx, qword [rsp + 0x1b0]
call fcn.1800062b0
nop
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x1b0]
call fcn.180005990
nop
jmp 0x18000629c
cmp byte [rsp + 0x49], 9
jne 0x1800061b2
mov r8d, dword [rsp + 0x34]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0xe0]
call fcn.180001140
lea rcx, [rsp + 0xa0]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0xa0]
mov dl, 0xa
mov rcx, qword [rsp + 0x1b0]
call fcn.1800062b0
nop
jmp 0x180006267
cmp dword [rsp + 0x38], 1
jne 0x1800061d6
xor r8d, r8d
mov dl, 1
mov rcx, qword [rsp + 0x1b0]
call fcn.180005990
nop
jmp 0x18000629c
cmp dword [rsp + 0x38], 2
jne 0x1800061f8
mov r8d, 0x3f1
mov dl, 1
mov rcx, qword [rsp + 0x1b0]
call fcn.180005990
nop
jmp 0x18000629c
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x18000621b
xor r8d, r8d
mov dl, 1
mov rcx, qword [rsp + 0x1b0]
call fcn.180005990
nop
jmp 0x18000629c
mov r8d, 5
lea rdx, str.Ping
lea rcx, [rsp + 0xf0]
call fcn.180001140
lea rcx, [rsp + 0xb0]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0xb0]
mov dl, 9
mov rcx, qword [rsp + 0x1b0]
call fcn.1800062b0
nop
mov byte [rsp + 0x30], 1
cmp qword [0x18000b0d8], 0
je 0x180006297
mov rax, qword [rsp + 0x1b0]
cmp qword [0x18000b0d8], rax
je 0x180006297
xor r8d, r8d
mov dl, 1
mov rcx, qword [rsp + 0x1b0]
call fcn.180005990
nop
jmp 0x18000629c
jmp 0x180005f8a
add rsp, 0x198
pop rdi
pop rsi
ret