Function at 0x1400a7f30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2d0
mov rax, qword [0x1402de400]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov rdi, qword [rsp + 0x340]
mov r15, qword [rsp + 0x348]
mov r13, qword [rsp + 0x350]
mov r12, qword [rsp + 0x358]
mov r14, rcx
xor ecx, ecx
mov qword [rsp + 0xd8], rdi
mov qword [rsp + 0xf0], r15
mov qword [rsp + 0xd0], r13
mov qword [rsp + 0xb0], r12
mov rbp, r9
mov qword [rsp + 0x100], r9
mov rbx, r8
mov qword [rsp + 0x110], rdx
mov qword [rsp + 0x118], rcx
mov dword [rsp + 0xc8], ecx
test rdx, rdx
je 0x1400a807f
lea rsi, [rdx + 0x58]
test rsi, rsi
je 0x1400a8086
mov eax, dword [rsi]
and al, 0x7f
cmp al, 2
je 0x1400a8086
movzx ecx, word [r12 + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
lea rcx, [rsp + 0xe8]
mov rdx, rbp
movzx r9d, ax
mov eax, dword [rsp + 0x338]
mov qword [rsp + 0x28], rcx
mov rcx, rsi
add r9d, eax
mov r8d, eax
mov qword [rsp + 0x20], rdi
call fcn.1400a7ca0
test eax, eax
je 0x1400a8044
mov rax, qword [rsp + 0xe8]
xor ecx, ecx
mov word [rsp + 0x40], cx
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ecx
jmp 0x1400a91c3
test rbx, rbx
je 0x1400a8084
cmp word [rbx + 0x244], 0
je 0x1400a8084
movzx ecx, word [0x1402e6ae0]
lea rdx, str.Remote_encapsulation_port_changed
call fcn.1400956e0
xor ecx, ecx
mov word [rsp + 0x40], cx
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ecx
jmp 0x1400a91c3
mov rsi, rcx
jmp 0x1400a8086
xor ecx, ecx
mov edx, dword [rsp + 0x338]
mov qword [rsp + 0x28], rcx
lea rax, [rsp + 0xc8]
mov dword [rsp + 0xb8], ecx
lea r8, [rsp + 0xb8]
mov r9, r12
add edx, 0x14
mov rcx, rbp
mov qword [rsp + 0x20], rax
call fcn.1400a6de0
cmp dword [rsp + 0xb8], 0
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xe8], rax
jne 0x1400a913b
xor eax, eax
mov ebp, 0x800
lea ebx, [rax + 1]
mov r15, rax
mov qword [rsp + 0xc0], rax
mov r13, rax
mov r12d, eax
nop word [rax + rax]
mov rcx, qword [0x1402e6b48]
call fcn.1401e3610
xor ecx, ecx
cmp ebp, 0xb0
mov rdi, rax
jle 0x1400a81b1
test rax, rax
je 0x1400a815c
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov dword [rax + 0x18], ecx
mov dword [rax + 0x1c], 2
mov word [rax + 0x20], bx
add rax, 0x50
mov qword [rdi + 0x28], rcx
mov dword [rdi + 0x38], ecx
mov qword [rdi + 0x30], rcx
mov qword [rdi + 0x10], rax
mov dword [rdi + 0x3c], ecx
mov dword [rdi + 0x40], ecx
mov word [rdi + 0x44], cx
mov word [rdi + 0x46], cx
mov qword [rdi + 0x48], rcx
mov qword [rdi + 0x50], rcx
mov rcx, qword [0x1402e6b50]
call fcn.1401e3610
mov rcx, qword [0x1402e6b58]
mov rbx, rax
call fcn.1401e3610
mov dword [rax], 1
or dword [rdi + 0x1c], 1
xor ecx, ecx
mov qword [rdi + 0x50], rbx
mov qword [rdi + 0x10], rbx
mov ebx, 1
mov qword [rdi + 0x70], rax
mov qword [rdi + 0x58], rcx
mov qword [rdi + 0x60], rcx
mov dword [rdi + 0x78], ebx
mov dword [rdi + 0x68], 0x800
mov eax, 0x800
jmp 0x1400a8225
test r12b, 2
je 0x1400a81fd
test rax, rax
je 0x1400a81f6
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov dword [rax + 0x18], ecx
mov dword [rax + 0x1c], 2
mov word [rax + 0x20], bx
add rax, 0x50
mov qword [rdi + 0x28], rcx
mov dword [rdi + 0x38], ecx
mov qword [rdi + 0x30], rcx
mov qword [rdi + 0x10], rax
mov dword [rdi + 0x3c], ecx
mov dword [rdi + 0x40], ecx
mov word [rdi + 0x44], cx
mov word [rdi + 0x46], cx
mov qword [rdi + 0x48], rcx
mov eax, 0xb0
jmp 0x1400a8220
test rax, rax
je 0x1400a821b
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov dword [rax + 0x18], ecx
mov dword [rax + 0x1c], ecx
mov word [rax + 0x20], bx
add rax, 0x28
mov qword [rdi + 0x10], rax
mov eax, 0xd8
cmp ebp, eax
cmovl eax, ebp
test rdi, rdi
je 0x1400a90f9
cmp eax, 0x800
jl 0x1400a90df
sub ebp, eax
test r13, r13
je 0x1400a8246
mov qword [r13], rdi
jmp 0x1400a8251
mov r15, rdi
mov qword [rsp + 0xc0], rdi
and r12d, 0xfffffffd
mov r13, rdi
test ebp, ebp
jg 0x1400a8100
test r12b, 4
je 0x1400a8270
or dword [rdi + 0x1c], 4
nop word [rax + rax]
test r15, r15
je 0x1400a9106
mov eax, reloc.WS2_32.dll_sendto
movzx r12d, cx
mov word [rsp + 0x94], cx
lea rcx, [rsp + 0x150]
lea r8d, [rax + 0x54]
xor edx, edx
mov bp, ax
mov word [rsp + 0x90], ax
call fcn.1401e42d0
lea rcx, [rsp + 0xf8]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [rsp + 0xfc]
mov r11d, dword [rsp + 0xf8]
mov dword [rsp + 0xac], eax
movabs rax, 0x19db1ded53e8000
mov dword [rsp + 0xa8], r11d
mov rcx, qword [rsp + 0xa8]
sub rcx, rax
movabs rax, 0xd6bf94d5e57a42bd
mul rcx
mov r8, rdx
shr r8, 0x17
mov rax, r8
mov dword [rsp + 0x160], r8d
imul rax, rax, 0x989680
sub rcx, rax
movabs rax, 0xcccccccccccccccd
mul rcx
shr rdx, 3
mov dword [rsp + 0x164], edx
xor edx, edx
test rsi, rsi
je 0x1400a835a
mov eax, dword [rsi + 0x4c0]
mov rcx, qword [rsi + 0x378]
mov dword [rsp + 0x16c], eax
mov eax, dword [rsi + 0x4c4]
mov dword [rsp + 0x170], eax
mov eax, dword [rsi + 0x5a0]
jmp 0x1400a8372
mov eax, dword [r14 + 0x2a0]
mov dword [rsp + 0x16c], edx
mov dword [rsp + 0x170], edx
mov rcx, rdx
mov r13, qword [rsp + 0xd0]
mov dword [rsp + 0x168], eax
mov byte [rsp + 0x1b2], 0
movzx eax, word [r13 + 2]
mov byte [rsp + 0x1af], 0
mov byte [rsp + 0x1b0], 0
mov word [rsp + 0x1aa], ax
movzx eax, word [r13]
mov word [rsp + 0x1a8], ax
mov eax, dword [r14 + 0x158]
bt eax, 0x1a
jae 0x1400a83dc
mov eax, dword [r14 + 0x3c]
mov byte [rsp + 0x1ad], 1
shr eax, 0xf
not al
and al, 1
mov byte [rsp + 0x1ac], al
jmp 0x1400a8404
bt eax, 0x1f
mov byte [rsp + 0x1ad], 0
jae 0x1400a83fc
mov byte [rsp + 0x1ae], 1
mov byte [rsp + 0x1ac], 0
jmp 0x1400a840c
mov byte [rsp + 0x1ac], 1
mov byte [rsp + 0x1ae], 0
mov byte [rsp + 0x1b1], 0
test rcx, rcx
jne 0x1400a8445
mov rcx, qword [rsp + 0xf0]
cmp word [rcx], 0x7b
jne 0x1400a9118
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 8]
mov qword [rsp + 0x17c], rax
mov rax, qword [rcx + 8]
jmp 0x1400a849e
movzx eax, byte [rsi + 0x6d3]
mov byte [rsp + 0x1b2], al
movzx eax, byte [rsi + 0x6d4]
mov byte [rsp + 0x1b1], al
movzx eax, byte [rsi + 0x6d6]
mov byte [rsp + 0x1b0], al
movzx eax, byte [rsi + 0x6d5]
mov byte [rsp + 0x1af], al
lea rax, [rcx + 0xd8]
cmp word [rax], 0x7b
mov qword [rsp + 0xd8], rax
jne 0x1400a84df
mov rax, qword [rax + 8]
mov qword [rsp + 0x17c], rax
mov dword [rsp + 0x1a4], edx
mov dword [rsp + 0x1a0], 4
mov qword [rsp + 0x190], rax
mov dword [rsp + 0x19c], edx
mov dword [rsp + 0x198], edx
mov dword [rsp + 0x18c], 4
mov dword [rsp + 0x188], edx
mov dword [rsp + 0x184], edx
test rsi, rsi
je 0x1400a84ed
movzx eax, byte [rsi + 0x6cb]
jmp 0x1400a84f5
movzx eax, byte [r14 + 0x300]
mov rdi, qword [r15 + 0x10]
mov r13, qword [rsp + 0xb0]
mov byte [rsp + 0x1b3], al
mov ecx, dword [r13 + 4]
mov qword [rsp + 0xa8], rdi
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [rsp + 0x174], eax
mov rax, qword [str.KAME_BSD_1.1]
mov qword [rsp + 0x150], rax
mov eax, dword [0x1402a7870]
mov byte [rdi], 2
mov dword [rsp + 0x158], eax
xor eax, eax
mov dword [rsp + 0x1b4], eax
mov byte [rdi + 1], al
mov word [rdi + 2], ax
test rsi, rsi
je 0x1400a871a
mov rcx, qword [rsp + 0x110]
mov eax, dword [rcx + 0x58]
and eax, 0x7f
cmp eax, 2
je 0x1400a86f1
cmp eax, 1
je 0x1400a86f1
cmp eax, 4
je 0x1400a86f1
mov eax, ebx
lock xadd dword [rsi + 0x670], eax
lea r13, [rcx + 0x7e8]
mov rcx, r13
mov qword [rsp + 0x130], r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r13, qword [rsp + 0xd0]
lea r12, [r14 + 0x160]
movabs r15, 0xd6bf94d5e57a42bd
nop dword [rax]
lea rcx, [0x1402e64c8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movzx edi, word [r13]
movzx ebp, word [r14 + 0x5e]
lea rcx, [rsp + 0x108]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [rsp + 0x10c]
mov r11d, dword [rsp + 0x108]
mov dword [rsp + 0x9c], eax
mov dword [rsp + 0x98], r11d
movabs rax, 0x19db1ded53e8000
mov rcx, qword [rsp + 0x98]
sub rcx, rax
mov rax, r15
mov qword [rsp + 0x98], rcx
mul rcx
shr rdx, 0x17
movabs rax, 0xcccccccccccccccd
mov dword [rsp + 0x120], edx
imul rdx, rdx, 0x989680
sub rcx, rdx
mul rcx
shr rdx, 3
mov dword [rsp + 0x124], edx
mov rcx, r12
call fcn.14008cfa0
mov ebx, eax
test eax, eax
je 0x1400a8653
lea r9, [rsp + 0x120]
movzx r8d, di
movzx edx, bp
mov ecx, eax
call fcn.140081290
test eax, eax
je 0x1400a8653
lea rcx, [0x1402e64c8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [rsi + 0x6cf], 0
je 0x1400a869d
cmp ebx, dword [rsi + 0x4b8]
je 0x1400a85c0
mov ecx, ebx
call sub.WS2_32.dll_htonl
mov rdi, qword [rsp + 0xa8]
mov rcx, r12
mov dword [rdi + 4], eax
call fcn.14008cfa0
mov ecx, eax
call sub.WS2_32.dll_htonl
mov rcx, qword [rsp + 0x130]
mov dword [rdi + 0x10], eax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
or r8, 0xffffffffffffffff
lock xadd dword [rsi + 0x670], r8d
mov r15, qword [rsp + 0xc0]
mov r13, qword [rsp + 0xb0]
jmp 0x1400a8847
mov ecx, dword [rsi + 0x4b8]
call sub.WS2_32.dll_htonl
mov dword [rdi + 4], eax
mov ecx, dword [rsi + 0x4dc]
call sub.WS2_32.dll_htonl
mov rcx, qword [rsp + 0x98]
mov dword [rdi + 0x10], eax
jmp 0x1400a8868
mov eax, ebx
lock xadd dword [r14 + 0x3b8], eax
lea rcx, [r14 + 0x340]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x1402e64c8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsp + 0xd0]
movzx r12d, word [r14 + 0x5e]
movzx ebp, word [rax]
lea rcx, [rsp + 0x128]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [rsp + 0x12c]
mov r11d, dword [rsp + 0x128]
mov dword [rsp + 0xc4], ecx
movabs rax, 0x19db1ded53e8000
mov dword [rsp + 0xc0], r11d
mov rcx, qword [rsp + 0xc0]
sub rcx, rax
movabs rax, 0xd6bf94d5e57a42bd
mul rcx
movabs rax, 0xcccccccccccccccd
shr rdx, 0x17
mov dword [rsp + 0xe0], edx
imul rdx, rdx, 0x989680
sub rcx, rdx
mul rcx
shr rdx, 3
mov dword [rsp + 0xe4], edx
nop word [rax + rax]
lea rcx, [r14 + 0x160]
call fcn.14008cfa0
mov ebx, eax
test eax, eax
je 0x1400a87d0
lea r9, [rsp + 0xe0]
movzx r8d, bp
movzx edx, r12w
mov ecx, eax
call fcn.140081290
test eax, eax
je 0x1400a87d0
lea rcx, [0x1402e64c8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, ebx
call sub.WS2_32.dll_htonl
mov rcx, rdi
mov dword [rcx + 4], eax
lea rcx, [r14 + 0x160]
call fcn.14008cfa0
mov ecx, eax
call sub.WS2_32.dll_htonl
lea rcx, [r14 + 0x340]
mov dword [rdi + 0x10], eax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
or r8, 0xffffffffffffffff
lock xadd dword [r14 + 0x3b8], r8d
mov rcx, qword [rsp + 0xe8]
mov r12w, word [rsp + 0x94]
mov bp, word [rsp + 0x90]
mov qword [rsp + 0x98], rcx
mov eax, dword [rdi + 4]
mov dword [rsp + 0x178], eax
mov rax, qword [r14 + 0x148]
test rax, rax
jne 0x1400a8890
call fcn.140077120
mov rcx, r15
call fcn.140077120
jmp 0x1400a91d8
mov eax, dword [rax + 0x160]
mov ecx, 0x1000
cmp eax, ecx
cmova ecx, eax
call sub.WS2_32.dll_htonl
mov dword [rdi + 8], eax
movzx ecx, word [r13 + 0xe]
call qword [sym.imp.WS2_32.dll_ntohs]
test rsi, rsi
je 0x1400a88d0
movzx ecx, word [rsi + 0x68a]
cmp ecx, dword [rsi + 0x598]
ja 0x1400a88d8
mov cx, word [rsi + 0x598]
jmp 0x1400a88d8
mov cx, word [r14 + 0x210]
cmp ax, cx
jae 0x1400a88e4
movzx eax, word [r13 + 0xe]
jmp 0x1400a88e9
call sub.WS2_32.dll_htons
mov word [rdi + 0xc], ax
movzx ecx, word [r14 + 0x212]
call sub.WS2_32.dll_htons
mov word [rdi + 0xe], ax
cmp byte [r14 + 0x2b0], 0
je 0x1400a8947
mov rbx, qword [r15 + 0x10]
mov ecx, 0xc006
add rbx, 0x14
call sub.WS2_32.dll_htons
mov ecx, 8
mov word [rbx], ax
call sub.WS2_32.dll_htons
mov word [rbx + 2], ax
mov ecx, dword [r14 + 0x2ac]
call sub.WS2_32.dll_htonl
mov ebp, 0x1c
mov dword [rbx + 4], eax
mov word [rsp + 0x90], bp
test rsi, rsi
je 0x1400a8957
cmp byte [rsi + 0x6c3], 1
je 0x1400a8961
jmp 0x1400a8994
cmp byte [r14 + 0x2f8], 1
jne 0x1400a899f
movzx ebx, bp
mov ecx, 0x8000
add rbx, qword [r15 + 0x10]
call sub.WS2_32.dll_htons
mov ecx, 4
mov word [rbx], ax
call sub.WS2_32.dll_htons
add bp, 4
mov word [rsp + 0x90], bp
mov word [rbx + 2], ax
test rsi, rsi
je 0x1400a899f
cmp byte [rsi + 0x6c4], 1
je 0x1400a89a9
jmp 0x1400a89dc
cmp byte [r14 + 0x2f9], 1
jne 0x1400a89e7
movzx ebx, bp
mov ecx, 0xc000
add rbx, qword [r15 + 0x10]
call sub.WS2_32.dll_htons
mov ecx, 4
mov word [rbx], ax
call sub.WS2_32.dll_htons
add bp, 4
mov word [rsp + 0x90], bp
mov word [rbx + 2], ax
test rsi, rsi
je 0x1400a89e7
cmp byte [rsi + 0x6cb], 0
jne 0x1400a89f1
jmp 0x1400a8a3d
cmp byte [r14 + 0x300], 0
je 0x1400a8a3d
movzx ebx, bp
mov ecx, 0x8001
add rbx, qword [r15 + 0x10]
call sub.WS2_32.dll_htons
mov ecx, 8
mov word [rbx], ax
call sub.WS2_32.dll_htons
mov word [rbx + 2], ax
test rsi, rsi
je 0x1400a8a21
movzx ecx, byte [rsi + 0x6cb]
jmp 0x1400a8a29
movzx ecx, byte [r14 + 0x300]
call sub.WS2_32.dll_htonl
add bp, 8
mov dword [rbx + 4], eax
mov word [rsp + 0x90], bp
cmp dword [rsp + 0xc8], 0
je 0x1400a8a75
movzx ebx, bp
mov ecx, 0xc007
add rbx, qword [r15 + 0x10]
call sub.WS2_32.dll_htons
mov ecx, 4
mov word [rbx], ax
call sub.WS2_32.dll_htons
add bp, 4
mov word [rbx + 2], ax
mov word [rsp + 0x90], bp
xor eax, eax
movzx edi, bp
add rdi, qword [r15 + 0x10]
mov bx, ax
test rsi, rsi
je 0x1400a8a95
cmp byte [rsi + 0x6c4], 1
je 0x1400a8a9f
lea r13d, [rax + 1]
jmp 0x1400a8ad2
cmp byte [r14 + 0x2f9], 1
jne 0x1400a8add
mov r13d, 1
mov byte [rdi + 4], 0xc0
mov ebx, r13d
test rsi, rsi
je 0x1400a8abb
cmp byte [rsi + 0x6ca], bl
je 0x1400a8ac4
jmp 0x1400a8ad2
cmp byte [r14 + 0x2fb], bl
jne 0x1400a8ae3
mov byte [rdi + 5], 0xc2
mov ebx, 2
test rsi, rsi
je 0x1400a8ae3
cmp byte [rsi + 0x6c5], 1
je 0x1400a8aed
jmp 0x1400a8afd
mov r13d, 1
cmp byte [r14 + 0x2fa], 1
jne 0x1400a8b08
movzx eax, bx
inc bx
mov byte [rax + rdi + 4], reloc.WS2_32.dll_ntohs
test rsi, rsi
je 0x1400a8b08
cmp byte [rsi + 0x6c6], 1
je 0x1400a8b12
jmp 0x1400a8b2d
cmp byte [r14 + 0x2fc], 1
jne 0x1400a8b38
movzx eax, bx
inc bx
mov byte [rax + rdi + 4], 0xc1
movzx eax, bx
inc bx
mov byte [rax + rdi + 4], 0x80
test rsi, rsi
je 0x1400a8b38
cmp byte [rsi + 0x6c7], 1
je 0x1400a8b42
jmp 0x1400a8b52
cmp byte [r14 + 0x2fd], 1
jne 0x1400a8b5d
movzx eax, bx
inc bx
mov byte [rax + rdi + 4], 0x82
test rsi, rsi
je 0x1400a8b5d
cmp byte [rsi + 0x6ca], 1
je 0x1400a8b67
jmp 0x1400a8b77
cmp byte [r14 + 0x2fb], 1
jne 0x1400a8b82
movzx eax, bx
inc bx
mov byte [rax + rdi + 4], 0x40
test rsi, rsi
je 0x1400a8b82
cmp byte [rsi + 0x6c8], 1
je 0x1400a8b8c
jmp 0x1400a8b9c
cmp byte [r14 + 0x2fe], 1
jne 0x1400a8ba7
movzx eax, bx
inc bx
mov byte [rax + rdi + 4], reloc.WS2_32.dll_recv
test rsi, rsi
je 0x1400a8ba7
cmp byte [rsi + 0x6c9], 1
je 0x1400a8bb1
jmp 0x1400a8bbc
cmp byte [r14 + 0x2ff], 1
jne 0x1400a8bbc
movzx eax, bx
inc bx
mov byte [rax + rdi + 4], 0x81
test bx, bx
je 0x1400a8c03
mov ecx, 0x8008
add bx, 4
call sub.WS2_32.dll_htons
movzx ecx, bx
mov word [rdi], ax
call sub.WS2_32.dll_htons
lea r12d, [rbx + 3]
mov word [rdi + 2], ax
mov eax, 0xfffc
and r12w, ax
sub r12w, bx
add bp, bx
mov word [rsp + 0x90], bp
mov word [rsp + 0x94], r12w
test rsi, rsi
je 0x1400a8d06
cmp byte [rsi + 0x6c5], 1
je 0x1400a8d14
xor r12d, r12d
mov rdx, qword [rsp + 0x110]
movzx eax, bp
lea r8, [rsp + 0xa0]
mov dword [r15 + 0x18], eax
movzx eax, byte [rsp + 0x1ac]
mov r9, r15
mov byte [rsp + 0xa0], al
movzx eax, byte [rsp + 0x1ad]
mov rcx, r14
mov byte [rsp + 0xa1], al
movzx eax, byte [rsp + 0x1ae]
mov byte [rsp + 0xa2], al
movzx eax, byte [rsp + 0x1b2]
mov byte [rsp + 0xa3], al
movzx eax, byte [rsp + 0x1b1]
mov byte [rsp + 0xa4], al
movzx eax, byte [rsp + 0x1af]
mov byte [rsp + 0xa5], al
movzx eax, byte [rsp + 0x1b0]
mov byte [rsp + 0xa6], al
lea rax, [rsp + 0x90]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x94]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
call fcn.1400a4860
mov bp, word [rsp + 0x94]
mov rbx, rax
test bp, bp
je 0x1400a8e3b
movzx edi, word [rsp + 0x90]
movzx r8d, bp
xor edx, edx
mov rcx, rdi
add rcx, qword [r15 + 0x10]
call fcn.1401e42d0
movzx ecx, bp
add di, bp
add dword [r15 + 0x18], ecx
mov ebp, r12d
jmp 0x1400a8e43
cmp byte [r14 + 0x2fa], 1
jne 0x1400a8c19
test r12w, r12w
je 0x1400a8d30
movzx ecx, bp
movzx r8d, r12w
xor edx, edx
add rcx, qword [r15 + 0x10]
call fcn.1401e42d0
add bp, r12w
movzx ebx, bp
mov ecx, 0x8002
add rbx, qword [r15 + 0x10]
call sub.WS2_32.dll_htons
mov ecx, 0x24
mov word [rbx], ax
call sub.WS2_32.dll_htons
lea rcx, [rbx + 4]
mov edx, 0x20
mov word [rbx + 2], ax
call fcn.14000def0
mov rcx, qword [r14 + 0x1f8]
add bp, 0x24
movzx ebx, bp
add rbx, qword [r15 + 0x10]
lea rdx, [rbx + 4]
call fcn.1400bcf60
mov ecx, 0x8004
lea edi, [rax + 4]
call sub.WS2_32.dll_htons
movzx ecx, di
mov word [rbx], ax
call sub.WS2_32.dll_htons
add bp, di
mov word [rbx + 2], ax
lea ebx, [rdi + 3]
mov eax, 0xfffc
and bx, ax
sub bx, di
je 0x1400a8dbf
movzx ecx, bp
movzx r8d, bx
xor edx, edx
add rcx, qword [r15 + 0x10]
call fcn.1401e42d0
add bp, bx
mov rcx, qword [r14 + 0x1f0]
xor r12d, r12d
movzx edi, bp
add rdi, qword [r15 + 0x10]
mov ebx, r12d
lea rdx, [rdi + 4]
test rcx, rcx
je 0x1400a8df8
mov eax, r12d
nop
cmp byte [rcx], r12b
je 0x1400a8dec
mov byte [rdx], al
inc rdx
inc ebx
inc eax
inc rcx
cmp eax, 0x100
jl 0x1400a8de0
mov ecx, 0x8003
add bx, 4
call sub.WS2_32.dll_htons
movzx ecx, bx
mov word [rdi], ax
call sub.WS2_32.dll_htons
mov ecx, 0xfffc
mov word [rdi + 2], ax
lea eax, [rbx + 3]
and ax, cx
sub ax, bx
add bp, bx
mov word [rsp + 0x90], bp
mov word [rsp + 0x94], ax
jmp 0x1400a8c1c
mov di, word [rsp + 0x90]
mov rdx, qword [rsp + 0x98]
test rdx, rdx
je 0x1400a8e9e
movzx ecx, r12w
mov rax, rdx
nop word [rax + rax]
add cx, word [rax + 0x18]
mov rax, qword [rax]
test rax, rax
jne 0x1400a8e60
lea ebp, [rcx + 3]
mov r8d, 0xfffc
mov qword [rbx], rdx
and bp, r8w
mov rax, rdx
sub bp, cx
test rdx, rdx
je 0x1400a8e9b
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
test rax, rax
jne 0x1400a8e90
add di, cx
test bp, bp
je 0x1400a8ebd
movzx edx, bp
mov rcx, rbx
call fcn.14008f8d0
mov rbx, rax
test rax, rax
je 0x1400a8883
add di, bp
mov edx, dword [rsp + 0x338]
mov rcx, qword [rsp + 0x100]
lea rax, [rsp + 0x118]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x150]
xor r9d, r9d
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.1400a58e0
mov r12, rax
test rax, rax
je 0x1400a8883
mov qword [rbx], rax
xor eax, eax
mov rcx, r12
movzx edx, ax
nop dword [rax + rax]
mov rax, qword [rcx]
add dx, word [rcx + 0x18]
test rax, rax
cmove rbx, rcx
mov rcx, rax
test rax, rax
jne 0x1400a8f10
add di, dx
lea ebp, [rdx + 3]
mov eax, 0xfffc
and bp, ax
movzx ecx, di
mov word [rsp + 0x90], di
sub bp, dx
mov word [rsp + 0x94], bp
call sub.WS2_32.dll_htons
mov rcx, qword [rsp + 0xa8]
mov word [rcx + 2], ax
movsx rax, byte [r14 + 0x2c1]
mov dword [rsp + 0x30], reloc.WS2_32.dll_sendto
shl rax, 5
mov ecx, r13d
mov r9, r12
lea rdx, [rax + r14 + 0x164]
mov rax, qword [rsp + 0x118]
mov r8d, 0x20
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
call fcn.1400bd270
xor edi, edi
cmp dword [rsp + 0x18c], 4
jne 0x1400a8fc8
lea r9, [rsp + 0x140]
lea edx, [rdi + 0x30]
lea r8d, [rdi + 8]
mov rcx, r12
mov qword [rsp + 0x140], rdi
call fcn.1400777e0
cmp dword [rsp + 0x1a0], 4
jne 0x1400a8ff3
mov edx, 0x44
lea r9, [rsp + 0x138]
mov rcx, r12
lea r8d, [rdx - 0x3c]
mov qword [rsp + 0x138], rdi
call fcn.1400777e0
test bp, bp
je 0x1400a900c
movzx edx, bp
mov rcx, rbx
call fcn.14008f8d0
test rax, rax
je 0x1400a8883
cmp byte [rsp + 0x1b2], 0
mov r9, qword [rsp + 0xd8]
mov dword [rsp + 0x88], edi
mov dword [rsp + 0x80], edi
mov rax, rdi
mov rcx, r14
cmovne rax, qword [rsp + 0xf0]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xb0]
mov word [rsp + 0x70], di
mov eax, dword [rax + 4]
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0xd0]
movzx eax, word [rax]
mov word [rsp + 0x60], ax
movzx eax, word [r14 + 0x5e]
mov word [rsp + 0x58], ax
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], edi
mov word [rsp + 0x38], di
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r15
call fcn.1400a5f40
test eax, eax
je 0x1400a90c5
cmp eax, 0x2747
jne 0x1400a90d1
test rsi, rsi
je 0x1400a90ac
mov byte [rsi + 0x6df], 1
mov eax, r13d
lock xadd dword [0x1402e68e8], eax
lock xadd dword [0x1402e675c], r13d
jmp 0x1400a91d8
test rsi, rsi
je 0x1400a90d1
mov byte [rsi + 0x6df], 0
lock xadd dword [0x1402e675c], r13d
jmp 0x1400a91d8
mov rcx, rdi
call fcn.140077120
mov rcx, qword [rsp + 0x98]
call fcn.140077120
jmp 0x1400a91d8
test r15, r15
je 0x1400a9106
mov rcx, r15
call fcn.140077120
mov rcx, qword [rsp + 0x98]
call fcn.140077120
jmp 0x1400a91d8
mov rax, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xd8]
mov rbp, qword [rsp + 0x100]
mov r12, qword [rsp + 0xb0]
mov r15, rcx
test rax, rax
jne 0x1400a91aa
lea rax, str.sctp_send_initiate_ack
lea r9, str._s:_d_at__s
lea rcx, [rsp + 0x1c0]
mov qword [rsp + 0x30], rax
lea rax, str....._third_partieswebrtc_sctp_netinet_sctp_output.c
or r8, 0xffffffffffffffff
mov edx, 0x100
mov dword [rsp + 0x28], 0x17a3
mov qword [rsp + 0x20], rax
call fcn.1401e5d20
movzx ecx, byte [rsp + 0x1c0]
lea rdx, [rsp + 0x1c0]
test eax, eax
mov eax, 0
cmovs ecx, eax
mov byte [rsp + 0x1c0], cl
movzx ecx, word [0x1402e6ae0]
call fcn.1400956e0
xor ecx, ecx
mov word [rsp + 0x40], cx
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x30], rax
mov eax, dword [r12 + 4]
mov dword [rsp + 0x28], eax
mov r9, r15
mov r8, rdi
xor edx, edx
mov rcx, rbp
mov qword [rsp + 0x20], r13
call fcn.1400b6f20
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1401e42a0
mov rbx, qword [rsp + 0x320]
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret