Function at 0x1400d3d80
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, 0x1d8
mov rax, qword [0x1401b7030]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov r11, qword [rcx + 8]
mov r10, rcx
mov eax, dword [rcx + 0x34]
mov r15d, edx
mov r14, qword [rcx + 0x38]
sub r15d, r11d
mov dword [rsp + 0x48], eax
mov rbx, rdx
mov eax, dword [rcx + 0x18]
mov rbp, r8
mov edi, dword [r10 + 0x10c]
mov esi, 1
mov dword [rsp + 0x58], eax
mov r13d, esi
add rax, r11
mov qword [rsp + 0x60], r8
mov qword [rsp + 0xb0], rax
mov r8d, r15d
mov eax, edx
mov qword [rsp + 0xa0], r9
mov r9, qword [rcx + 0x70]
sub eax, r11d
mov ecx, dword [rcx + 0x100]
mov edx, esi
shl edx, cl
mov esi, 3
mov ecx, dword [r10 + 0x1c]
sub r8d, edx
mov dword [rsp + 0x34], eax
mov eax, r15d
sub eax, ecx
mov qword [rsp + 0x78], r9
cmp eax, edx
mov qword [rsp + 0x98], r14
mov rax, qword [r10 + 0x60]
cmovbe r8d, ecx
mov qword [rsp + 0x80], rax
cmp dword [r10 + 0x28], 0
mov eax, 0x22
mov qword [rsp + 0x68], r11
cmovne r8d, ecx
mov dword [rsp + 0x30], r15d
mov ecx, 5
mov dword [rsp + 0x90], r8d
mov r8, qword [r10 + 0xf8]
cmp edi, ecx
mov qword [rsp + 0x70], r8
cmovb ecx, edi
shl r13d, cl
imul ecx, dword [rbx], 0x9e3779b1
sub eax, dword [r8 + 0x108]
mov dword [rsp + 0x40], r13d
mov edx, ecx
mov dword [rsp + 0x50], ecx
movzx ecx, al
shr rdx, cl
lea rax, [rdx*4]
lea rcx, [rax*4]
mov qword [rsp + 0xa8], rax
mov rax, qword [r8 + 0x70]
mov qword [rsp + 0x88], rcx
prefetcht0 byte [rcx + rax]
xor r12d, r12d
cmp edi, 5
jbe 0x1400d3ed3
lea ecx, [rdi - 5]
mov eax, 1
shl eax, cl
mov dword [rsp + 0x3c], eax
jmp 0x1400d3ed8
mov dword [rsp + 0x3c], r12d
mov dword [rsp + 0x38], 0x1f
cmp dword [r10 + 0x12c], r12d
jne 0x1400d41be
mov r11d, dword [r10 + 0x2c]
mov rdi, r9
mov eax, dword [rsp + 0x34]
mov edx, dword [rsp + 0x48]
sub eax, r11d
mov ecx, edx
cmp eax, 0x180
jbe 0x1400d4099
lea eax, [r11 + 0x60]
mov dword [rsp + 0x44], edx
cmp r11d, eax
jae 0x1400d3fec
mov r14, qword [rsp + 0x68]
mov r13d, 0x18
mov rsi, qword [rsp + 0x98]
sub r13d, edx
add r14, 8
mov edi, r11d
add r14, r11
mov ebp, eax
mov r15, r9
mov eax, dword [r10 + 0x60]
mov rcx, r13
imul edx, dword [r14], 0x9e3779b1
xor rdx, rax
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 [rsi + 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 [rsi + r8]
lea rdx, [rsi + r8]
dec ecx
and ecx, 0x1f
cmove eax, dword [rsp + 0x38]
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, ebp
jb 0x1400d3f42
mov eax, dword [r10 + 0x34]
mov esi, 3
mov rdi, qword [r10 + 0x70]
mov r14, qword [r10 + 0x38]
mov rbp, qword [rsp + 0x60]
mov r13d, dword [rsp + 0x40]
mov r15d, dword [rsp + 0x30]
mov dword [rsp + 0x44], eax
mov r11d, dword [rsp + 0x34]
lea rax, [rbx + 1]
mov rdx, qword [rsp + 0x68]
add r11d, 0xffffffe0
mov ecx, eax
mov r8d, r11d
sub ecx, r11d
sub ecx, edx
inc ecx
lea r9, [rdx + r11]
cmp r9, rax
mov eax, 8
cmova ecx, r12d
cmp ecx, eax
cmova ecx, eax
lea eax, [rcx + r11]
cmp r11d, eax
jae 0x1400d4095
mov eax, 0x18
mov r15d, ecx
sub eax, dword [rsp + 0x44]
mov qword [rsp + 0x50], rax
mov ecx, eax
nop dword [rax + rax]
mov eax, dword [r10 + 0x60]
imul edx, dword [r9], 0x9e3779b1
xor rdx, rax
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 0x1400d4040
mov rdi, qword [r10 + 0x70]
mov r14, qword [r10 + 0x38]
mov ecx, dword [r10 + 0x34]
mov r15d, dword [rsp + 0x30]
jmp 0x1400d4099
mov ecx, dword [rsp + 0x44]
mov eax, dword [rsp + 0x34]
mov rdx, qword [r10 + 8]
cmp r11d, eax
jae 0x1400d415d
mov r13d, 0x18
mov r15d, r11d
sub r13d, ecx
lea rbp, [rdx + 8]
add rbp, r15
mov esi, eax
nop
mov eax, dword [r10 + 0x60]
mov rcx, r13
imul edx, dword [rbp], 0x9e3779b1
xor rdx, rax
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 [r14 + rax]
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 [r14 + r8]
lea rdx, [r14 + r8]
dec ecx
and ecx, 0x1f
cmove eax, dword [rsp + 0x38]
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, esi
jb 0x1400d40c0
mov rbp, qword [rsp + 0x60]
mov esi, 3
mov r13d, dword [rsp + 0x40]
mov r15d, dword [rsp + 0x30]
mov eax, dword [rsp + 0x34]
mov r11, qword [rsp + 0x68]
mov ecx, 0x18
sub ecx, dword [rsp + 0x48]
mov dword [r10 + 0x2c], eax
mov eax, dword [rsp + 0x80]
mov r8d, r15d
imul edx, dword [r8 + r11 + 8], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov rcx, qword [rsp + 0x78]
mov eax, edx
shr rax, 3
and eax, 0x1fffffe0
prefetcht0 byte [rcx + rax*4]
prefetcht0 byte [rcx + rax*4 + 0x40]
mov r14, qword [rsp + 0x98]
prefetcht0 byte [rax + r14]
and r8d, 7
mov r9d, dword [r10 + r8*4 + 0x40]
mov dword [r10 + r8*4 + 0x40], edx
jmp 0x1400d41e2
mov r9d, dword [rsp + 0x80]
mov ecx, 0x18
sub ecx, dword [rsp + 0x48]
mov eax, dword [rsp + 0x50]
xor r9, rax
mov dword [r10 + 0x2c], r15d
shr r9, cl
mov rcx, qword [rsp + 0x78]
add dword [r10 + 0x68], r9d
mov eax, r9d
shr rax, 3
mov rdi, r12
and eax, 0x1fffffe0
movdqu xmm0, xmmword [rax + r14]
lea rcx, [rcx + rax*4]
mov qword [rsp + 0x80], rcx
lea rcx, [rax + r14]
movzx eax, byte [rax + r14]
mov r14, r12
mov r15d, eax
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x78], rcx
and r15d, 0x1f
movsx eax, r9b
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 + 0x80]
shl r8d, cl
mov ecx, r15d
shr rax, cl
or r8, rax
jbe 0x1400d42be
mov ebp, dword [rsp + 0x90]
test r13d, r13d
je 0x1400d42b4
bsf rcx, r8
add ecx, r15d
and ecx, 0x1f
je 0x1400d42ab
mov ecx, dword [rdx + rcx*4]
cmp ecx, ebp
jb 0x1400d42b4
prefetcht0 byte [rcx + r11]
mov dword [rsp + r14*4 + 0xc0], ecx
inc r14
dec r13d
lea rax, [r8 - 1]
and r8, rax
ja 0x1400d4280
mov rbp, qword [rsp + 0x60]
mov dword [rsp + 0x40], r13d
mov ecx, dword [rsp + 0x50]
mov eax, r12d
dec ecx
mov r8d, 0x1f
and ecx, 0x1f
cmove eax, r8d
add ecx, eax
mov rax, qword [rsp + 0x78]
mov byte [rax], cl
mov byte [rcx + rax], r9b
mov eax, dword [r10 + 0x2c]
mov dword [rdx + rcx*4], eax
inc dword [r10 + 0x2c]
test r14, r14
je 0x1400d4353
mov r12d, dword [rsp + 0x30]
mov r13, qword [rsp + 0xa0]
nop
mov r15d, dword [rsp + rdi*4 + 0xc0]
mov eax, dword [rsi + rbx - 3]
lea rdx, [r11 + r15]
cmp dword [rdx + rsi - 3], eax
jne 0x1400d4343
mov r8, rbp
mov rcx, rbx
call fcn.1400c1680
cmp rax, rsi
jbe 0x1400d433e
mov ecx, r12d
mov rsi, rax
sub ecx, r15d
add rax, rbx
add ecx, 3
mov qword [r13], rcx
cmp rax, rbp
je 0x1400d434b
mov r11, qword [rsp + 0x68]
inc rdi
cmp rdi, r14
jb 0x1400d4300
mov r13d, dword [rsp + 0x40]
xor r12d, r12d
mov r9, qword [rsp + 0x70]
mov r11d, 3
add r13d, dword [rsp + 0x3c]
mov edi, r11d
mov rdx, qword [rsp + 0x88]
mov r8, qword [r9]
mov r15, qword [r9 + 8]
mov r10, qword [r9 + 0x70]
mov eax, r15d
sub eax, r8d
mov qword [rsp + 0x60], r8
add eax, dword [rsp + 0x58]
cmp r13d, r11d
mov dword [rsp + 0x38], eax
lea rcx, [rdx + r10]
cmovb edi, r13d
mov dword [rsp + 0x58], edi
nop dword [rax + rax]
mov eax, dword [rcx]
prefetcht0 byte [rax + r15]
lea rcx, [rcx + 4]
sub r11, 1
jne 0x1400d43a0
mov rax, qword [rsp + 0xa8]
mov ecx, dword [r10 + rax*4 + 0xc]
mov rax, qword [r9 + 0x80]
shr rcx, 8
prefetcht0 byte [rax + rcx*4]
mov dword [rsp + 0x3c], r12d
test edi, edi
je 0x1400d44bc
nop word [rax + rax]
mov rax, qword [r9 + 0x70]
mov r12d, dword [rdx + rax]
lea rdi, [r15 + r12]
test r12d, r12d
je 0x1400d4587
mov eax, dword [rbx]
cmp dword [rdi], eax
jne 0x1400d4486
add rdi, 4
lea rcx, [rbx + 4]
sub rcx, rdi
mov rdx, rdi
add rcx, r8
mov r8, rbp
cmp rcx, rbp
cmovb r8, rcx
lea rcx, [rbx + 4]
call fcn.1400c1680
mov r8, qword [rsp + 0x60]
mov r14, rax
lea rcx, [rax + rdi]
cmp rcx, r8
jne 0x1400d4453
mov rdx, qword [rsp + 0xb0]
lea rcx, [rbx + 4]
add rcx, rax
mov r8, rbp
call fcn.1400c1680
mov r8, qword [rsp + 0x60]
add r14, rax
add r14, 4
cmp r14, rsi
jbe 0x1400d4481
mov eax, dword [rsp + 0x30]
mov rsi, r14
mov rcx, qword [rsp + 0xa0]
sub eax, r12d
sub eax, dword [rsp + 0x38]
add eax, 3
mov qword [rcx], rax
lea rax, [r14 + rbx]
cmp rax, rbp
je 0x1400d44b0
mov r9, qword [rsp + 0x70]
mov r12d, dword [rsp + 0x3c]
add qword [rsp + 0x88], 4
inc r12d
mov dword [rsp + 0x3c], r12d
cmp r12d, dword [rsp + 0x58]
jae 0x1400d44b8
mov rdx, qword [rsp + 0x88]
jmp 0x1400d43e0
mov rax, r14
jmp 0x1400d458a
mov r10, qword [r9 + 0x70]
mov rax, qword [rsp + 0xa8]
sub r13d, r12d
mov eax, dword [r10 + rax*4 + 0xc]
mov edi, eax
shr edi, 8
movzx ecx, al
cmp r13d, ecx
cmova r13d, ecx
xor r14d, r14d
mov edx, r14d
test r13d, r13d
je 0x1400d4587
mov r10, qword [r9 + 0x80]
lea eax, [rdx + rdi]
mov eax, dword [r10 + rax*4]
prefetcht0 byte [rax + r15]
inc edx
cmp edx, r13d
jb 0x1400d44f1
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [r9 + 0x80]
mov r12d, dword [rax + rdi*4]
mov eax, dword [rbx]
lea rdx, [r15 + r12]
cmp dword [rdx], eax
jne 0x1400d4578
mov rax, qword [rsp + 0xb0]
lea rcx, [rbx + 4]
mov r9, r8
mov qword [rsp + 0x20], rax
mov r8, rbp
add rdx, 4
call fcn.1400c7ee0
add rax, 4
cmp rax, rsi
jbe 0x1400d4573
mov ecx, dword [rsp + 0x30]
mov rsi, rax
mov rdx, qword [rsp + 0xa0]
sub ecx, r12d
sub ecx, dword [rsp + 0x38]
add ecx, 3
mov qword [rdx], rcx
lea rcx, [rax + rbx]
cmp rcx, rbp
je 0x1400d4587
mov r9, qword [rsp + 0x70]
mov r8, qword [rsp + 0x60]
inc edi
inc r14d
cmp r14d, r13d
jb 0x1400d4510
mov rax, rsi
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.14011c340
add rsp, 0x1d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret