Function at 0x1400701e0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
push r13
push r15
lea rbp, [rsp - 0x3f]
sub rsp, 0xa8
mov rax, qword [0x1403a1b88]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r13, qword [0x1403daf08]
xor r15d, r15d
mov rdi, rcx
mov qword [rbp - 0x19], r13
mov eax, dword [r13 + 0x1b68]
and byte [rcx + 0xb5], 0xfb
mov dword [rcx + 0x98], eax
mov qword [rcx + 0x90], r15
mov qword [rcx + 0x88], r15
cmp qword [rcx + 0x10], r15
jne 0x14007036e
call fcn.140071bd0
mov ecx, r15d
mov edx, r15d
mov qword [rbp + 0xf], rcx
mov dword [rbp + 0x17], edx
cmp dword [rdi + 0x28], r15d
jle 0x140070265
mov rcx, rdi
mov edx, 1
mov qword [rbp + 0xf], rcx
mov dword [rbp + 0x17], edx
mov eax, dword [rdi + 8]
shr eax, 0xb
test al, 1
mov rax, r15
cmovne rax, rdi
mov qword [rbp + 7], rax
cmp edx, 1
jle 0x140070282
test rax, rax
jne 0x1400702c2
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x1400702a2
lea rdx, [rbp + 7]
mov rcx, r8
call fcn.14006da40
mov edx, dword [rbp + 0x17]
mov rcx, qword [rbp + 0xf]
mov rax, qword [rbp + 7]
mov r8, qword [rdi + 0x20]
test r8, r8
je 0x1400702c2
lea rdx, [rbp + 7]
mov rcx, r8
call fcn.14006da40
mov edx, dword [rbp + 0x17]
mov rcx, qword [rbp + 0xf]
mov rax, qword [rbp + 7]
mov qword [rdi + 0x88], rax
cmp edx, 1
mov rax, r15
cmove rax, rcx
mov qword [rdi + 0x90], rax
cmp dword [rdi + 0xa4], r15d
jne 0x1400702f4
test rcx, rcx
je 0x14007036e
mov eax, dword [rcx]
mov dword [rdi + 0xa4], eax
test rcx, rcx
je 0x14007036e
mov rax, qword [rcx + 0x30]
mov r8d, 1
mov rax, qword [rax]
movups xmm0, xmmword [rax + 0x14]
movups xmmword [rdi + 0x5c], xmm0
movsd xmm1, qword [rax + 0x24]
movsd qword [rdi + 0x6c], xmm1
mov eax, dword [rax + 0x2c]
mov dword [rdi + 0x74], eax
movsxd rax, dword [rcx + 0x28]
cmp eax, r8d
jle 0x14007036e
mov r10, qword [rcx + 0x30]
mov r9, rax
mov edx, r8d
lea rcx, [r10 + 8]
mov rax, qword [rcx]
cmp byte [rax + 0x2d], r15b
je 0x14007034f
inc r8d
inc rdx
add rcx, 8
cmp rdx, r9
jl 0x140070335
jmp 0x14007036e
movsxd rax, r8d
mov rax, qword [r10 + rax*8]
movups xmm0, xmmword [rax + 0x14]
movups xmmword [rdi + 0x5c], xmm0
movsd xmm1, qword [rax + 0x24]
movsd qword [rdi + 0x6c], xmm1
mov eax, dword [rax + 0x2c]
mov dword [rdi + 0x74], eax
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14007038a
mov eax, dword [rdi + 8]
shr eax, 0xc
test al, 1
je 0x14007038a
call fcn.140062b40
mov qword [rdi + 0x38], r15
mov r8d, dword [rdi + 0x28]
mov qword [rsp + 0xd8], rbx
mov qword [rsp + 0xe0], rsi
cmp r8d, 1
jg 0x1400704d9
cmp qword [rdi + 0x10], r15
jne 0x1400704d9
test dword [rdi + 8], 0x400
jne 0x1400704d9
cmp qword [rdi + 0x18], r15
jne 0x1400704d9
cmp byte [r13 + 0xca], r15b
jne 0x1400704d9
lea rsi, [rdi + 0x30]
test r8d, r8d
je 0x140070482
mov rax, qword [rsi]
mov rcx, qword [rax]
cmp byte [rcx + 0x2c], r15b
jne 0x1400704d9
cmp r8d, 1
jne 0x140070482
mov eax, dword [rdi + 0xb0]
mov rbx, rcx
movsd xmm0, qword [rcx + 0x48]
and eax, 0xfffffebf
bts eax, 7
movsd qword [rdi + 0x40], xmm0
movsd xmm1, qword [rcx + 0x58]
and eax, 0xffffffd7
or eax, 0x10
movsd qword [rdi + 0x48], xmm1
and eax, 0xfffffffa
or eax, 2
mov dword [rdi + 0xb0], eax
mov rax, qword [rdi + 0x78]
test rax, rax
je 0x14007044c
cmp qword [r13 + 0x1dc0], rax
jne 0x14007044c
call fcn.140074e10
mov rax, qword [rdi + 0x78]
test rax, rax
je 0x140070482
mov rdx, qword [rax + 0x30]
mov qword [rbx + 0x30], rdx
mov rax, qword [rdi + 0x78]
mov ecx, dword [rax + 0x38]
mov dword [rbx + 0x38], ecx
mov rax, qword [rdi + 0x78]
cmp byte [rax + 0xbe], r15b
je 0x140070482
mov qword [rdx + 0x98], rbx
mov byte [rbx + 0xbe], 1
mov rcx, rdi
call fcn.14006dab0
movzx eax, byte [rdi + 0xb4]
and al, 0xdf
mov dword [rdi + 0xc], 1
and al, 0xe3
mov dword [rdi + 0xac], r15d
mov byte [rdi + 0xb4], al
mov eax, dword [r13 + 0x1b68]
mov dword [rdi + 0x9c], eax
jge 0x140070e01
cmp dword [rdi + 0x28], 1
jne 0x140070e01
mov rdx, qword [rsi]
mov rcx, rdi
mov rdx, qword [rdx]
call fcn.14006ef90
jmp 0x140070e01
test byte [rdi + 0xb4], 1
je 0x140070567
cmp qword [rdi + 0x78], r15
jne 0x140070567
cmp qword [rdi + 0x10], r15
jne 0x140070567
test dword [rdi + 8], 0x400
jne 0x140070567
cmp qword [rdi + 0x18], r15
jne 0x140070567
mov r9d, dword [rdi + 0xa8]
test r9d, r9d
je 0x140070542
mov ecx, r15d
test r8d, r8d
jle 0x140070542
mov r10, qword [rdi + 0x30]
mov rdx, r10
nop dword [rax]
mov rax, qword [rdx]
cmp dword [rax + 8], r9d
je 0x140070536
inc ecx
add rdx, 8
cmp ecx, r8d
jl 0x140070520
jmp 0x140070542
movsxd rax, ecx
mov rcx, qword [r10 + rax*8]
test rcx, rcx
jne 0x140070549
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
cmp byte [rcx + 0xd4], r15b
jg 0x14007055b
cmp byte [rcx + 0xd5], r15b
jle 0x140070567
mov dword [rdi + 0xc], 2
jmp 0x140070e01
mov eax, dword [rdi + 8]
mov rsi, r15
movzx edx, byte [rdi + 0xb4]
mov qword [rsp + 0xa0], r14
mov r14d, eax
or r14d, dword [rdi + 4]
shr eax, 0xa
movaps xmmword [rsp + 0x90], xmm6
mov byte [rbp - 0x38], sil
test al, 1
je 0x1400705cb
mov rsi, qword [rdi + 0x78]
and dl, 0xef
mov ecx, r14d
mov eax, r14d
shr ecx, 0xf
shl cl, 2
shr eax, 0xe
not cl
shl al, 3
xor cl, dl
not al
and cl, 4
xor cl, dl
xor al, cl
and al, 8
xor al, cl
mov byte [rdi + 0xb4], al
jmp 0x1400708df
test r8d, r8d
jle 0x1400705e2
bt r14d, 0xf
jb 0x1400705e2
and dl, 0xef
or dl, 4
movzx eax, dl
jmp 0x1400705ed
and dl, 0xeb
movzx eax, dl
test r8d, r8d
jle 0x140070601
bt r14d, 0xe
jb 0x140070601
or al, 8
mov r9d, r15d
mov byte [rdi + 0xb4], al
jmp 0x140070612
and dl, 0xf7
mov r9d, r15d
mov byte [rdi + 0xb4], dl
test r8d, r8d
jle 0x140070671
mov r10, r15
nop word [rax + rax]
mov rax, qword [rdi + 0x30]
lea r10, [r10 + 8]
cmp r8d, 1
setg cl
inc r9d
mov rdx, qword [r10 + rax - 8]
movzx eax, byte [rdx + 0x472]
and al, 0xfe
or cl, al
mov byte [rdx + 0x472], cl
movzx edx, byte [rdx + 0xc8]
movzx eax, byte [rdi + 0xb4]
shl dl, 4
or dl, al
and al, 0xef
and dl, 0x10
xor dl, al
mov byte [rdi + 0xb4], dl
mov r8d, dword [rdi + 0x28]
cmp r9d, r8d
jl 0x140070620
mov rax, qword [rdi + 0x10]
test rax, rax
jne 0x1400708b3
test dl, 1
je 0x1400708c5
cmp dword [rdi + 0x28], esi
jle 0x140070695
mov rax, qword [rdi + 0x30]
mov rdx, qword [rax]
jmp 0x140070698
mov rdx, r15
mov eax, dword [rdi + 0xb0]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x1400706c3
test rdx, rdx
je 0x1400706fb
mov rax, qword [0x1403daf08]
or dword [rax + 0x1c90], 1
movsd xmm0, qword [rdx + 0x48]
jmp 0x1400706db
cmp eax, 1
jne 0x1400706fb
mov rax, qword [0x1403daf08]
or dword [rax + 0x1c90], 1
movsd xmm0, qword [rdi + 0x40]
mov byte [rax + 0x1ccc], 1
mov dword [rax + 0x1c94], 1
mov qword [rax + 0x1cac], r15
movsd qword [rax + 0x1ca4], xmm0
mov eax, dword [rdi + 0xb0]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x140070726
test rdx, rdx
je 0x140070750
mov rax, qword [0x1403daf08]
or dword [rax + 0x1c90], 2
movsd xmm0, qword [rdx + 0x58]
jmp 0x14007073e
cmp eax, 1
jne 0x140070750
mov rax, qword [0x1403daf08]
or dword [rax + 0x1c90], 2
movsd xmm0, qword [rdi + 0x48]
mov dword [rax + 0x1c98], 1
movsd qword [rax + 0x1cb4], xmm0
mov eax, dword [rdi + 0xb0]
and al, 0x38
cmp al, 0x10
jne 0x140070786
test rdx, rdx
je 0x140070786
mov rcx, qword [0x1403daf08]
movzx eax, byte [rdx + 0xc2]
or dword [rcx + 0x1c90], 8
mov byte [rcx + 0x1ccd], al
mov dword [rcx + 0x1c9c], 1
mov eax, dword [rdi + 0xb0]
and eax, 0x1c0
cmp eax, 0x80
jne 0x1400707b7
test rdx, rdx
je 0x1400707b7
mov rax, qword [0x1403daf08]
mov ecx, dword [rdx + 0x38]
or dword [rax + 0x1c90], 0x100
mov dword [rax + 0x1cf4], ecx
mov rcx, qword [0x1403daf08]
lea r8, str.DockNode__02X
mov edx, reloc.WS2_32.dll_sendto
or dword [rcx + 0x1c90], 0x400
movups xmm0, xmmword [rdi + 0x5c]
movups xmmword [rcx + 0x1cfc], xmm0
movsd xmm1, qword [rdi + 0x6c]
movsd qword [rcx + 0x1d0c], xmm1
mov eax, dword [rdi + 0x74]
mov dword [rcx + 0x1d14], eax
lea rcx, [rbp + 7]
mov r9d, dword [rdi]
call fcn.140076520
mov rbx, qword [0x1403daf08]
lea rdx, [rbp - 0x29]
mov dword [rbp - 0x29], 1
movss xmm1, dword [rbx + 0x1644]
lea rcx, [rbx + 0x1d48]
movss xmm0, dword [rbx + 0x1648]
movss dword [rbp - 0x25], xmm1
movss dword [rbp - 0x21], xmm0
call fcn.140086090
xor edx, edx
mov qword [rbx + 0x1644], r15
mov r8d, 0x20081139
lea rcx, [rbp + 7]
call fcn.140065b00
mov ecx, 1
call fcn.14007cdd0
mov rsi, qword [r13 + 0x1be0]
mov qword [rdi + 0x78], rsi
mov byte [rbp - 0x38], 1
movss xmm0, dword [rsi + 0x48]
movss xmm1, dword [rsi + 0x4c]
movss dword [rsi + 0x118], xmm0
movss dword [rsi + 0x11c], xmm1
mov qword [rsi + 0x450], rdi
mov rcx, qword [rdi + 0x78]
movss dword [rdi + 0x40], xmm0
movss dword [rdi + 0x44], xmm1
movsd xmm0, qword [rsi + 0x50]
movsd qword [rdi + 0x48], xmm0
cmp byte [rcx + 0xc5], r15b
je 0x1400708bb
call fcn.1400698c0
jmp 0x1400708bb
mov rsi, qword [rax + 0x78]
mov qword [rdi + 0x78], rsi
and dword [rdi + 0xb0], 0xfffffe00
cmp byte [rdi + 0xb4], r15b
jge 0x1400708df
mov rdx, qword [rdi + 0x78]
test rdx, rdx
je 0x1400708df
mov rcx, rdi
call fcn.14006ef90
cmp qword [rdi + 0x10], r15
jne 0x14007095c
mov rax, qword [r13 + 0x1dc0]
test rax, rax
je 0x140070915
mov rcx, qword [rax + 0x3f0]
mov rax, qword [rcx + 0x448]
test rax, rax
je 0x140070915
cmp qword [rcx + 0x3e0], rsi
jne 0x140070915
mov eax, dword [rax]
mov dword [rdi + 0xa4], eax
test rsi, rsi
je 0x14007095c
mov ebx, r14d
and ebx, 8
je 0x14007095c
mov rdx, qword [rsi + 0x318]
mov r8d, 2
mov byte [rbp - 0x39], 1
lea rcx, [rdx + 0xa8]
call fcn.14008ed50
mov rdx, qword [rsi + 0x318]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.14008ec20
mov cl, 1
jmp 0x140070968
xor cl, cl
and r14d, 8
mov byte [rbp - 0x39], cl
mov ebx, r14d
cmp qword [rdi + 0x10], 0
mov edx, ebx
mov r15, qword [rdi + 0x88]
xorps xmm6, xmm6
mov qword [rsp + 0xe8], r12
jne 0x140070aff
test rsi, rsi
je 0x140070aff
test ebx, ebx
je 0x140070aff
test r15, r15
je 0x140070aff
cmp qword [r15 + 0x18], 0
jne 0x140070aff
cmp dword [r15 + 0x28], 0
jne 0x140070aff
mov rax, qword [0x1403daf08]
mov r12b, 1
movzx r14d, cl
cmp byte [rax + 0x1f44], 0
lea r13, [rax + 0x1f58]
mov eax, 0
cmove r13, rax
test r13, r13
je 0x140070a29
cmp dword [r13 + 0x14], 0xffffffff
je 0x140070a23
lea rdx, [r13 + 0x18]
lea rcx, str._IMWINDOW
call fcn.1402905e0
test eax, eax
jne 0x140070a1d
mov rdx, qword [r13]
mov rcx, rsi
movzx r14d, byte [rbp - 0x39]
mov rdx, qword [rdx]
call fcn.14006db20
test al, al
je 0x140070a29
mov rax, qword [rdi + 0x10]
jmp 0x140070b13
movzx ecx, byte [rbp - 0x39]
mov edx, ebx
movzx r14d, cl
mov ebx, edx
movss xmm2, dword [r15 + 0x40]
movss xmm1, dword [r15 + 0x44]
movaps xmm4, xmm2
addss xmm2, dword [r15 + 0x48]
subss xmm4, dword [0x1402c2d98]
movaps xmm3, xmm1
addss xmm1, dword [r15 + 0x4c]
subss xmm3, dword [0x1402c2d98]
subss xmm2, dword [0x1402c2d4c]
subss xmm1, dword [0x1402c2d4c]
comiss xmm4, xmm2
ja 0x140070a14
comiss xmm3, xmm1
ja 0x140070a14
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 [rdi + 0x10]
jmp 0x140070b13
mov rax, qword [rdi + 0x10]
xor r12b, r12b
movzx r14d, cl
test rsi, rsi
je 0x140070bdc
movzx ecx, r14b
mov byte [rbp - 0x39], cl
test rax, rax
jne 0x140070b3e
mov r8, qword [rsi + 0x50]
xor r9d, r9d
mov rdx, qword [rsi + 0x48]
mov rcx, rdi
call fcn.14006f780
mov rcx, rdi
call fcn.14006fa80
movzx ecx, r14b
cmp qword [rdi + 0x18], 0
jne 0x140070bd8
cmp dword [rdi + 0x28], 0
jne 0x140070bd8
test byte [rdi + 0xb4], 1
movzx r14d, cl
je 0x140070bd8
test ebx, ebx
jne 0x140070bd8
mov rax, qword [0x1403daf08]
lea rcx, [rbp - 9]
movss xmm1, dword [rdi + 0x44]
addss xmm1, dword [rdi + 0x4c]
movups xmm0, xmmword [rax + 0x196c]
movups xmmword [rbp - 9], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1640]
movss dword [rbp - 0x25], xmm1
movss dword [rbp + 3], xmm0
movss xmm0, dword [rdi + 0x40]
addss xmm0, dword [rdi + 0x48]
movss dword [rbp - 0x29], xmm0
call fcn.14006ae20
mov rcx, qword [rsi + 0x318]
lea r8, [rbp - 0x29]
mov r9d, eax
mov dword [rsp + 0x28], reloc.WS2_32.dll_ntohs
lea rdx, [rdi + 0x40]
movss dword [rsp + 0x20], xmm6
call fcn.1400895e0
movzx r14d, byte [rbp - 0x39]
mov r13, qword [rbp - 0x19]
test r14b, r14b
mov r14, qword [rsp + 0xa0]
je 0x140070d0f
test byte [rdi + 0xb4], 1
je 0x140070d0f
mov rdx, qword [rsi + 0x318]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.14008ec20
mov rax, qword [0x1403daf08]
lea rcx, [rbp - 9]
movups xmm0, xmmword [rax + 0x171c]
movups xmmword [rbp - 9], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1640]
movss dword [rbp + 3], xmm0
test r12b, r12b
je 0x140070cb4
movss xmm1, dword [r15 + 0x40]
movss xmm2, dword [r15 + 0x44]
movss xmm0, dword [rdi + 0x40]
movss xmm3, dword [rdi + 0x44]
movss dword [rbp - 0x19], xmm1
addss xmm1, dword [r15 + 0x48]
movss dword [rbp - 0x15], xmm2
addss xmm2, dword [r15 + 0x4c]
movss dword [rbp - 0x29], xmm0
addss xmm0, dword [rdi + 0x48]
movss dword [rbp - 0x25], xmm3
addss xmm3, dword [rdi + 0x4c]
movss dword [rbp - 0x11], xmm1
movss dword [rbp - 0xd], xmm2
movss dword [rbp - 0x21], xmm0
movss dword [rbp - 0x1d], xmm3
call fcn.14006ae20
mov rcx, qword [rsi + 0x318]
lea r8, [rbp - 0x19]
mov r9d, eax
movss dword [rsp + 0x20], xmm6
lea rdx, [rbp - 0x29]
call fcn.14008e1a0
jmp 0x140070cfc
movss xmm0, dword [rdi + 0x48]
movss xmm1, dword [rdi + 0x44]
addss xmm0, dword [rdi + 0x40]
addss xmm1, dword [rdi + 0x4c]
movss dword [rbp - 0x19], xmm0
movss dword [rbp - 0x15], xmm1
call fcn.14006ae20
mov rcx, qword [rsi + 0x318]
lea r8, [rbp - 0x19]
mov r9d, eax
mov dword [rsp + 0x28], reloc.WS2_32.dll_ntohs
lea rdx, [rdi + 0x40]
movss dword [rsp + 0x20], xmm6
call fcn.1400895e0
mov rdx, qword [rsi + 0x318]
lea rcx, [rdx + 0xa8]
call fcn.14008c430
movaps xmm6, xmmword [rsp + 0x90]
mov r12, qword [rsp + 0xe8]
test rsi, rsi
je 0x140070d37
cmp dword [rdi + 0x28], 0
jle 0x140070d37
mov rdx, rsi
mov rcx, rdi
call fcn.140070e30
jmp 0x140070d52
movzx eax, byte [rdi + 0xb4]
and al, 0xdf
mov dword [rdi + 0xac], 0
and al, 0xfd
mov byte [rdi + 0xb4], al
mov rax, qword [rdi + 0x38]
test rax, rax
je 0x140070d62
mov eax, dword [rax + 0x18]
test eax, eax
jne 0x140070d72
cmp dword [rdi + 0x28], 0
jle 0x140070d78
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
mov eax, dword [rcx + 8]
mov dword [rdi + 0xa8], eax
test rsi, rsi
je 0x140070db9
test byte [rdi + 0xb4], 1
je 0x140070db9
cmp qword [rdi + 0x10], 0
jne 0x140070db9
mov rax, qword [r13 + 0x1c08]
test rax, rax
je 0x140070da2
cmp qword [rax + 0x3e8], rsi
je 0x140070db9
mov rcx, rsi
call fcn.1400687b0
mov eax, dword [r13 + 0x1b68]
mov dword [rdi + 0x9c], eax
jmp 0x140070dcb
mov eax, dword [r13 + 0x1b68]
mov dword [rdi + 0x9c], eax
test rsi, rsi
je 0x140070df6
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x140070dd9
call fcn.1400701e0
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140070de7
call fcn.1400701e0
cmp qword [rdi + 0x10], 0
jne 0x140070df6
mov rcx, rsi
call fcn.14007f8d0
cmp byte [rbp - 0x38], 0
je 0x140070e01
call fcn.140072c20
mov rsi, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0xd8]
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140279b70
add rsp, 0xa8
pop r15
pop r13
pop rdi
pop rbp
ret