Function at 0x180057390
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x110
mov rax, qword [0x180189e48]
xor rax, rsp
mov qword [rsp + 0x108], rax
mov r14, r8
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], r8
xor edi, edi
mov dword [rsp + 0x20], edi
cmp qword [r8 + 0x10], rdi
jne 0x1800573fd
call fcn.180006e50
mov dword [rsp + 0x20], 1
mov rcx, rsi
call fcn.180007560
nop
mov rcx, r14
call fcn.180007560
jmp 0x1800578a0
mov rax, qword [rdx + 0x10]
test rax, rax
jne 0x1800574b2
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], rdi
mov r15, qword [rdx + 0x10]
mov r12, rsi
cmp qword [rdx + 0x18], 0x10
jb 0x180057429
mov r12, qword [rdx]
movabs rdi, 0x7fffffffffffffff
cmp r15, rdi
ja 0x180057b5a
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
cmp r15, 0x10
jae 0x180057458
mov qword [rcx + 0x10], r15
movups xmm0, xmmword [r12]
movups xmmword [rcx], xmm0
jmp 0x1800573df
mov r8, qword [rcx + 0x18]
mov rcx, r15
or rcx, 0xf
cmp rcx, rdi
ja 0x180057487
mov rdx, r8
shr rdx, 1
mov rax, rdi
sub rax, rdx
cmp r8, rax
ja 0x180057487
lea rax, [r8 + rdx]
mov rdi, rcx
cmp rcx, rax
cmovb rdi, rax
lea rdx, [rdi + 1]
mov rcx, rbx
call fcn.180007230
mov qword [rbx], rax
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], rdi
lea r8, [r15 + 1]
mov rdx, r12
mov rcx, rax
call fcn.1800f4f70
jmp 0x1800573df
cmp rax, 9
jae 0x1800574c2
call fcn.180006e50
jmp 0x1800573df
xorps xmm0, xmm0
movups xmmword [rsp + 0xc0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xd0], xmm1
movdqa xmm0, xmmword [0x18016c450]
movdqu xmmword [rsp + 0xd0], xmm0
mov byte [rsp + 0xc0], 0
mov rcx, r14
cmp qword [r8 + 0x18], 0x10
jb 0x1800574ff
mov rcx, qword [r8]
lea r8, [rsp + 0xc0]
mov edx, dword [r14 + 0x10]
call fcn.18006c630
mov r8, qword [rsi + 0x10]
sub r8, 9
mov r9d, 9
lea rdx, [rsp + 0xa0]
mov rcx, rsi
call fcn.180007340
nop
mov r9d, 9
lea r8d, [r9 - 7]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xc0]
call fcn.180007340
nop
lea rdx, [rsp + 0x80]
cmp qword [rsp + 0x98], 0x10
cmovae rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 0x10
cmovae rcx, qword [rsp + 0xa0]
mov r8, qword [rsp + 0xb0]
cmp r8, qword [rsp + 0x90]
jne 0x180057a1e
call fcn.1800f56a0
test eax, eax
jne 0x180057a1e
mov r9, qword [rsi + 0x10]
sub r9, 9
xor r8d, r8d
lea rdx, [rsp + 0xe0]
mov rcx, rsi
call fcn.180007340
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x60], 0
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x30]
call fcn.180056db0
nop
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.18002c0f0
nop
lea rcx, [rsp + 0x30]
call fcn.180007560
nop
mov r9, rdi
cmp qword [rsp + 0x70], rdi
jbe 0x180057658
nop dword [rax]
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rax, qword [rsp + 0x60]
movzx ecx, byte [rax + r9]
xor cl, 0x10
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rax, qword [rsp + 0x60]
mov byte [rax + r9], cl
inc r9
cmp r9, qword [rsp + 0x70]
jb 0x180057620
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rbx + 0x10], xmm1
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x60], 0
mov dword [rsp + 0x20], 1
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x60], 0
mov rdx, qword [rsp + 0xf8]
cmp rdx, 0x10
jb 0x1800576da
inc rdx
mov rcx, qword [rsp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800576d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180057b60
call fcn.1800f2580
movdqa xmm0, xmmword [0x18016c450]
movdqu xmmword [rsp + 0xf0], xmm0
mov byte [rsp + 0xe0], 0
mov rdx, qword [rsp + 0x98]
cmp rdx, 0x10
jb 0x180057736
inc rdx
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180057731
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180057b6c
call fcn.1800f2580
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x98], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x80], 0
mov rdx, qword [rsp + 0xb8]
cmp rdx, 0x10
jb 0x180057795
inc rdx
mov rcx, qword [rsp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180057790
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180057b72
call fcn.1800f2580
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0xb8], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xa0], 0
mov rdx, qword [rsp + 0xd8]
cmp rdx, 0x10
jb 0x1800577f4
inc rdx
mov rcx, qword [rsp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800577ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180057b78
call fcn.1800f2580
movdqa xmm0, xmmword [0x18016c450]
movdqu xmmword [rsp + 0xd0], xmm0
mov byte [rsp + 0xc0], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x180057847
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x180057842
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180057b66
mov rcx, r8
call fcn.1800f2580
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x180057890
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x18005788b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180057b54
mov rcx, r8
call fcn.1800f2580
mov byte [r14], 0
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov qword [r14 + 0x10], rdi
mov rax, rbx
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.1800f21e0
mov rbx, qword [rsp + 0x158]
add rsp, 0x110
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov rdx, rsi
mov rcx, rbx
call fcn.180006e50
mov dword [rsp + 0x20], 1
mov rdx, qword [rsp + 0x98]
cmp rdx, 0x10
jb 0x180057a74
inc rdx
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180057a6f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180057b6c
call fcn.1800f2580
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x98], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x80], 0
mov rdx, qword [rsp + 0xb8]
cmp rdx, 0x10
jb 0x180057ad3
inc rdx
mov rcx, qword [rsp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180057ace
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180057b72
call fcn.1800f2580
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0xb8], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xa0], 0
mov rdx, qword [rsp + 0xd8]
cmp rdx, 0x10
jb 0x180057b2e
inc rdx
mov rcx, qword [rsp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180057b29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180057b78
call fcn.1800f2580
movdqa xmm0, xmmword [0x18016c450]
movdqu xmmword [rsp + 0xd0], xmm0
mov byte [rsp + 0xc0], 0
mov rcx, rsi
call fcn.180007560
jmp 0x180057856
call fcn.1800f9714
nop
call fcn.180006f40
nop
call fcn.1800f9714
nop
call fcn.1800f9714
nop
call fcn.1800f9714
nop
call fcn.1800f9714
nop
call fcn.1800f9714
int3