Function at 0x1400d5b50
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1c8
mov rax, qword [0x1401b5030]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov eax, dword [rcx + 0x34]
mov r10, rcx
mov rdi, qword [rcx + 0x70]
mov r15d, edx
mov r14, qword [rcx + 0x38]
mov rsi, rdx
mov dword [rsp + 0x34], eax
mov rbp, r8
mov eax, dword [rcx + 0x18]
mov r11d, 1
mov dword [rsp + 0x8c], eax
mov r13d, r11d
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x80], rdx
lea ebx, [r11 + 2]
mov qword [rsp + 0x98], r9
mov r9, qword [rcx + 8]
mov ecx, dword [rcx + 0x100]
add rax, r9
mov qword [rsp + 0xa8], rax
sub r15d, r9d
mov eax, edx
mov qword [rsp + 0x90], rdi
sub eax, r9d
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x3c], eax
mov edx, r11d
mov r11, qword [rsi]
mov eax, r15d
shl edx, cl
mov r8d, r15d
mov ecx, dword [r10 + 0x1c]
sub r8d, edx
sub eax, ecx
mov qword [rsp + 0x48], r9
cmp eax, edx
mov dword [rsp + 0x38], r15d
mov eax, dword [r10 + 0x10c]
cmovbe r8d, ecx
cmp dword [r10 + 0x28], 0
cmovne r8d, ecx
mov ecx, 5
cmp eax, ecx
mov dword [rsp + 0x88], r8d
mov r8, qword [r10 + 0xf8]
cmovb ecx, eax
mov qword [rsp + 0x60], r8
mov rax, qword [r10 + 0x60]
shl r13d, cl
mov ecx, 0x42
sub ecx, dword [r8 + 0x108]
mov qword [rsp + 0x68], rax
movabs rax, 0xcf1bbcdcbf9b0000
imul r11, rax
mov dword [rsp + 0x30], r13d
mov rdx, r11
shr rdx, cl
lea rax, [rdx*4]
lea rcx, [rax*4]
mov qword [rsp + 0xa0], rax
mov rax, qword [r8 + 0x70]
mov qword [rsp + 0x78], rcx
prefetcht0 byte [rcx + rax]
mov ecx, dword [r10 + 0x10c]
xor r12d, r12d
cmp ecx, 5
jbe 0x1400d5cb5
add ecx, 0xfffffffb
mov eax, 1
shl eax, cl
mov dword [rsp + 0x40], eax
jmp 0x1400d5cba
mov dword [rsp + 0x40], r12d
mov ecx, 0x38
mov dword [rsp + 0x58], 0x1f
cmp dword [r10 + 0x12c], r12d
jne 0x1400d5fd5
mov r11d, dword [r10 + 0x2c]
mov eax, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x34]
sub eax, r11d
mov edx, r8d
cmp eax, 0x180
jbe 0x1400d5e96
lea eax, [r11 + 0x60]
cmp r11d, eax
jae 0x1400d5ddb
mov r15, qword [rsp + 0x90]
lea r14, [r9 + 8]
mov rbx, qword [rsp + 0x50]
mov ebp, ecx
sub ebp, r8d
mov edi, r11d
add r14, r11
mov r13d, eax
movabs rsi, 0xcf1bbcdcbf9b0000
nop dword [rax + rax]
mov rdx, qword [r14]
mov ecx, ebp
imul rdx, rsi
xor rdx, qword [r10 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 3
and eax, 0x1fffffe0
prefetcht0 byte [r15 + rax*4]
prefetcht0 byte [r15 + rax*4 + 0x40]
prefetcht0 byte [rbx + rax]
mov rax, rdi
lea r14, [r14 + 1]
and eax, 7
mov r9d, dword [r10 + rax*4 + 0x40]
mov r8d, r9d
mov dword [r10 + rax*4 + 0x40], edx
mov eax, r12d
shr r8, 3
and r8d, 0x1fffffe0
movzx ecx, byte [rbx + r8]
lea rdx, [rbx + r8]
dec ecx
and ecx, 0x1f
cmove eax, dword [rsp + 0x58]
inc rdi
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [r15 + rax*4], r11d
inc r11d
cmp r11d, r13d
jb 0x1400d5d30
mov rdi, qword [r10 + 0x70]
mov ebx, 3
mov r14, qword [r10 + 0x38]
mov edx, dword [r10 + 0x34]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x70]
mov r13d, dword [rsp + 0x30]
mov r15d, dword [rsp + 0x38]
mov r9, qword [rsp + 0x48]
mov r11d, dword [rsp + 0x3c]
lea rax, [rsi + 1]
add r11d, 0xffffffe0
mov ecx, eax
sub ecx, r11d
mov r8d, r11d
sub ecx, dword [rsp + 0x48]
add r9, r8
inc ecx
cmp r9, rax
mov eax, 8
cmova ecx, r12d
cmp ecx, eax
cmova ecx, eax
lea eax, [rcx + r11]
cmp r11d, eax
jae 0x1400d5e8c
mov ebp, 0x38
mov r15d, ecx
sub ebp, edx
movabs r13, 0xcf1bbcdcbf9b0000
nop word [rax + rax]
mov rdx, qword [r9]
mov ecx, ebp
imul rdx, r13
xor rdx, qword [r10 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 3
and eax, 0x1fffffe0
prefetcht0 byte [rdi + rax*4]
prefetcht0 byte [rdi + rax*4 + 0x40]
prefetcht0 byte [rax + r14]
mov rax, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [r10 + rax*4 + 0x40], edx
sub r15, 1
jne 0x1400d5e30
mov rdi, qword [r10 + 0x70]
mov r14, qword [r10 + 0x38]
mov edx, dword [r10 + 0x34]
mov rbp, qword [rsp + 0x70]
mov r13d, dword [rsp + 0x30]
mov r15d, dword [rsp + 0x38]
mov r9, qword [rsp + 0x48]
mov ecx, 0x38
mov eax, dword [rsp + 0x3c]
mov r8, qword [r10 + 8]
cmp r11d, eax
jae 0x1400d5f74
mov r13d, ecx
mov r15d, r11d
sub r13d, edx
lea rbp, [r8 + 8]
add rbp, r15
mov ebx, eax
movabs rsi, 0xcf1bbcdcbf9b0000
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rbp]
mov ecx, r13d
imul rdx, rsi
xor rdx, qword [r10 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 3
and eax, 0x1fffffe0
prefetcht0 byte [rdi + rax*4]
prefetcht0 byte [rdi + rax*4 + 0x40]
prefetcht0 byte [rax + r14]
mov rax, r15
lea rbp, [rbp + 1]
and eax, 7
mov r9d, dword [r10 + rax*4 + 0x40]
mov r8d, r9d
mov dword [r10 + rax*4 + 0x40], edx
mov eax, r12d
shr r8, 3
and r8d, 0x1fffffe0
movzx ecx, byte [r8 + r14]
lea rdx, [r8 + r14]
dec ecx
and ecx, 0x1f
cmove eax, dword [rsp + 0x58]
inc r15
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [rdi + rax*4], r11d
inc r11d
cmp r11d, ebx
jb 0x1400d5ed0
mov rsi, qword [rsp + 0x80]
mov ebx, 3
mov rbp, qword [rsp + 0x70]
mov r13d, dword [rsp + 0x30]
mov r15d, dword [rsp + 0x38]
mov r9, qword [rsp + 0x48]
mov eax, dword [rsp + 0x3c]
mov rdi, qword [rsp + 0x90]
mov ecx, 0x38
sub ecx, dword [rsp + 0x34]
mov dword [r10 + 0x2c], eax
movabs rax, 0xcf1bbcdcbf9b0000
mov r8d, r15d
mov rdx, qword [r8 + r9 + 8]
imul rdx, rax
xor rdx, qword [rsp + 0x68]
shr rdx, cl
mov eax, edx
shr rax, 3
and eax, 0x1fffffe0
prefetcht0 byte [rdi + rax*4]
prefetcht0 byte [rdi + rax*4 + 0x40]
mov r14, qword [rsp + 0x50]
prefetcht0 byte [rax + r14]
and r8d, 7
mov r11d, dword [r10 + r8*4 + 0x40]
mov dword [r10 + r8*4 + 0x40], edx
jmp 0x1400d5fe5
xor r11, qword [rsp + 0x68]
sub ecx, dword [rsp + 0x34]
shr r11, cl
mov dword [r10 + 0x2c], r15d
add dword [r10 + 0x68], r11d
mov eax, r11d
shr rax, 3
and eax, 0x1fffffe0
movdqu xmm0, xmmword [rax + r14]
lea rcx, [rdi + rax*4]
mov rdi, r12
mov qword [rsp + 0x68], rcx
lea rcx, [rax + r14]
movzx eax, byte [rax + r14]
mov r14, r12
mov r15d, eax
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x80], rcx
and r15d, 0x1f
movsx eax, r11b
movd xmm2, eax
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
movdqa xmm1, xmm2
pcmpeqb xmm1, xmm0
movdqu xmm0, xmmword [rcx + 0x10]
mov ecx, r15d
neg ecx
pmovmskb eax, xmm1
and ecx, 0x1f
pcmpeqb xmm0, xmm2
pmovmskb edx, xmm0
shl edx, 0x10
or edx, eax
mov r8d, edx
mov eax, edx
mov rdx, qword [rsp + 0x68]
shl r8d, cl
mov ecx, r15d
shr rax, cl
or r8, rax
jbe 0x1400d60be
mov ebp, dword [rsp + 0x88]
test r13d, r13d
je 0x1400d60b4
bsf rcx, r8
add ecx, r15d
and ecx, 0x1f
je 0x1400d60ab
mov ecx, dword [rdx + rcx*4]
cmp ecx, ebp
jb 0x1400d60b4
prefetcht0 byte [rcx + r9]
mov dword [rsp + r14*4 + 0xb0], ecx
inc r14
dec r13d
lea rax, [r8 - 1]
and r8, rax
ja 0x1400d6080
mov rbp, qword [rsp + 0x70]
mov dword [rsp + 0x30], r13d
mov ecx, dword [rsp + 0x44]
mov eax, r12d
dec ecx
mov r8d, 0x1f
and ecx, 0x1f
cmove eax, r8d
add ecx, eax
mov rax, qword [rsp + 0x80]
mov byte [rax], cl
mov byte [rcx + rax], r11b
mov eax, dword [r10 + 0x2c]
mov dword [rdx + rcx*4], eax
inc dword [r10 + 0x2c]
test r14, r14
je 0x1400d6163
mov r12d, dword [rsp + 0x38]
mov r13, qword [rsp + 0x98]
nop dword [rax]
nop word [rax + rax]
mov r15d, dword [rsp + rdi*4 + 0xb0]
mov eax, dword [rsi + rbx - 3]
lea rdx, [r9 + r15]
cmp dword [rdx + rbx - 3], eax
jne 0x1400d6153
mov r8, rbp
mov rcx, rsi
call fcn.1400c02e0
cmp rax, rbx
jbe 0x1400d614e
mov ecx, r12d
mov rbx, rax
sub ecx, r15d
add rax, rsi
add ecx, 3
mov qword [r13], rcx
cmp rax, rbp
je 0x1400d615b
mov r9, qword [rsp + 0x48]
inc rdi
cmp rdi, r14
jb 0x1400d6110
mov r13d, dword [rsp + 0x30]
xor r12d, r12d
mov r10, qword [rsp + 0x60]
mov edx, 3
add r13d, dword [rsp + 0x40]
mov edi, edx
mov r9, qword [rsp + 0x78]
mov r8, qword [r10]
mov r15, qword [r10 + 8]
mov r11, qword [r10 + 0x70]
mov eax, r15d
sub eax, r8d
mov qword [rsp + 0x50], r8
add eax, dword [rsp + 0x8c]
cmp r13d, edx
mov dword [rsp + 0x40], eax
lea rcx, [r9 + r11]
cmovb edi, r13d
mov dword [rsp + 0x34], edi
nop dword [rax]
mov eax, dword [rcx]
prefetcht0 byte [rax + r15]
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x1400d61b0
mov rax, qword [rsp + 0xa0]
mov ecx, dword [r11 + rax*4 + 0xc]
mov rax, qword [r10 + 0x80]
shr rcx, 8
prefetcht0 byte [rax + rcx*4]
mov edx, r12d
mov dword [rsp + 0x30], edx
test edi, edi
je 0x1400d62c7
mov ecx, edi
nop
mov rax, qword [r10 + 0x70]
mov r12d, dword [r9 + rax]
lea rdi, [r15 + r12]
test r12d, r12d
je 0x1400d6389
mov eax, dword [rsi]
cmp dword [rdi], eax
jne 0x1400d62a3
add rdi, 4
lea rcx, [rsi + 4]
sub rcx, rdi
mov rdx, rdi
add rcx, r8
mov r8, rbp
cmp rcx, rbp
cmovb r8, rcx
lea rcx, [rsi + 4]
call fcn.1400c02e0
mov r8, qword [rsp + 0x50]
mov r14, rax
lea rcx, [rax + rdi]
cmp rcx, r8
jne 0x1400d6263
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsi + 4]
add rcx, rax
mov r8, rbp
call fcn.1400c02e0
mov r8, qword [rsp + 0x50]
add r14, rax
add r14, 4
cmp r14, rbx
jbe 0x1400d6295
mov eax, dword [rsp + 0x38]
mov rbx, r14
mov rcx, qword [rsp + 0x98]
sub eax, r12d
sub eax, dword [rsp + 0x40]
add eax, 3
mov qword [rcx], rax
lea rax, [r14 + rsi]
cmp rax, rbp
je 0x1400d63b0
mov r10, qword [rsp + 0x60]
mov r9, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x34]
mov eax, dword [rsp + 0x30]
add r9, 4
inc eax
mov qword [rsp + 0x78], r9
mov dword [rsp + 0x30], eax
cmp eax, ecx
jb 0x1400d61f0
mov r11, qword [r10 + 0x70]
xor r12d, r12d
mov edx, eax
mov rax, qword [rsp + 0xa0]
sub r13d, edx
mov edx, r12d
mov eax, dword [r11 + rax*4 + 0xc]
mov edi, eax
shr edi, 8
movzx ecx, al
cmp r13d, ecx
cmova r13d, ecx
test r13d, r13d
je 0x1400d6389
mov r9, qword [r10 + 0x80]
nop dword [rax]
lea eax, [rdx + rdi]
mov eax, dword [r9 + rax*4]
prefetcht0 byte [rax + r15]
inc edx
cmp edx, r13d
jb 0x1400d6300
mov rax, qword [r10 + 0x80]
mov r14d, dword [rax + rdi*4]
mov eax, dword [rsi]
lea rdx, [r15 + r14]
cmp dword [rdx], eax
jne 0x1400d637a
mov rax, qword [rsp + 0xa8]
lea rcx, [rsi + 4]
mov r9, r8
mov qword [rsp + 0x20], rax
mov r8, rbp
add rdx, 4
call fcn.1400c69a0
add rax, 4
cmp rax, rbx
jbe 0x1400d6375
mov ecx, dword [rsp + 0x38]
mov rbx, rax
mov rdx, qword [rsp + 0x98]
sub ecx, r14d
sub ecx, dword [rsp + 0x40]
add rax, rsi
add ecx, 3
mov qword [rdx], rcx
cmp rax, rbp
je 0x1400d6389
mov r10, qword [rsp + 0x60]
mov r8, qword [rsp + 0x50]
inc edi
inc r12d
cmp r12d, r13d
jb 0x1400d6313
mov rax, rbx
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.14011b0c0
add rsp, 0x1c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rax, r14
jmp 0x1400d638c