Function at 0x1400177b8
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140322010]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rdi, qword [0x1403395c0]
xor r13d, r13d
mov rbx, rcx
mov qword [rbp - 0x19], rdi
mov r15, rdi
mov eax, dword [rdi + 0x1b18]
and byte [rcx + 0xb5], 0xfb
mov dword [rcx + 0x98], eax
mov qword [rcx + 0x90], r13
mov qword [rcx + 0x88], r13
cmp qword [rcx + 0x10], r13
jne 0x140017834
call fcn.1400176b0
mov rdi, qword [0x1403395c0]
mov rcx, qword [rbx + 0x38]
mov r12d, 1
test rcx, rcx
je 0x14001785e
mov eax, dword [rbx + 8]
shr eax, 0xc
test r12b, al
je 0x14001785e
call fcn.14001d140
mov rdi, qword [0x1403395c0]
mov qword [rbx + 0x38], r13
mov edx, dword [rbx + 0x28]
mov r10d, 0x400
cmp edx, r12d
jg 0x14001799c
cmp qword [rbx + 0x10], r13
jne 0x14001799c
test dword [rbx + 8], r10d
jne 0x14001799c
cmp qword [rbx + 0x18], r13
jne 0x14001799c
cmp byte [r15 + 0xca], r13b
jne 0x14001799c
test edx, edx
je 0x140017948
mov rax, qword [rbx + 0x30]
mov rcx, qword [rax]
cmp byte [rcx + 0x2c], r13b
jne 0x14001799c
cmp edx, r12d
jne 0x140017948
mov rdi, qword [rax]
mov eax, dword [rbx + 0xb0]
mov rcx, qword [rbx + 0x78]
and eax, 0xfffffebf
bts eax, 7
movsd xmm0, qword [rdi + 0x48]
and eax, 0xffffffd7
or eax, 0x10
movsd qword [rbx + 0x40], xmm0
movsd xmm1, qword [rdi + 0x58]
and eax, 0xfffffffa
or eax, 2
movsd qword [rbx + 0x48], xmm1
mov dword [rbx + 0xb0], eax
mov rax, rcx
test rcx, rcx
je 0x140017916
cmp qword [r15 + 0x1d70], rcx
jne 0x14001791b
mov rcx, rdi
call fcn.14000e4cc
mov rax, qword [rbx + 0x78]
test rax, rax
je 0x140017948
mov rdx, qword [rax + 0x30]
mov qword [rdi + 0x30], rdx
mov rax, qword [rbx + 0x78]
mov ecx, dword [rax + 0x38]
mov dword [rdi + 0x38], ecx
mov rax, qword [rbx + 0x78]
cmp byte [rax + 0xbe], r13b
je 0x140017948
mov qword [rdx + 0x98], rdi
mov byte [rdi + 0xbe], r12b
mov rcx, rbx
call fcn.140017338
mov al, byte [rbx + 0xb4]
and al, 0xdf
mov dword [rbx + 0xc], r12d
and al, 0xe3
mov dword [rbx + 0xac], r13d
mov byte [rbx + 0xb4], al
mov eax, dword [r15 + 0x1b18]
mov dword [rbx + 0x9c], eax
jge 0x1400181d9
cmp dword [rbx + 0x28], r12d
jne 0x1400181d9
mov rdx, qword [rbx + 0x30]
mov rcx, rbx
mov rdx, qword [rdx]
call fcn.140017644
jmp 0x1400181d9
mov cl, byte [rbx + 0xb4]
test r12b, cl
je 0x140017a2b
cmp qword [rbx + 0x78], r13
jne 0x140017a2b
cmp qword [rbx + 0x10], r13
jne 0x140017a2b
test dword [rbx + 8], r10d
jne 0x140017a2b
cmp qword [rbx + 0x18], r13
jne 0x140017a2b
mov r10d, dword [rbx + 0xa8]
test r10d, r10d
je 0x140017a00
mov r8d, r13d
test edx, edx
jle 0x140017a00
mov r11, qword [rbx + 0x30]
mov r9, r11
mov rax, qword [r9]
cmp dword [rax + 8], r10d
je 0x1400179f4
add r8d, r12d
add r9, 8
cmp r8d, edx
jl 0x1400179dd
jmp 0x140017a00
movsxd rax, r8d
mov r8, qword [r11 + rax*8]
test r8, r8
jne 0x140017a07
mov rax, qword [rbx + 0x30]
mov r8, qword [rax]
cmp byte [r8 + 0xd4], r13b
jg 0x140017a19
cmp byte [r8 + 0xd5], r13b
jle 0x140017a25
mov dword [rbx + 0xc], 2
jmp 0x1400181d9
mov r10d, 0x400
mov eax, dword [rbx + 8]
and cl, 0xef
mov r14d, eax
mov byte [rbp - 0x38], r13b
or r14d, dword [rbx + 4]
mov rsi, r13
shr eax, 0xa
xorps xmm6, xmm6
test r12b, al
je 0x140017a7b
mov rsi, qword [rbx + 0x78]
mov eax, r14d
shr eax, 0xf
shl al, 2
not al
xor al, cl
and al, 4
xor cl, al
mov eax, r14d
shr eax, 0xe
shl al, 3
not al
xor al, cl
and al, 8
xor al, cl
mov byte [rbx + 0xb4], al
jmp 0x140017d08
test edx, edx
jle 0x140017a89
mov r8b, 4
bt r14d, 0xf
jae 0x140017a8c
mov r8b, r13b
and cl, 0xfb
or cl, r8b
test edx, edx
jle 0x140017a9f
mov al, 8
bt r14d, 0xe
jae 0x140017aa2
mov al, r13b
and cl, 0xf7
mov r9d, r13d
or cl, al
mov byte [rbx + 0xb4], cl
test edx, edx
jle 0x140017b01
mov r8, r13
mov rax, qword [rbx + 0x30]
cmp dword [rbx + 0x28], r12d
setg cl
add r9d, r12d
mov rdx, qword [r8 + rax]
lea r8, [r8 + 8]
mov al, byte [rdx + 0x472]
and al, 0xfe
or cl, al
mov byte [rdx + 0x472], cl
mov al, byte [rbx + 0xb4]
mov cl, byte [rdx + 0xc8]
shl cl, 4
or cl, al
xor cl, al
and cl, 0x10
xor cl, al
mov byte [rbx + 0xb4], cl
cmp r9d, dword [rbx + 0x28]
jl 0x140017ab7
mov rax, qword [rbx + 0x10]
test rax, rax
jne 0x140017cda
test r12b, cl
je 0x140017cd5
cmp dword [rbx + 0x28], r13d
jle 0x140017b26
mov rax, qword [rbx + 0x30]
mov rcx, qword [rax]
jmp 0x140017b29
mov rcx, r13
mov eax, dword [rbx + 0xb0]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x140017b4d
test rcx, rcx
je 0x140017b7b
or dword [rdi + 0x1c40], r12d
movsd xmm0, qword [rcx + 0x48]
jmp 0x140017b5e
cmp eax, r12d
jne 0x140017b7b
or dword [rdi + 0x1c40], r12d
movsd xmm0, qword [rbx + 0x40]
mov byte [rdi + 0x1c7c], r12b
mov dword [rdi + 0x1c44], r12d
mov qword [rdi + 0x1c5c], r13
movsd qword [rdi + 0x1c54], xmm0
mov eax, dword [rbx + 0xb0]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x140017b9e
test rcx, rcx
je 0x140017bbe
or dword [rdi + 0x1c40], eax
movsd xmm0, qword [rcx + 0x58]
jmp 0x140017baf
cmp eax, r12d
jne 0x140017bbe
or dword [rdi + 0x1c40], 2
movsd xmm0, qword [rbx + 0x48]
mov dword [rdi + 0x1c48], r12d
movsd qword [rdi + 0x1c64], xmm0
mov edx, dword [rbx + 0xb0]
mov eax, edx
and al, 0x38
cmp al, 0x10
jne 0x140017bf1
test rcx, rcx
je 0x140017bf1
mov al, byte [rcx + 0xc2]
or dword [rdi + 0x1c40], 8
mov byte [rdi + 0x1c7d], al
mov dword [rdi + 0x1c4c], r12d
mov edx, dword [rbx + 0xb0]
and edx, 0x1c0
cmp edx, 0x80
jne 0x140017c15
test rcx, rcx
je 0x140017c15
mov eax, dword [rcx + 0x38]
bts dword [rdi + 0x1c40], 8
mov dword [rdi + 0x1ca4], eax
or dword [rdi + 0x1c40], r10d
lea r8, str.DockNode__02X
movups xmm0, xmmword [rbx + 0x5c]
mov edx, reloc.WS2_32.dll_sendto
lea rcx, [rbp + 7]
movups xmmword [rdi + 0x1cac], xmm0
movsd xmm1, qword [rbx + 0x6c]
movsd qword [rdi + 0x1cbc], xmm1
mov eax, dword [rbx + 0x74]
mov dword [rdi + 0x1cc4], eax
mov r9d, dword [rbx]
call fcn.140002950
and dword [rbp - 0x29], r13d
lea rdx, [rbp - 0x29]
and dword [rbp - 0x25], r13d
mov ecx, r12d
call fcn.140003518
xor edx, edx
lea rcx, [rbp + 7]
mov r8d, 0x20081139
call fcn.14000be1c
mov ecx, r12d
call fcn.1400035a4
mov rsi, qword [r15 + 0x1b90]
mov qword [rbx + 0x78], rsi
mov byte [rbp - 0x38], r12b
movsd xmm0, qword [rsi + 0x48]
movsd qword [rsi + 0x118], xmm0
mov qword [rsi + 0x450], rbx
mov rcx, qword [rbx + 0x78]
movsd qword [rbx + 0x40], xmm0
movsd xmm0, qword [rsi + 0x50]
movsd qword [rbx + 0x48], xmm0
cmp byte [rcx + 0xc5], r13b
je 0x140017cc6
call fcn.14000e42c
mov cl, byte [rbx + 0xb4]
mov rdi, qword [0x1403395c0]
jmp 0x140017ce2
test rax, rax
je 0x140017cec
mov rsi, qword [rax + 0x78]
mov qword [rbx + 0x78], rsi
and dword [rbx + 0xb0], 0xfffffe00
test cl, cl
jns 0x140017d08
mov rdx, qword [rbx + 0x78]
test rdx, rdx
je 0x140017d08
mov rcx, rbx
call fcn.140017644
mov rdi, qword [0x1403395c0]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
jne 0x140017d8c
mov rax, qword [r15 + 0x1d70]
test rax, rax
je 0x140017d41
mov rdx, qword [rax + 0x3f0]
mov rax, qword [rdx + 0x448]
test rax, rax
je 0x140017d41
cmp qword [rdx + 0x3e0], rsi
jne 0x140017d41
mov eax, dword [rax]
mov dword [rbx + 0xa4], eax
test rsi, rsi
je 0x140017d8c
mov r12d, r14d
and r12d, 8
je 0x140017d8c
mov rdx, qword [rsi + 0x318]
mov byte [rbp - 0x39], 1
lea rcx, [rdx + 0xa8]
call fcn.140025864
mov rdx, qword [rsi + 0x318]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.140025d48
mov rcx, qword [rbx + 0x10]
mov rdi, qword [0x1403395c0]
jmp 0x140017d97
mov r12d, r14d
mov byte [rbp - 0x39], r13b
and r12d, 8
mov r14, qword [rbx + 0x88]
test rcx, rcx
jne 0x140017f03
test rsi, rsi
je 0x140017f03
test r12d, r12d
je 0x140017f03
test r14, r14
je 0x140017f03
cmp qword [r14 + 0x18], r13
jne 0x140017f03
cmp dword [r14 + 0x28], r13d
jne 0x140017f03
mov al, byte [rdi + 0x1ef4]
lea rcx, [rdi + 0x1f08]
neg al
mov r13b, 1
sbb r15, r15
and r15, rcx
je 0x140017e21
cmp dword [r15 + 0x14], 0xffffffff
je 0x140017e21
lea rdx, [r15 + 0x18]
lea rcx, str._IMWINDOW
call fcn.140170120
test eax, eax
jne 0x140017e21
mov rdx, qword [r15]
mov rcx, rsi
mov rdx, qword [rdx]
call fcn.140018ce0
test al, al
jne 0x140017ef9
movss xmm2, dword [r14 + 0x40]
movss xmm1, dword [r14 + 0x44]
movaps xmm4, xmm2
addss xmm2, dword [r14 + 0x48]
subss xmm4, dword [0x14030f5e8]
movaps xmm3, xmm1
addss xmm1, dword [r14 + 0x4c]
subss xmm3, dword [0x14030f5e8]
subss xmm2, dword [0x14030f490]
subss xmm1, dword [0x14030f490]
comiss xmm4, xmm2
ja 0x140017ef9
comiss xmm3, xmm1
ja 0x140017ef9
mov rcx, qword [rsi + 0x3e0]
subss xmm1, xmm3
subss xmm2, xmm4
movaps xmm0, xmm4
cvttss2si edx, xmm1
cvttss2si r8d, xmm2
mov word [rbp - 0x27], dx
movaps xmm1, xmm3
mov word [rbp - 0x29], r8w
mov eax, dword [rbp - 0x29]
mov dword [rsi + 0x2d0], eax
subss xmm0, dword [rsi + 0x48]
subss xmm1, dword [rsi + 0x4c]
cvttss2si eax, xmm0
mov word [rbp - 0x29], ax
cvttss2si eax, xmm1
mov word [rbp - 0x27], ax
mov eax, dword [rbp - 0x29]
mov dword [rsi + 0x2d4], eax
mov word [rbp - 0x29], r8w
mov word [rbp - 0x27], dx
mov eax, dword [rbp - 0x29]
mov dword [rcx + 0x2d0], eax
subss xmm4, dword [rcx + 0x48]
subss xmm3, dword [rcx + 0x4c]
cvttss2si eax, xmm4
mov word [rbp - 0x29], ax
cvttss2si eax, xmm3
mov word [rbp - 0x27], ax
mov eax, dword [rbp - 0x29]
mov dword [rcx + 0x2d4], eax
mov rax, qword [rbx + 0x10]
mov r15, qword [rbp - 0x19]
jmp 0x140017f10
mov rax, qword [rbx + 0x10]
test rsi, rsi
je 0x140017fbb
test rax, rax
jne 0x140017f37
mov r8, qword [rsi + 0x50]
xor r9d, r9d
mov rdx, qword [rsi + 0x48]
mov rcx, rbx
call fcn.14001a028
mov rcx, rbx
call fcn.14001a3bc
mov rdi, qword [0x1403395c0]
cmp qword [rbx + 0x18], 0
jne 0x140017fbb
cmp dword [rbx + 0x28], 0
jne 0x140017fbb
test byte [rbx + 0xb4], 1
je 0x140017fbb
test r12d, r12d
jne 0x140017fbb
movdqu xmm0, xmmword [rdi + 0x196c]
lea rcx, [rbp - 0x29]
movss xmm1, dword [rbx + 0x4c]
addss xmm1, dword [rbx + 0x44]
movups xmmword [rbp - 0x29], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rdi + 0x1640]
movss dword [rbp - 0x15], xmm1
movss dword [rbp - 0x1d], xmm0
movss xmm0, dword [rbx + 0x48]
addss xmm0, dword [rbx + 0x40]
movss dword [rbp - 0x19], xmm0
call fcn.1400030ec
mov rcx, qword [rsi + 0x318]
lea rdx, [rbx + 0x40]
mov r9d, eax
mov dword [rsp + 0x28], reloc.WS2_32.dll_ntohs
lea r8, [rbp - 0x19]
movss dword [rsp + 0x20], xmm6
call fcn.14002537c
xor edi, edi
cmp byte [rbp - 0x39], dil
je 0x14001810f
test byte [rbx + 0xb4], 1
je 0x14001810f
mov rdx, qword [rsi + 0x318]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.140025d48
mov rax, qword [0x1403395c0]
lea r10, [rbx + 0x40]
lea rcx, [rbp - 9]
test r13b, r13b
je 0x140018097
movss xmm0, dword [r14 + 0x40]
movss xmm1, dword [r14 + 0x44]
movss xmm2, dword [rbx + 0x44]
movss dword [rbp - 0x19], xmm0
addss xmm0, dword [r14 + 0x48]
movss dword [rbp - 0x15], xmm1
addss xmm1, dword [r14 + 0x4c]
movss dword [rbp - 0x25], xmm2
addss xmm2, dword [rbx + 0x4c]
movss dword [rbp - 0x11], xmm0
movss xmm0, dword [r10]
movss dword [rbp - 0x29], xmm0
addss xmm0, dword [rbx + 0x48]
movss dword [rbp - 0xd], xmm1
movss dword [rbp - 0x1d], xmm2
movss dword [rbp - 0x21], xmm0
movdqu xmm0, xmmword [rax + 0x171c]
movups xmmword [rbp - 9], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1640]
movss dword [rbp + 3], xmm0
call fcn.1400030ec
mov rcx, qword [rsi + 0x318]
lea rdx, [rbp - 0x29]
mov r9d, eax
movss dword [rsp + 0x20], xmm6
lea r8, [rbp - 0x19]
call fcn.14002a15c
jmp 0x1400180fc
movdqu xmm0, xmmword [rax + 0x171c]
movss xmm1, dword [rbx + 0x4c]
addss xmm1, dword [r10 + 4]
movups xmmword [rbp - 9], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1640]
movss dword [rbp - 0x15], xmm1
movss dword [rbp + 3], xmm0
movss xmm0, dword [rbx + 0x48]
addss xmm0, dword [r10]
movss dword [rbp - 0x19], xmm0
call fcn.1400030ec
mov rcx, qword [rsi + 0x318]
lea r8, [rbp - 0x19]
mov r9d, eax
mov dword [rsp + 0x28], reloc.WS2_32.dll_ntohs
mov rdx, r10
movss dword [rsp + 0x20], xmm6
call fcn.14002537c
mov rdx, qword [rsi + 0x318]
lea rcx, [rdx + 0xa8]
call fcn.1400259ec
test rsi, rsi
je 0x140018126
cmp dword [rbx + 0x28], edi
jle 0x140018126
mov rdx, rsi
mov rcx, rbx
call fcn.1400183c0
jmp 0x14001813c
mov al, byte [rbx + 0xb4]
and al, 0xdf
mov dword [rbx + 0xac], edi
and al, 0xfd
mov byte [rbx + 0xb4], al
mov rax, qword [rbx + 0x38]
test rax, rax
je 0x14001814c
mov eax, dword [rax + 0x18]
test eax, eax
jne 0x14001815b
cmp dword [rbx + 0x28], edi
jle 0x140018161
mov rax, qword [rbx + 0x30]
mov rcx, qword [rax]
mov eax, dword [rcx + 8]
mov dword [rbx + 0xa8], eax
test rsi, rsi
je 0x140018192
test byte [rbx + 0xb4], 1
je 0x140018192
cmp qword [rbx + 0x10], rdi
jne 0x140018192
mov rax, qword [r15 + 0x1bb8]
test rax, rax
je 0x14001818a
cmp qword [rax + 0x3e8], rsi
je 0x140018192
mov rcx, rsi
call fcn.14001b22c
mov eax, dword [r15 + 0x1b18]
mov dword [rbx + 0x9c], eax
test rsi, rsi
je 0x1400181ce
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400181b2
call fcn.1400177b8
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400181c0
call fcn.1400177b8
cmp qword [rbx + 0x10], rdi
jne 0x1400181ce
mov rcx, rsi
call fcn.14000ac6c
cmp byte [rbp - 0x38], dil
je 0x1400181d9
call fcn.14000e328
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400607e0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret