Function at 0x14018d660
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1d8
mov rbx, qword [rsp + 0x288]
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
add rbx, qword [rsp + 0x270]
jb 0x14018d9b5
cmp rbx, qword [rsp + 0x240]
ja 0x14018d9fd
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], r9
mov rsi, qword [rsp + 0x250]
test rsi, rsi
je 0x14018d9dd
mov rdi, r8
mov r15, rcx
mov r12, qword [rsp + 0x280]
mov rbp, qword [rsp + 0x248]
lea rcx, [rsp + 0x50]
mov r8d, 0x180
xor edx, edx
call fcn.1402e0d10
lea rdx, [r15 + 0xf8]
lea r14, [rsp + 0xa0]
mov r8d, 0x120
mov rcx, r14
call fcn.1402e0660
mov r13, qword [r14 + 0x100]
xorps xmm0, xmm0
movaps xmmword [r14 - 0x50], xmm0
mov dword [r14 + 0x120], 0
movaps xmmword [r14 - 0x20], xmm0
movaps xmmword [r14 - 0x10], xmm0
cmp rsi, 0xc
jne 0x14018da87
mov eax, dword [rbp + 8]
mov dword [rsp + 0x58], eax
mov rax, qword [rbp]
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x5f], 1
mov ebp, 2
lea rdx, [rsp + 0x70]
mov rax, qword [rdx + 0x140]
lea rsi, [rsp + 0x50]
mov rcx, rsi
mov r8, r15
call qword [case.0x14012d181.0]
bswap ebp
mov dword [rsi + 0xc], ebp
test r12, r12
je 0x14018d81d
xor ebp, ebp
cmp qword [rsp + 0x88], 0
jne 0x14018d941
mov rcx, qword [rsp + 0x80]
add rcx, r12
setb al
movabs rdx, 0x2000000000000000
cmp rcx, rdx
ja 0x14018d941
test al, al
jne 0x14018d941
mov r13, qword [rsp + 0x278]
mov rax, qword [rsp + 0x1a0]
mov rbp, qword [rsp + 0x1a8]
mov qword [rsp + 0x80], rcx
mov ecx, dword [rsp + 0x1c4]
test ecx, ecx
jne 0x14018da42
mov rsi, r12
mov r12, rsi
and r12, 0xfffffffffffffff0
jne 0x14018da1d
test rsi, rsi
je 0x14018d96b
xor eax, eax
mov cl, byte [r13 + rax]
xor byte [rsp + rax + 0x90], cl
inc rax
cmp rsi, rax
jne 0x14018d800
mov ecx, esi
mov dword [rsp + 0x1c4], ecx
mov rax, qword [rsp + 0x260]
mov r8, qword [rsp + 0x258]
mov rcx, qword [r15 + 0x218]
test rcx, rcx
mov r13, qword [rsp + 0x270]
je 0x14018d97f
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x50]
mov rdx, r15
mov r9, qword [rsp + 0x40]
call fcn.1402826f0
test eax, eax
je 0x14018d967
test r13, r13
je 0x14018d8a8
mov r8, qword [rsp + 0x268]
mov rax, qword [r15 + 0x218]
test rax, rax
je 0x14018d99b
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea rcx, [rsp + 0x50]
mov rdx, r15
mov r9, rdi
call fcn.1402826f0
test eax, eax
je 0x14018d967
mov r12, qword [rsp + 0x1a0]
mov eax, dword [rsp + 0x1c0]
or eax, dword [rsp + 0x1c4]
je 0x14018d8d4
lea rcx, [rsp + 0x90]
mov rdx, r14
mov rax, r12
call qword [case.0x14012d181.0]
lea r15, [rsp + 0x90]
mov rax, qword [r15 - 0x10]
shl rax, 3
bswap rax
mov rcx, qword [r15 - 8]
shl rcx, 3
bswap rcx
xor qword [r15], rax
xor qword [r15 + 8], rcx
mov rcx, r15
mov rdx, r14
mov rax, r12
call qword [case.0x14012d181.0]
mov rax, qword [r15 - 0x20]
mov rcx, qword [r15 - 0x18]
xor qword [r15], rax
xor qword [r15 + 8], rcx
mov r8, qword [rsp + 0x288]
test r8, r8
mov rsi, qword [rsp + 0x48]
je 0x14018d939
add rdi, r13
cmp r8, 0x10
jb 0x14018d972
movups xmm0, xmmword [r15]
movups xmmword [rdi], xmm0
mov qword [rsi], rbx
mov ebp, 1
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1402ddd70
mov eax, ebp
add rsp, 0x1d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ebp, ebp
jmp 0x14018d941
xor ecx, ecx
jmp 0x14018d816
mov rcx, rdi
mov rdx, r15
call fcn.1402e0660
jmp 0x14018d939
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x50]
mov rdx, r15
mov r9, qword [rsp + 0x40]
call fcn.1403cc270
jmp 0x14018d861
mov qword [rsp + 0x20], r13
lea rcx, [rsp + 0x50]
mov rdx, r15
mov r9, rdi
call fcn.1403cc270
jmp 0x14018d8a0
mov dword [rsp + 0x20], 0x3ca
lea r9, str....._third_party_boringssl_srccrypto_fipsmoduleciphere_aes.c
xor ebp, ebp
mov ecx, 0x1e
xor edx, edx
mov r8d, 0x75
call fcn.140406810
jmp 0x14018d941
mov dword [rsp + 0x20], 0x3d2
lea r9, str....._third_party_boringssl_srccrypto_fipsmoduleciphere_aes.c
xor ebp, ebp
mov ecx, 0x1e
xor edx, edx
mov r8d, reloc.WS2_32.dll_WSAGetLastError
jmp 0x14018d9d3
mov dword [rsp + 0x20], 0x3ce
lea r9, str....._third_party_boringssl_srccrypto_fipsmoduleciphere_aes.c
xor ebp, ebp
mov ecx, 0x1e
xor edx, edx
mov r8d, 0x67
jmp 0x14018d9d3
lea rcx, [rsp + 0x90]
mov rdx, r14
mov r8, r13
mov r9, r12
mov rax, rbp
call qword [case.0x14012d181.0]
add r13, r12
and esi, 0xf
jmp 0x14018d7f5
mov dl, byte [r13]
mov r8d, ecx
xor byte [rsp + r8 + 0x90], dl
inc r13
lea rsi, [r12 - 1]
inc ecx
and ecx, 0xf
je 0x14018da69
cmp r12, 1
mov r12, rsi
jne 0x14018da42
test ecx, ecx
jne 0x14018d816
lea rcx, [rsp + 0x90]
mov rdx, r14
call qword [case.0x14012d181.0]
jmp 0x14018d7e8
cmp rsi, 0x10
jb 0x14018dad7
mov qword [rsp + 0x38], rsi
mov rax, qword [rbp]
xor qword [rsp + 0x50], rax
mov rax, qword [rbp + 8]
xor qword [rsp + 0x58], rax
lea rcx, [rsp + 0x50]
mov rdx, r14
mov rax, r13
call qword [case.0x14012d181.0]
add rbp, 0x10
mov rax, qword [rsp + 0x38]
add rax, 0xfffffffffffffff0
mov qword [rsp + 0x38], rax
cmp rax, 0xf
ja 0x14018da92
cmp qword [rsp + 0x38], 0
jne 0x14018dadc
jmp 0x14018db01
mov qword [rsp + 0x38], rsi
xor eax, eax
mov cl, byte [rbp + rax]
xor byte [rsp + rax + 0x50], cl
inc rax
cmp qword [rsp + 0x38], rax
jne 0x14018dade
lea rcx, [rsp + 0x50]
mov rdx, r14
mov rax, r13
call qword [case.0x14012d181.0]
shl rsi, 3
bswap rsi
lea rbp, [rsp + 0x50]
xor qword [rbp + 8], rsi
mov rcx, rbp
mov rdx, r14
mov rax, r13
call qword [case.0x14012d181.0]
mov ebp, dword [rbp + 0xc]
bswap ebp
inc ebp
jmp 0x14018d751