Function at 0x140015060
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
mov rax, qword [0x14018ef00]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov byte [rbp - 0x59], r8b
mov r15, rdx
mov qword [rbp - 0x39], rdx
mov r13, rcx
mov qword [rbp - 0x49], rcx
xor r12d, r12d
mov esi, r12d
mov rdi, qword [rdx + 0x20]
mov r14, qword [rdx + 0x28]
shl r14, 4
add r14, rdi
cmp rdi, r14
je 0x1400150e3
nop word [rax + rax]
mov rcx, qword [rdi]
mov rbx, qword [rdi + 8]
lea rdx, [rcx + rbx]
mov r8b, 0x25
call fcn.14013ac70
lea rcx, [rax + rbx]
add rsi, rcx
add rdi, 0x10
cmp rdi, r14
jne 0x1400150c0
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], r12
mov qword [rbp + 7], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x11], r12b
cmp rsi, 0xf
jbe 0x140015110
mov rdx, rsi
lea rcx, [rbp - 0x11]
call fcn.140003210
mov qword [rbp - 1], r12
mov rax, qword [r15 + 0x28]
mov qword [rbp + 0xf], rax
mov r14, qword [r15 + 0x20]
mov qword [rbp - 0x19], r14
shl rax, 4
add rax, r14
mov qword [rbp - 0x29], rax
cmp r14, rax
je 0x14001525b
movzx edi, byte [rbp - 0x59]
movzx ebx, byte [rbp - 0x59]
movzx esi, byte [rbp - 0x59]
xor r13d, r13d
nop dword [rax]
nop word [rax + rax]
mov r15, qword [r14]
mov r12, qword [r14 + 8]
mov r8, r12
mov edx, 0x25
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400152b2
mov r14, r13
test r12, r12
je 0x14001521d
mov rsi, r15
nop
movzx r15d, byte [r14 + rsi]
mov rdx, qword [rbp - 1]
mov rcx, qword [rbp + 7]
cmp rdx, rcx
jae 0x1400151b2
lea rax, [rdx + 1]
mov qword [rbp - 1], rax
lea rax, [rbp - 0x11]
cmp rcx, 0xf
cmova rax, qword [rbp - 0x11]
mov byte [rax + rdx], r15b
mov byte [rax + rdx + 1], r13b
jmp 0x1400151c8
movzx r9d, r15b
movzx r8d, dil
mov edx, 1
lea rcx, [rbp - 0x11]
call fcn.140003360
cmp r15b, 0x25
jne 0x14001520d
mov rcx, qword [rbp - 1]
mov rdx, qword [rbp + 7]
cmp rcx, rdx
jae 0x1400151f8
lea rax, [rcx + 1]
mov qword [rbp - 1], rax
lea rax, [rbp - 0x11]
cmp rdx, 0xf
cmova rax, qword [rbp - 0x11]
mov word [rax + rcx], 0x25
jmp 0x14001520d
mov r9b, 0x25
movzx r8d, bl
mov edx, 1
lea rcx, [rbp - 0x11]
call fcn.140003360
inc r14
cmp r14, r12
jb 0x140015180
movzx esi, byte [rbp - 0x59]
mov r14, qword [rbp - 0x19]
sub qword [rbp + 0xf], 1
je 0x14001523e
mov r8d, 2
lea rdx, [0x14016ff28]
lea rcx, [rbp - 0x11]
call fcn.14000b910
add r14, 0x10
mov qword [rbp - 0x19], r14
cmp r14, qword [rbp - 0x29]
jne 0x140015150
mov r13, qword [rbp - 0x49]
xor r12d, r12d
mov r15, qword [rbp - 0x39]
mov rsi, qword [rbp - 1]
mov rcx, rsi
call fcn.140139d98
mov rdi, rax
mov qword [rbp + 0xf], rax
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 0xf
cmova rdx, qword [rbp - 0x11]
mov r8, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [r13 + 0x4b8]
mov rdx, qword [r13 + 0x4c0]
cmp rdx, qword [r13 + 0x4c8]
je 0x140015311
mov rbx, r12
mov qword [rbp + 0xf], rbx
mov qword [rdx], rdi
add qword [r13 + 0x4c0], 8
jmp 0x14001531e
mov r8, qword [rbp - 1]
mov rcx, qword [rbp + 7]
mov rax, rcx
sub rax, r8
cmp r12, rax
ja 0x1400152f4
lea rax, [r8 + r12]
mov qword [rbp - 1], rax
lea r14, [rbp - 0x11]
cmp rcx, 0xf
cmova r14, qword [rbp - 0x11]
add r14, r8
mov r8, r12
mov rdx, r15
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + r12], r13b
jmp 0x14001521d
mov qword [rsp + 0x20], r12
mov r9, r15
movzx r8d, sil
mov rdx, r12
lea rcx, [rbp - 0x11]
call fcn.14000cbb0
jmp 0x140015221
lea r8, [rbp + 0xf]
call fcn.1400207f0
mov rbx, qword [rbp + 0xf]
mov qword [rbp - 0x49], rdi
mov qword [rbp - 0x41], rsi
movaps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp - 0x49], xmm0
lea rdx, [rbp - 0x49]
mov rcx, qword [r13]
call fcn.1400090b0
mov edx, eax
test eax, eax
js 0x140015655
mov qword [rbp - 0x29], r13
mov r15d, dword [r13 + 0x40c]
mov dword [rbp - 0x21], r15d
mov rsi, qword [rbp - 0x39]
mov r8d, dword [rsi + 0x38]
add r8d, 2
lea ecx, [r15 + r8]
cmp ecx, 0xff
ja 0x140015666
mov dword [r13 + 0x40c], ecx
mov eax, dword [r13 + 0x410]
cmp eax, ecx
cmovb eax, ecx
mov dword [r13 + 0x410], eax
mov r8d, edx
movzx edx, r15b
mov rcx, r13
call fcn.14000f770
cmp qword [rsi + 0x38], 0
jbe 0x1400153f4
nop dword [rax]
nop word [rax + rax]
lea r8d, [r12 + 2]
add r8b, r15b
mov rax, qword [rsi + 0x30]
mov rdx, qword [rax + r12*8]
mov qword [rbp - 0x49], r13
mov edi, dword [r13 + 0x40c]
mov dword [rbp - 0x41], edi
movzx eax, r8b
inc eax
mov dword [r13 + 0x40c], eax
mov rcx, r13
call fcn.140017390
nop
mov dword [r13 + 0x40c], edi
inc r12
cmp r12, qword [rsi + 0x38]
jb 0x1400153b0
lea r14, str.format
mov qword [rbp - 0x49], r14
mov edi, 6
mov qword [rbp - 0x41], rdi
movaps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp - 0x49], xmm0
lea rdx, [rbp - 0x49]
mov rcx, qword [r13]
call fcn.1400090b0
mov r12d, eax
test eax, eax
js 0x140015644
mov rsi, qword [r13]
mov edx, edi
nop
movzx ecx, byte [rdx + r14 - 1]
mov eax, edi
shl eax, 5
add ecx, eax
mov eax, edi
shr eax, 2
add ecx, eax
xor edi, ecx
sub rdx, 1
jne 0x140015430
movzx r14d, r15b
movzx eax, dil
shl eax, 8
or eax, r14d
shl eax, 8
or eax, r14d
shl eax, 8
or eax, 0x14
mov dword [rbp - 0x19], eax
lea rcx, [rsi + 0x28]
mov rdx, qword [rsi + 0x30]
cmp rdx, qword [rsi + 0x38]
je 0x140015480
mov dword [rdx], eax
add qword [rsi + 0x30], 4
jmp 0x140015489
lea r8, [rbp - 0x19]
call fcn.14000e340
lea rcx, [rsi + 0x40]
lea r8, [rsi + 0x1b8]
mov rdx, qword [rsi + 0x48]
cmp rdx, qword [rsi + 0x50]
je 0x1400154aa
mov eax, dword [r8]
mov dword [rdx], eax
add qword [rsi + 0x48], 4
jmp 0x1400154af
call fcn.14000e340
mov rdi, qword [r13]
mov dword [rbp - 0x19], r12d
lea rcx, [rdi + 0x28]
mov rdx, qword [rdi + 0x30]
cmp rdx, qword [rdi + 0x38]
je 0x1400154cf
mov dword [rdx], r12d
add qword [rdi + 0x30], 4
jmp 0x1400154d8
lea r8, [rbp - 0x19]
call fcn.14000e340
lea rcx, [rdi + 0x40]
lea r8, [rdi + 0x1b8]
mov rdx, qword [rdi + 0x48]
cmp rdx, qword [rdi + 0x50]
je 0x1400154f9
mov eax, dword [r8]
mov dword [rdx], eax
add qword [rdi + 0x48], 4
jmp 0x1400154fe
call fcn.14000e340
mov rdi, qword [r13]
mov rax, qword [rbp - 0x39]
movzx eax, byte [rax + 0x38]
add al, 2
movzx ecx, al
shl ecx, 8
or ecx, r14d
shl ecx, 8
or ecx, 0x2000015
mov dword [rbp - 0x19], ecx
mov rdx, qword [rdi + 0x30]
cmp rdx, qword [rdi + 0x38]
je 0x140015534
mov dword [rdx], ecx
add qword [rdi + 0x30], 4
jmp 0x140015541
lea r8, [rbp - 0x19]
lea rcx, [rdi + 0x28]
call fcn.14000e340
lea rcx, [rdi + 0x40]
lea r8, [rdi + 0x1b8]
mov rdx, qword [rdi + 0x48]
cmp rdx, qword [rdi + 0x50]
je 0x140015562
mov eax, dword [r8]
mov dword [rdx], eax
add qword [rdi + 0x48], 4
jmp 0x140015567
call fcn.14000e340
mov rdi, qword [r13]
shl r14d, 8
movzx eax, byte [rbp - 0x59]
or r14d, eax
shl r14d, 8
or r14d, 6
mov dword [rbp - 0x19], r14d
lea rcx, [rdi + 0x28]
mov rdx, qword [rdi + 0x30]
cmp rdx, qword [rdi + 0x38]
je 0x14001559a
mov dword [rdx], r14d
add qword [rdi + 0x30], 4
jmp 0x1400155a3
lea r8, [rbp - 0x19]
call fcn.14000e340
lea rcx, [rdi + 0x40]
lea r8, [rdi + 0x1b8]
mov rdx, qword [rdi + 0x48]
cmp rdx, qword [rdi + 0x50]
je 0x1400155c4
mov eax, dword [r8]
mov dword [rdx], eax
add qword [rdi + 0x48], 4
jmp 0x1400155ca
call fcn.14000e340
nop
mov dword [r13 + 0x40c], r15d
test rbx, rbx
je 0x1400155df
mov rcx, rbx
call fcn.140139a10
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x14001561d
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015618
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140015618
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140139a10
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140139630
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rsi + 0xc]
lea rdx, str.Exceeded_constant_limit__simplify_the_code_to_compile
call fcn.14000f210
nop
lea rcx, [r15 + 0xc]
lea rdx, str.Exceeded_constant_limit__simplify_the_code_to_compile
call fcn.14000f210
nop
lea rcx, [rsi + 0xc]
mov r9d, 0xff
lea rdx, str.Out_of_registers_when_trying_to_allocate__d_registers:_exceeded_limit__d
call fcn.14000f210
int3