Function at 0x1401351d0
Capabilities:
Set socket configuration
Terminate process

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x180
lea rdi, [rsp + 0x50]
mov ecx, 0x4c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x190]
mov rax, qword [0x140575740]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov dword [rsp + 0x54], 0
mov dword [rsp + 0xc4], 0
mov qword [rsp + 0xd8], 0
mov dword [rsp + 0xe4], 0
mov qword [rsp + 0xf8], 0
mov dword [rsp + 0x114], 0
mov dword [rsp + 0x134], 0
cmp dword [rsp + 0x198], 0
jne 0x140135461
xor edx, edx
lea rcx, [rsp + 0xd8]
call fcn.14014afb0
mov dword [rsp + 0xc4], eax
mov rax, qword [rsp + 0x190]
mov eax, dword [rax + 0xb8]
cmp dword [rsp + 0xc4], eax
je 0x1401352a0
mov dword [rsp + 0x54], 1
jmp 0x140135342
cmp qword [rsp + 0xd8], 0
jne 0x1401352c7
mov rax, qword [rsp + 0x190]
cmp qword [rax + 0xb0], 0
je 0x1401352c7
mov dword [rsp + 0x54], 1
jmp 0x140135342
cmp qword [rsp + 0xd8], 0
je 0x1401352ee
mov rax, qword [rsp + 0x190]
cmp qword [rax + 0xb0], 0
jne 0x1401352ee
mov dword [rsp + 0x54], 1
jmp 0x140135342
cmp qword [rsp + 0xd8], 0
je 0x140135342
mov rax, qword [rsp + 0x190]
cmp qword [rax + 0xb0], 0
je 0x140135342
movsxd rax, dword [rsp + 0xc4]
imul rax, rax, 0x10
mov r8, rax
mov rax, qword [rsp + 0x190]
mov rdx, qword [rax + 0xb0]
mov rcx, qword [rsp + 0xd8]
call fcn.1404104c0
test eax, eax
je 0x140135342
mov dword [rsp + 0x54], 1
mov rax, qword [rsp + 0x190]
cmp qword [rax + 0x48], 0
je 0x14013542f
lea rcx, [rsp + 0xf8]
call fcn.14014a7c0
mov dword [rsp + 0xe4], eax
mov rax, qword [rsp + 0x190]
mov eax, dword [rax + 0xc8]
cmp dword [rsp + 0xe4], eax
je 0x14013538d
mov dword [rsp + 0x54], 1
jmp 0x14013542f
cmp qword [rsp + 0xf8], 0
je 0x1401353b4
mov rax, qword [rsp + 0x190]
cmp qword [rax + 0xc0], 0
jne 0x1401353b4
mov dword [rsp + 0x54], 1
jmp 0x14013542f
cmp qword [rsp + 0xf8], 0
jne 0x1401353db
mov rax, qword [rsp + 0x190]
cmp qword [rax + 0xc0], 0
je 0x1401353db
mov dword [rsp + 0x54], 1
jmp 0x14013542f
cmp qword [rsp + 0xf8], 0
je 0x14013542f
mov rax, qword [rsp + 0x190]
cmp qword [rax + 0xc0], 0
je 0x14013542f
movsxd rax, dword [rsp + 0xe4]
shl rax, 2
mov r8, rax
mov rax, qword [rsp + 0x190]
mov rdx, qword [rax + 0xc0]
mov rcx, qword [rsp + 0xf8]
call fcn.1404104c0
test eax, eax
je 0x14013542f
mov dword [rsp + 0x54], 1
cmp dword [rsp + 0x54], 0
jne 0x140135461
mov edx, 1
mov rcx, qword [rsp + 0xd8]
call fcn.1403ba8b0
mov edx, 1
mov rcx, qword [rsp + 0xf8]
call fcn.1403ba8b0
xor eax, eax
jmp 0x140135bd2
mov rax, qword [rsp + 0x190]
cmp qword [rax + 0xb0], 0
je 0x14013549f
mov edx, 1
mov rax, qword [rsp + 0x190]
mov rcx, qword [rax + 0xb0]
call fcn.1403ba8b0
mov rax, qword [rsp + 0x190]
mov qword [rax + 0xb0], 0
mov rax, qword [rsp + 0x190]
cmp qword [rax + 0xc0], 0
je 0x1401354dd
mov edx, 1
mov rax, qword [rsp + 0x190]
mov rcx, qword [rax + 0xc0]
call fcn.1403ba8b0
mov rax, qword [rsp + 0x190]
mov qword [rax + 0xc0], 0
mov rax, qword [rsp + 0x190]
cmp qword [rax + 0x50], 0
je 0x14013557f
mov dword [rsp + 0x50], 0
jmp 0x140135504
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x190]
mov eax, dword [rax + 0xb8]
cmp dword [rsp + 0x50], eax
jge 0x140135559
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 0x50]
cmp qword [rcx + rax*8], 0
je 0x140135557
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 0x50]
mov rdx, qword [rcx + rax*8]
mov rax, qword [rsp + 0x190]
mov rcx, qword [rax + 0x20]
call fcn.14013c9e0
nop
jmp 0x1401354fa
mov edx, 1
mov rax, qword [rsp + 0x190]
mov rcx, qword [rax + 0x50]
call fcn.1403ba8b0
mov rax, qword [rsp + 0x190]
mov qword [rax + 0x50], 0
cmp dword [rsp + 0x198], 0
je 0x140135590
xor eax, eax
jmp 0x140135bd2
mov r8d, reloc.WS2_32.dll_recv
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.140410c60
mov eax, 2
mov word [rsp + 0x68], ax
mov rax, qword [rsp + 0x190]
movzx ecx, word [rax + 0x70]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x6a], ax
mov r8d, 0x1c
xor edx, edx
lea rcx, [rsp + 0x98]
call fcn.140410c60
mov eax, reloc.WS2_32.dll_socket
mov word [rsp + 0x98], ax
mov rax, qword [rsp + 0x190]
movzx ecx, word [rax + 0x70]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x9a], ax
cmp qword [rsp + 0xd8], 0
je 0x140135ab9
mov rax, qword [rsp + 0x190]
movzx eax, word [rax + 0x80]
test eax, eax
je 0x140135ab9
mov rax, qword [rsp + 0x190]
mov ecx, dword [rsp + 0xc4]
mov dword [rax + 0xb8], ecx
mov rax, qword [rsp + 0x190]
mov rcx, qword [rsp + 0xd8]
mov qword [rax + 0xb0], rcx
mov rax, qword [rsp + 0x190]
cmp dword [rax + 0xb8], 0
jle 0x140135ab7
mov rax, qword [rsp + 0x190]
cmp qword [rax + 0xb0], 0
je 0x140135ab7
mov rax, qword [rsp + 0x190]
movsxd rax, dword [rax + 0xb8]
shl rax, 3
mov r9d, 0x9c
lea r8, [0x140557610]
mov edx, 1
mov rcx, rax
call fcn.1403ba980
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x150]
mov qword [rax + 0x50], rcx
cmp qword [rsp + 0x150], 0
jne 0x140135718
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, 0xfe
mov r8d, 0x9c
lea rdx, [0x140557660]
xor ecx, ecx
call fcn.14014da80
mov r8d, 0x9c
lea rdx, [0x1405576b0]
lea rcx, [0x140557700]
call fcn.140015e70
mov ecx, 0xfe
call fcn.14038e600
nop
mov dword [rsp + 0x50], 0
jmp 0x14013572c
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x190]
mov eax, dword [rax + 0xb8]
cmp dword [rsp + 0x50], eax
jge 0x140135ab7
mov rax, qword [rsp + 0x190]
movzx ecx, word [rax + 0x70]
call qword [sym.imp.WS2_32.dll_htons]
movsxd rcx, dword [rsp + 0x50]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x190]
mov rdx, qword [rdx + 0xb0]
mov word [rdx + rcx + 2], ax
movsxd rax, dword [rsp + 0x50]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x190]
add rax, qword [rcx + 0xb0]
mov rcx, qword [rsp + 0x190]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], 0
lea rcx, [0x1401350a0]
mov qword [rsp + 0x20], rcx
mov r9d, 1
mov r8, rax
xor edx, edx
mov rax, qword [rsp + 0x190]
mov rcx, qword [rax + 0x20]
call fcn.140130cd0
movsxd rcx, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x190]
mov rdx, qword [rdx + 0x50]
mov qword [rdx + rcx*8], rax
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 0x50]
cmp qword [rcx + rax*8], 0
je 0x140135ab2
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 0x50]
cmp qword [rcx + rax*8], 0
je 0x140135850
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 0x50]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax + 0x30]
call fcn.140137da0
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 0x50]
mov rax, qword [rcx + rax*8]
lea rcx, str.ILibMulticastSocket_v4
mov qword [rax + 0x30], rcx
movsxd rax, dword [rsp + 0x50]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x190]
add rax, qword [rcx + 0xb0]
mov rcx, qword [rsp + 0x190]
add rcx, 0x80
movsxd rdx, dword [rsp + 0x50]
mov qword [rsp + 0x158], rdx
mov r8, qword [rsp + 0x190]
mov r8, qword [r8 + 0x50]
mov qword [rsp + 0x160], r8
mov r8, rax
mov rdx, rcx
mov rcx, qword [rsp + 0x160]
mov rax, qword [rsp + 0x158]
mov rcx, qword [rcx + rax*8]
call fcn.140131070
movsxd rax, dword [rsp + 0x50]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x190]
add rax, qword [rcx + 0xb0]
movsxd rcx, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x190]
mov rdx, qword [rdx + 0x50]
mov qword [rsp + 0x168], rdx
mov rdx, rax
mov rax, qword [rsp + 0x168]
mov rcx, qword [rax + rcx*8]
call fcn.14012c800
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 0x50]
mov rcx, qword [rcx + rax*8]
call fcn.140131730
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x190]
add rax, 0x68
mov dword [rsp + 0x20], 4
mov r9, rax
mov r8d, 0xa
xor edx, edx
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x14013597f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], 0
mov r9d, eax
mov r8d, 0xaa
lea rdx, [0x140557740]
xor ecx, ecx
call fcn.14014da80
mov ecx, 0xfd
call fcn.14038e600
nop
mov rax, qword [rsp + 0x190]
add rax, 0x6c
mov dword [rsp + 0x20], 4
mov r9, rax
mov r8d, ntohs
xor edx, edx
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x1401359e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], 0
mov r9d, eax
mov r8d, 0xab
lea rdx, [0x140557790]
xor ecx, ecx
call fcn.14014da80
mov ecx, 0xfd
call fcn.14038e600
nop
mov rax, qword [rsp + 0x190]
add rax, 0x6c
mov dword [rsp + 0x20], 4
mov r9, rax
mov r8d, ntohs
xor edx, edx
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x140135a41
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], 0
mov r9d, eax
mov r8d, 0xac
lea rdx, [0x1405577e0]
xor ecx, ecx
call fcn.14014da80
mov ecx, 0xfd
call fcn.14038e600
nop
movsxd rax, dword [rsp + 0x50]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 0xb0]
xor edx, edx
mov word [rcx + rax + 2], dx
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x114]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rsp + 0x134]
mov edx, 0x9800000c
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.WS2_32.dll_WSAIoctl]
nop
jmp 0x140135722
jmp 0x140135ad7
cmp qword [rsp + 0xd8], 0
je 0x140135ad7
mov edx, 1
mov rcx, qword [rsp + 0xd8]
call fcn.1403ba8b0
nop
cmp dword [rsp + 0xe4], 0
je 0x140135baf
cmp qword [rsp + 0xf8], 0
je 0x140135baf
mov rax, qword [rsp + 0x190]
movzx eax, word [rax + 0x90]
test eax, eax
je 0x140135baf
mov rax, qword [rsp + 0x190]
cmp qword [rax + 0x48], 0
je 0x140135baf
mov rax, qword [rsp + 0x190]
mov ecx, dword [rsp + 0xe4]
mov dword [rax + 0xc8], ecx
mov rax, qword [rsp + 0x190]
mov rcx, qword [rsp + 0xf8]
mov qword [rax + 0xc0], rcx
mov dword [rsp + 0x50], 0
jmp 0x140135b5e
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x190]
mov eax, dword [rax + 0xc8]
cmp dword [rsp + 0x50], eax
jge 0x140135bad
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 0xc0]
mov rdx, qword [rsp + 0x190]
add rdx, 0x90
mov r8d, dword [rcx + rax*4]
mov rax, qword [rsp + 0x190]
mov rcx, qword [rax + 0x48]
call fcn.140131120
nop
jmp 0x140135b54
jmp 0x140135bcd
cmp qword [rsp + 0xf8], 0
je 0x140135bcd
mov edx, 1
mov rcx, qword [rsp + 0xf8]
call fcn.1403ba8b0
nop
mov eax, 1
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_getsockname
call fcn.14037c300
mov rax, rdi
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14037c650
add rsp, 0x180
pop rdi
ret