Function at 0x1401d5890
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x8a0
mov qword [rsp + 0x7e8], 0xfffffffffffffffe
mov dword [rsp + 0x7e0], 0
lea rcx, [rsp + 0xb0]
call fcn.14000d210
nop
mov dword [rsp + 0x248], 1
lea rcx, [rsp + 0xb0]
call fcn.1401d56b0
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x48]
call fcn.140001430
nop
lea rdx, [rsp + 0x288]
lea rcx, [rsp + 0x38]
call fcn.140001430
nop
lea rcx, [0x1403b5028]
call fcn.14000e350
lea rcx, [rsp + 0x40]
call fcn.140002de0
nop
mov r8, qword [rsp + 0x8b0]
mov r8, qword [r8]
lea rdx, [0x1402412b8]
lea rcx, [rsp + 0x40]
call fcn.140002c70
lea rcx, [rsp + 0x40]
call fcn.14000f8f0
xor r9d, r9d
mov r8, rax
lea rdx, [rsp + 0x88]
lea rcx, [0x1403b4f50]
call fcn.1400ead90
nop
lea rcx, [rsp + 0x48]
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0x768]
call fcn.140002e10
mov qword [rsp + 0x7f0], rax
mov rax, qword [rsp + 0x7f0]
mov qword [rsp + 0x7f8], rax
mov rcx, qword [rsp + 0x7f8]
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 dword [rsp + 0x3f0], eax
lea rcx, [rsp + 0x768]
call fcn.140002ea0
jmp 0x1401d59d4
mov eax, dword [rsp + 0x3f0]
add eax, 1
mov dword [rsp + 0x3f0], eax
lea rcx, [rsp + 0x38]
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0x778]
call fcn.140002e10
mov qword [rsp + 0x800], rax
mov rax, qword [rsp + 0x800]
mov qword [rsp + 0x808], rax
mov rcx, qword [rsp + 0x808]
call fcn.140002ec0
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_inet_addr]
mov ecx, eax
call qword [sym.imp.WSOCK32.dll_ntohl]
cmp dword [rsp + 0x3f0], eax
jae 0x1401d5a3a
mov dword [rsp + 0x810], 1
jmp 0x1401d5a45
mov dword [rsp + 0x810], 0
movzx eax, byte [rsp + 0x810]
mov byte [rsp + 0x770], al
lea rcx, [rsp + 0x778]
call fcn.140002ea0
movzx r11d, byte [rsp + 0x770]
test r11d, r11d
je 0x1401d5f8f
mov dword [rsp + 0x400], 0
mov dword [rsp + 0x404], 0
jmp 0x1401d5a9c
mov eax, dword [rsp + 0x404]
add eax, 1
mov dword [rsp + 0x404], eax
movsxd rbx, dword [rsp + 0x404]
lea rcx, [rsp + 0x88]
call fcn.1400e34c0
cmp rbx, rax
jae 0x1401d5bd9
movsxd rdx, dword [rsp + 0x404]
lea rcx, [rsp + 0x88]
call fcn.1400e3490
lea rdx, [rsp + 0x780]
mov rcx, rax
call fcn.1400e6730
lea r8, [0x1402412c8]
lea rdx, [rsp + 0x788]
mov rcx, rax
call fcn.1400e5b90
mov rcx, rax
call fcn.1400e44c0
mov rdx, rax
lea rcx, [rsp + 0x408]
call fcn.140002100
nop
lea rcx, [rsp + 0x408]
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0x798]
call fcn.140002e10
mov qword [rsp + 0x818], rax
mov rax, qword [rsp + 0x818]
mov qword [rsp + 0x820], rax
mov rcx, qword [rsp + 0x820]
call fcn.140002ec0
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_inet_addr]
mov ecx, eax
call qword [sym.imp.WSOCK32.dll_ntohl]
cmp eax, dword [rsp + 0x3f0]
jne 0x1401d5b78
mov dword [rsp + 0x828], 1
jmp 0x1401d5b83
mov dword [rsp + 0x828], 0
movzx eax, byte [rsp + 0x828]
mov byte [rsp + 0x790], al
lea rcx, [rsp + 0x798]
call fcn.140002ea0
movzx r11d, byte [rsp + 0x790]
test r11d, r11d
je 0x1401d5bc7
mov dword [rsp + 0x400], 1
lea rcx, [rsp + 0x408]
call fcn.140001490
jmp 0x1401d5bd9
lea rcx, [rsp + 0x408]
call fcn.140001490
jmp 0x1401d5a8b
cmp dword [rsp + 0x400], 0
je 0x1401d5be8
jmp 0x1401d59c3
mov ecx, dword [rsp + 0x3f0]
call qword [sym.imp.WSOCK32.dll_htonl]
mov ecx, eax
call fcn.1400d8760
test eax, eax
je 0x1401d5c05
jmp 0x1401d59c3
lea rcx, [rsp + 0x3f8]
call fcn.140002de0
nop
mov ecx, dword [rsp + 0x3f0]
and ecx, 0xff
mov eax, dword [rsp + 0x3f0]
shr eax, 8
and eax, 0xff
mov r9d, dword [rsp + 0x3f0]
shr r9d, 0x10
and r9d, 0xff
mov r8d, dword [rsp + 0x3f0]
shr r8d, 0x18
and r8d, 0xff
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
lea rdx, [0x1402412d8]
lea rcx, [rsp + 0x3f8]
call fcn.140002c70
lea rcx, [rsp + 0x3f8]
call fcn.14000f8f0
lea rcx, [rsp + 0x2b0]
xor r8d, r8d
mov rdx, rax
call fcn.140006780
cmp eax, 0xffffffff
je 0x1401d5ca8
lea rcx, [rsp + 0x3f8]
call fcn.140001490
jmp 0x1401d59c3
lea rcx, [rsp + 0x270]
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0x7a8]
call fcn.140002e10
mov qword [rsp + 0x830], rax
mov rax, qword [rsp + 0x830]
mov qword [rsp + 0x838], rax
mov eax, dword [rsp + 0x7e0]
or eax, 1
mov dword [rsp + 0x7e0], eax
mov rcx, qword [rsp + 0x838]
call fcn.140002ec0
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_inet_addr]
mov ecx, eax
call qword [sym.imp.WSOCK32.dll_ntohl]
cmp dword [rsp + 0x3f0], eax
je 0x1401d5e00
lea rcx, [rsp + 0x298]
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0x7b0]
call fcn.140002e10
mov qword [rsp + 0x840], rax
mov rax, qword [rsp + 0x840]
mov qword [rsp + 0x848], rax
mov eax, dword [rsp + 0x7e0]
or eax, 2
mov dword [rsp + 0x7e0], eax
mov rcx, qword [rsp + 0x848]
call fcn.140002ec0
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_inet_addr]
mov ecx, eax
call qword [sym.imp.WSOCK32.dll_ntohl]
cmp dword [rsp + 0x3f0], eax
je 0x1401d5e00
lea rcx, [rsp + 0x2a0]
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0x7b8]
call fcn.140002e10
mov qword [rsp + 0x850], rax
mov rax, qword [rsp + 0x850]
mov qword [rsp + 0x858], rax
mov eax, dword [rsp + 0x7e0]
or eax, 4
mov dword [rsp + 0x7e0], eax
mov rcx, qword [rsp + 0x858]
call fcn.140002ec0
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_inet_addr]
mov ecx, eax
call qword [sym.imp.WSOCK32.dll_ntohl]
cmp dword [rsp + 0x3f0], eax
je 0x1401d5e00
mov dword [rsp + 0x860], 0
jmp 0x1401d5e0b
mov dword [rsp + 0x860], 1
movzx eax, byte [rsp + 0x860]
mov byte [rsp + 0x7a0], al
mov eax, dword [rsp + 0x7e0]
and eax, 4
test eax, eax
je 0x1401d5e3e
and dword [rsp + 0x7e0], 0xfffffffb
lea rcx, [rsp + 0x7b8]
call fcn.140002ea0
nop
mov eax, dword [rsp + 0x7e0]
and eax, 2
test eax, eax
je 0x1401d5e62
and dword [rsp + 0x7e0], 0xfffffffd
lea rcx, [rsp + 0x7b0]
call fcn.140002ea0
nop
mov eax, dword [rsp + 0x7e0]
and eax, 1
test eax, eax
je 0x1401d5e85
and dword [rsp + 0x7e0], 0xfffffffe
lea rcx, [rsp + 0x7a8]
call fcn.140002ea0
movzx eax, byte [rsp + 0x7a0]
test eax, eax
je 0x1401d5ea3
lea rcx, [rsp + 0x3f8]
call fcn.140001490
jmp 0x1401d59c3
lea rcx, [0x1403b5028]
call fcn.14000e320
mov ecx, dword [rsp + 0x3f0]
and ecx, 0xff
mov eax, dword [rsp + 0x3f0]
shr eax, 8
and eax, 0xff
mov r9d, dword [rsp + 0x3f0]
shr r9d, 0x10
and r9d, 0xff
mov r8d, dword [rsp + 0x3f0]
shr r8d, 0x18
and r8d, 0xff
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
lea rdx, str._u._u._u._u
lea rcx, [rsp + 0x3f8]
call fcn.140002c70
lea rdx, [rsp + 0x3f8]
mov rcx, qword [rsp + 0x8b8]
call fcn.140001430
mov eax, dword [rsp + 0x7e0]
or eax, 8
mov dword [rsp + 0x7e0], eax
lea rcx, [rsp + 0x3f8]
call fcn.140001490
nop
lea rcx, [rsp + 0x88]
call fcn.1400e3510
nop
lea rcx, [rsp + 0x40]
call fcn.140001490
nop
lea rcx, [rsp + 0x38]
call fcn.140001490
nop
lea rcx, [rsp + 0x48]
call fcn.140001490
nop
lea rcx, [rsp + 0xb0]
call fcn.140014ec0
mov rax, qword [rsp + 0x8b8]
jmp 0x1401d6418
lea rcx, [rsp + 0x50]
call fcn.140006ef0
nop
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x8b0]
call fcn.1401d4680
lea rdx, [0x140241310]
lea rcx, [rsp + 0x30]
call fcn.140002100
nop
mov dword [rsp + 0x80], 0xffffffff
mov dword [rsp + 0x410], 0
jmp 0x1401d5fe7
mov eax, dword [rsp + 0x410]
add eax, 1
mov dword [rsp + 0x410], eax
movsxd rbx, dword [rsp + 0x410]
lea rcx, [rsp + 0x50]
call fcn.140006f70
cmp rbx, rax
jae 0x1401d626e
movsxd rdx, dword [rsp + 0x410]
lea rcx, [rsp + 0x50]
call fcn.140006fa0
mov rcx, rax
add rcx, 0x1e8
lea rdx, [0x140241338]
call fcn.140006d90
movzx eax, al
test eax, eax
je 0x1401d6033
jmp 0x1401d5fd6
movsxd rdx, dword [rsp + 0x410]
lea rcx, [rsp + 0x50]
call fcn.140006fa0
mov rcx, rax
add rcx, 0x1b8
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0x7c0]
call fcn.140002e10
mov qword [rsp + 0x868], rax
mov rax, qword [rsp + 0x868]
mov qword [rsp + 0x870], rax
mov rcx, qword [rsp + 0x870]
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 dword [rsp + 0x414], eax
lea rcx, [rsp + 0x7c0]
call fcn.140002ea0
lea rcx, [rsp + 0x48]
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0x7d0]
call fcn.140002e10
mov qword [rsp + 0x878], rax
mov rax, qword [rsp + 0x878]
mov qword [rsp + 0x880], rax
mov eax, dword [rsp + 0x7e0]
or eax, 0x10
mov dword [rsp + 0x7e0], eax
mov rcx, qword [rsp + 0x880]
call fcn.140002ec0
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_inet_addr]
mov ecx, eax
call qword [sym.imp.WSOCK32.dll_ntohl]
cmp dword [rsp + 0x414], eax
jb 0x1401d618f
lea rcx, [rsp + 0x38]
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0x7d8]
call fcn.140002e10
mov qword [rsp + 0x888], rax
mov rax, qword [rsp + 0x888]
mov qword [rsp + 0x890], rax
mov eax, dword [rsp + 0x7e0]
or eax, 0x20
mov dword [rsp + 0x7e0], eax
mov rcx, qword [rsp + 0x890]
call fcn.140002ec0
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_inet_addr]
mov ecx, eax
call qword [sym.imp.WSOCK32.dll_ntohl]
cmp dword [rsp + 0x414], eax
ja 0x1401d618f
mov dword [rsp + 0x898], 0
jmp 0x1401d619a
mov dword [rsp + 0x898], 1
movzx eax, byte [rsp + 0x898]
mov byte [rsp + 0x7c8], al
mov eax, dword [rsp + 0x7e0]
and eax, 0x20
test eax, eax
je 0x1401d61cd
and dword [rsp + 0x7e0], 0xffffffdf
lea rcx, [rsp + 0x7d8]
call fcn.140002ea0
nop
mov eax, dword [rsp + 0x7e0]
and eax, 0x10
test eax, eax
je 0x1401d61f0
and dword [rsp + 0x7e0], 0xffffffef
lea rcx, [rsp + 0x7d0]
call fcn.140002ea0
movzx eax, byte [rsp + 0x7c8]
test eax, eax
je 0x1401d6201
jmp 0x1401d5fd6
movsxd rdx, dword [rsp + 0x410]
lea rcx, [rsp + 0x50]
call fcn.140006fa0
mov rcx, rax
add rcx, 0x298
lea rdx, [rsp + 0x30]
call fcn.140012e90
movzx eax, al
test eax, eax
je 0x1401d6233
jmp 0x1401d5fd6
movsxd rdx, dword [rsp + 0x410]
lea rcx, [rsp + 0x50]
call fcn.140006fa0
mov rdx, rax
add rdx, 0x298
lea rcx, [rsp + 0x30]
call fcn.140002db0
mov r11d, dword [rsp + 0x410]
mov dword [rsp + 0x80], r11d
jmp 0x1401d5fd6
cmp dword [rsp + 0x80], 0xffffffff
je 0x1401d638d
movsxd rdx, dword [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.140006fa0
mov rdx, rax
add rdx, 0x1b8
lea rcx, [rsp + 0x760]
call fcn.140001430
nop
lea rcx, [rsp + 0x420]
call fcn.1401d19d0
nop
movsxd rdx, dword [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.140006fa0
mov eax, dword [rax + 0x198]
mov dword [rsp + 0x5b8], eax
lea rcx, [rsp + 0x420]
call fcn.1401bf390
lea rcx, [0x1403b5028]
call fcn.14000e320
lea rdx, [rsp + 0x760]
mov rcx, qword [rsp + 0x8b8]
call fcn.140001430
mov eax, dword [rsp + 0x7e0]
or eax, 8
mov dword [rsp + 0x7e0], eax
lea rcx, [rsp + 0x420]
call fcn.140014ec0
nop
lea rcx, [rsp + 0x760]
call fcn.140001490
nop
lea rcx, [rsp + 0x30]
call fcn.140001490
nop
lea rcx, [rsp + 0x50]
call fcn.140006f40
nop
lea rcx, [rsp + 0x88]
call fcn.1400e3510
nop
lea rcx, [rsp + 0x40]
call fcn.140001490
nop
lea rcx, [rsp + 0x38]
call fcn.140001490
nop
lea rcx, [rsp + 0x48]
call fcn.140001490
nop
lea rcx, [rsp + 0xb0]
call fcn.140014ec0
mov rax, qword [rsp + 0x8b8]
jmp 0x1401d6418
lea rcx, [0x1403b5028]
call fcn.14000e320
lea rdx, [0x140241340]
mov rcx, qword [rsp + 0x8b8]
call fcn.140002100
mov eax, dword [rsp + 0x7e0]
or eax, 8
mov dword [rsp + 0x7e0], eax
lea rcx, [rsp + 0x30]
call fcn.140001490
nop
lea rcx, [rsp + 0x50]
call fcn.140006f40
nop
lea rcx, [rsp + 0x88]
call fcn.1400e3510
nop
lea rcx, [rsp + 0x40]
call fcn.140001490
nop
lea rcx, [rsp + 0x38]
call fcn.140001490
nop
lea rcx, [rsp + 0x48]
call fcn.140001490
nop
lea rcx, [rsp + 0xb0]
call fcn.140014ec0
mov rax, qword [rsp + 0x8b8]
add rsp, 0x8a0
pop rbx
ret