Function at 0x1400f48f0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rbx
sub rsp, 0x130
mov qword [rsp + 0xc0], 0xfffffffffffffffe
mov rax, qword [rsp + 0x150]
mov r9d, dword [rax + 0x48]
mov r8d, dword [rsp + 0x140]
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x150]
mov rcx, qword [rcx]
call fcn.1400839b8
nop
mov rax, qword [rsp + 0x150]
mov r9d, dword [rax + 0x48]
mov r8d, dword [rsp + 0x148]
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x150]
mov rcx, qword [rcx]
call fcn.1400839b8
nop
lea rcx, [rsp + 0x20]
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140006180
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x150]
cmp dword [rax + 0x50], 1
jne 0x1400f49c0
lea rcx, [rsp + 0x28]
call fcn.14000f8f0
mov rcx, rax
call fcn.1400a99f8
mov ebx, eax
lea rcx, [rsp + 0x20]
call fcn.14000f8f0
mov rcx, rax
call fcn.1400a99f8
mov r11d, eax
mov eax, ebx
sub eax, r11d
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x150]
cmp dword [rax + 0x50], 2
jne 0x1400f4c6f
lea rcx, [rsp + 0x28]
call fcn.14000f8f0
mov rcx, rax
call fcn.1400a9a04
mov qword [rsp + 0x38], rax
mov r8d, 1
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.140006a60
mov qword [rsp + 0xc8], rax
lea rdx, [0x14021d77c]
mov rcx, qword [rsp + 0xc8]
call fcn.140006d50
mov byte [rsp + 0x48], al
lea rcx, [rsp + 0x50]
call fcn.140001490
movzx r11d, byte [rsp + 0x48]
test r11d, r11d
je 0x1400f4a44
mov rax, qword [rsp + 0x38]
imul rax, rax, 0x400
mov qword [rsp + 0x38], rax
mov r8d, 1
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x28]
call fcn.140006a60
mov qword [rsp + 0xd0], rax
lea rdx, [0x14021d88c]
mov rcx, qword [rsp + 0xd0]
call fcn.140006d50
mov byte [rsp + 0x58], al
lea rcx, [rsp + 0x60]
call fcn.140001490
movzx r11d, byte [rsp + 0x58]
test r11d, r11d
je 0x1400f4a9f
mov rax, qword [rsp + 0x38]
imul rax, rax, 0x100000
mov qword [rsp + 0x38], rax
mov r8d, 1
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x28]
call fcn.140006a60
mov qword [rsp + 0xd8], rax
lea rdx, [0x14021d89c]
mov rcx, qword [rsp + 0xd8]
call fcn.140006d50
mov byte [rsp + 0x68], al
lea rcx, [rsp + 0x70]
call fcn.140001490
movzx r11d, byte [rsp + 0x68]
test r11d, r11d
je 0x1400f4afa
mov rax, qword [rsp + 0x38]
imul rax, rax, 0x40000000
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.14000f8f0
mov rcx, rax
call fcn.1400a9a04
mov qword [rsp + 0x40], rax
mov r8d, 1
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x20]
call fcn.140006a60
mov qword [rsp + 0xe0], rax
lea rdx, [0x14021d8dc]
mov rcx, qword [rsp + 0xe0]
call fcn.140006d50
mov byte [rsp + 0x78], al
lea rcx, [rsp + 0x80]
call fcn.140001490
movzx r11d, byte [rsp + 0x78]
test r11d, r11d
je 0x1400f4b72
mov rax, qword [rsp + 0x40]
imul rax, rax, 0x400
mov qword [rsp + 0x40], rax
mov r8d, 1
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x20]
call fcn.140006a60
mov qword [rsp + 0xe8], rax
lea rdx, [0x14021d924]
mov rcx, qword [rsp + 0xe8]
call fcn.140006d50
mov byte [rsp + 0x88], al
lea rcx, [rsp + 0x90]
call fcn.140001490
movzx r11d, byte [rsp + 0x88]
test r11d, r11d
je 0x1400f4bd9
mov rax, qword [rsp + 0x40]
imul rax, rax, 0x100000
mov qword [rsp + 0x40], rax
mov r8d, 1
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x20]
call fcn.140006a60
mov qword [rsp + 0xf0], rax
lea rdx, [0x14021d984]
mov rcx, qword [rsp + 0xf0]
call fcn.140006d50
mov byte [rsp + 0x98], al
lea rcx, [rsp + 0xa0]
call fcn.140001490
movzx r11d, byte [rsp + 0x98]
test r11d, r11d
je 0x1400f4c40
mov rax, qword [rsp + 0x40]
imul rax, rax, 0x40000000
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x38], rax
jbe 0x1400f4c59
mov dword [rsp + 0xf8], 1
jmp 0x1400f4c64
mov dword [rsp + 0xf8], 0xffffffff
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x150]
cmp dword [rax + 0x50], 3
jne 0x1400f4d44
lea rcx, [rsp + 0x28]
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.140002e10
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x108], rax
lea rcx, [rsp + 0x20]
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.140002e10
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x118], rax
mov rcx, qword [rsp + 0x118]
call fcn.140002ec0
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_inet_addr]
mov ecx, eax
call qword [sym.imp.WSOCK32.dll_ntohl]
mov ebx, eax
mov rcx, qword [rsp + 0x108]
call fcn.140002ec0
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_inet_addr]
mov ecx, eax
call qword [sym.imp.WSOCK32.dll_ntohl]
sub eax, ebx
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0xb0]
call fcn.140002ea0
nop
lea rcx, [rsp + 0xa8]
call fcn.140002ea0
mov rax, qword [rsp + 0x150]
cmp dword [rax + 0x4c], 0
je 0x1400f4d5f
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x120], eax
jmp 0x1400f4d6c
mov eax, dword [rsp + 0x30]
neg eax
mov dword [rsp + 0x120], eax
mov eax, dword [rsp + 0x120]
mov dword [rsp + 0xb8], eax
lea rcx, [rsp + 0x20]
call fcn.140001490
nop
lea rcx, [rsp + 0x28]
call fcn.140001490
mov eax, dword [rsp + 0xb8]
add rsp, 0x130
pop rbx
ret