Function at 0x1400384d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x1402a2cf8]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
lea rcx, [rsp + 0x50]
call fcn.14003cae0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
lea rcx, [rbp - 0x30]
call fcn.14003cae0
nop
lea rdx, [rbx + 0xf8]
mov r8, qword [rbx + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14003cfd0
mov ebx, eax
xor r12d, r12d
cmp byte [rsi], r12b
jne 0x1400385d5
test eax, eax
js 0x140039093
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movzx eax, byte [rsi + 1]
mov qword [rsp + 0x40], r12
mov byte [rsp + 0x48], al
test al, al
je 0x1400385ad
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
nop
lea rdx, [rdi + 0xf8]
mov r8, qword [rdi + 0x30]
lea rcx, [rbp - 0x30]
call fcn.14003cfd0
mov ebx, eax
cmp byte [rsp + 0x48], 0
je 0x1400385d5
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
test ebx, ebx
js 0x140039093
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r12w
mov r8d, 0x11
lea rdx, str.LdrpHandleTlsData
lea rcx, [rsp + 0x20]
call fcn.1400098b0
lea r8, [rsp + 0x20]
mov r11, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x38]
cmp rsi, 8
cmovae r8, r11
movabs r15, 0xcbf29ce484222325
mov rcx, r15
mov rbx, qword [rsp + 0x30]
lea r9, [rbx + rbx]
mov rdx, r12
movabs r13, 0x100000001b3
test r9, r9
je 0x140038664
nop word [rax + rax]
movzx eax, byte [rdx + r8]
xor rcx, rax
imul rcx, r13
inc rdx
cmp rdx, r9
jb 0x140038650
and rcx, qword [rbp - 0x40]
add rcx, rcx
mov rax, qword [rbp - 0x58]
mov r10, qword [rax + rcx*8 + 8]
mov r14, qword [rbp - 0x68]
cmp r10, r14
je 0x140038714
mov rdi, qword [rax + rcx*8]
nop word [rax + rax]
lea rax, [r10 + 0x10]
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400386a2
mov rax, qword [rax]
lea r9, [rsp + 0x20]
cmp rsi, 8
cmovae r9, r11
cmp rbx, rcx
jne 0x1400386ef
mov rcx, rbx
test rbx, rbx
je 0x1400386fa
movzx edx, word [r9]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x1400386ef
sub r9, rax
cmp dx, r8w
ja 0x1400386ef
cmp rcx, 1
je 0x1400386fa
dec rcx
add rax, 2
movzx edx, word [r9 + rax]
movzx r8d, word [rax]
cmp dx, r8w
jae 0x1400386d1
cmp r10, rdi
je 0x140038714
mov r10, qword [r10 + 8]
jmp 0x140038690
test r10, r10
je 0x140038714
cmp r10, r14
je 0x140038714
mov eax, dword [r10 + 0x30]
add rax, qword [rsp + 0x68]
mov qword [0x1402aacc0], rax
cmp rsi, 8
jb 0x14003874f
lea rdx, [rsi*2 + 2]
mov rax, r11
cmp rdx, 0x1000
jb 0x140038747
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400390d7
mov rcx, r11
call fcn.14009aa1c
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r12w
mov r8d, 0x11
lea rdx, str.LdrpHandleTlsData
lea rcx, [rsp + 0x20]
call fcn.1400098b0
lea r8, [rsp + 0x20]
mov r11, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x38]
cmp rsi, 8
cmovae r8, r11
mov rcx, r15
mov rbx, qword [rsp + 0x30]
lea r9, [rbx + rbx]
mov rdx, r12
test r9, r9
je 0x1400387c4
nop word [rax + rax]
movzx eax, byte [rdx + r8]
xor rcx, rax
imul rcx, r13
inc rdx
cmp rdx, r9
jb 0x1400387b0
and rcx, qword [rbp + 0x40]
add rcx, rcx
mov rax, qword [rbp + 0x28]
mov r10, qword [rax + rcx*8 + 8]
mov r14, qword [rbp + 0x18]
cmp r10, r14
je 0x140038873
mov rdi, qword [rax + rcx*8]
nop word [rax + rax]
lea rax, [r10 + 0x10]
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140038802
mov rax, qword [rax]
lea r9, [rsp + 0x20]
cmp rsi, 8
cmovae r9, r11
cmp rbx, rcx
jne 0x14003884f
mov rcx, rbx
test rbx, rbx
je 0x14003885a
movzx edx, word [r9]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x14003884f
sub r9, rax
cmp dx, r8w
ja 0x14003884f
cmp rcx, 1
je 0x14003885a
dec rcx
add rax, 2
movzx edx, word [rax + r9]
movzx r8d, word [rax]
cmp dx, r8w
jae 0x140038831
cmp r10, rdi
je 0x140038873
mov r10, qword [r10 + 8]
jmp 0x1400387f0
test r10, r10
je 0x140038873
cmp r10, r14
je 0x140038873
mov eax, dword [r10 + 0x30]
add rax, qword [rbp - 0x18]
mov qword [0x1402aacc8], rax
cmp rsi, 8
jb 0x1400388ae
lea rdx, [rsi*2 + 2]
mov rax, r11
cmp rdx, 0x1000
jb 0x1400388a6
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400390d7
mov rcx, r11
call fcn.14009aa1c
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r12w
mov r8d, 0x19
lea rdx, str.LdrpInvertedFunctionTable
lea rcx, [rsp + 0x20]
call fcn.1400098b0
lea r8, [rsp + 0x20]
mov r11, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x38]
cmp rsi, 8
cmovae r8, r11
mov rcx, r15
mov rbx, qword [rsp + 0x30]
lea r9, [rbx + rbx]
mov rdx, r12
test r9, r9
je 0x140038924
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx + r8]
xor rcx, rax
imul rcx, r13
inc rdx
cmp rdx, r9
jb 0x140038910
and rcx, qword [rbp - 0x40]
add rcx, rcx
mov rax, qword [rbp - 0x58]
mov r10, qword [rax + rcx*8 + 8]
mov r14, qword [rbp - 0x68]
cmp r10, r14
je 0x1400389d4
mov rdi, qword [rax + rcx*8]
nop word [rax + rax]
lea rax, [r10 + 0x10]
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140038962
mov rax, qword [rax]
lea r9, [rsp + 0x20]
cmp rsi, 8
cmovae r9, r11
cmp rbx, rcx
jne 0x1400389af
mov rcx, rbx
test rbx, rbx
je 0x1400389ba
movzx edx, word [r9]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x1400389af
sub r9, rax
cmp dx, r8w
ja 0x1400389af
cmp rcx, 1
je 0x1400389ba
dec rcx
add rax, 2
movzx edx, word [rax + r9]
movzx r8d, word [rax]
cmp dx, r8w
jae 0x140038991
cmp r10, rdi
je 0x1400389d4
mov r10, qword [r10 + 8]
jmp 0x140038950
test r10, r10
je 0x1400389d4
cmp r10, r14
je 0x1400389d4
mov eax, dword [r10 + 0x30]
add rax, qword [rsp + 0x68]
mov qword [0x1402aacd0], rax
cmp rsi, 8
jb 0x140038a0f
lea rdx, [rsi*2 + 2]
mov rax, r11
cmp rdx, 0x1000
jb 0x140038a07
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400390d7
mov rcx, r11
call fcn.14009aa1c
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r12w
mov r8d, 0x19
lea rdx, str.LdrpInvertedFunctionTable
lea rcx, [rsp + 0x20]
call fcn.1400098b0
lea r8, [rsp + 0x20]
mov r11, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x38]
cmp rsi, 8
cmovae r8, r11
mov rcx, r15
mov rbx, qword [rsp + 0x30]
lea r9, [rbx + rbx]
mov rdx, r12
test r9, r9
je 0x140038a84
nop word [rax + rax]
movzx eax, byte [rdx + r8]
xor rcx, rax
imul rcx, r13
inc rdx
cmp rdx, r9
jb 0x140038a70
and rcx, qword [rbp + 0x40]
add rcx, rcx
mov rax, qword [rbp + 0x28]
mov r10, qword [rax + rcx*8 + 8]
mov r14, qword [rbp + 0x18]
cmp r10, r14
je 0x140038b33
mov rdi, qword [rax + rcx*8]
nop word [rax + rax]
lea rax, [r10 + 0x10]
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140038ac2
mov rax, qword [rax]
lea r9, [rsp + 0x20]
cmp rsi, 8
cmovae r9, r11
cmp rbx, rcx
jne 0x140038b0f
mov rcx, rbx
test rbx, rbx
je 0x140038b1a
movzx edx, word [r9]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x140038b0f
sub r9, rax
cmp dx, r8w
ja 0x140038b0f
cmp rcx, 1
je 0x140038b1a
dec rcx
add rax, 2
movzx edx, word [rax + r9]
movzx r8d, word [rax]
cmp dx, r8w
jae 0x140038af1
cmp r10, rdi
je 0x140038b33
mov r10, qword [r10 + 8]
jmp 0x140038ab0
test r10, r10
je 0x140038b33
cmp r10, r14
je 0x140038b33
mov eax, dword [r10 + 0x30]
add rax, qword [rbp - 0x18]
mov qword [0x1402aacd8], rax
cmp rsi, 8
jb 0x140038b6e
lea rdx, [rsi*2 + 2]
mov rax, r11
cmp rdx, 0x1000
jb 0x140038b66
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400390d7
mov rcx, r11
call fcn.14009aa1c
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r12w
mov r8d, 0x1e
lea rdx, str.RtlInsertInvertedFunctionTable
lea rcx, [rsp + 0x20]
call fcn.1400098b0
lea r8, [rsp + 0x20]
mov r11, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x38]
cmp rsi, 8
cmovae r8, r11
mov rcx, r15
mov rbx, qword [rsp + 0x30]
lea r9, [rbx + rbx]
mov rdx, r12
test r9, r9
je 0x140038be4
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx + r8]
xor rcx, rax
imul rcx, r13
inc rdx
cmp rdx, r9
jb 0x140038bd0
and rcx, qword [rbp - 0x40]
add rcx, rcx
mov rax, qword [rbp - 0x58]
mov r10, qword [rax + rcx*8 + 8]
mov r14, qword [rbp - 0x68]
cmp r10, r14
je 0x140038c94
mov rdi, qword [rax + rcx*8]
nop word [rax + rax]
lea rax, [r10 + 0x10]
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140038c22
mov rax, qword [rax]
lea r9, [rsp + 0x20]
cmp rsi, 8
cmovae r9, r11
cmp rbx, rcx
jne 0x140038c6f
mov rcx, rbx
test rbx, rbx
je 0x140038c7a
movzx edx, word [r9]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x140038c6f
sub r9, rax
cmp dx, r8w
ja 0x140038c6f
cmp rcx, 1
je 0x140038c7a
dec rcx
add rax, 2
movzx edx, word [rax + r9]
movzx r8d, word [rax]
cmp dx, r8w
jae 0x140038c51
cmp r10, rdi
je 0x140038c94
mov r10, qword [r10 + 8]
jmp 0x140038c10
test r10, r10
je 0x140038c94
cmp r10, r14
je 0x140038c94
mov eax, dword [r10 + 0x30]
add rax, qword [rsp + 0x68]
mov qword [0x1402aace0], rax
cmp rsi, 8
jb 0x140038ccf
lea rdx, [rsi*2 + 2]
mov rax, r11
cmp rdx, 0x1000
jb 0x140038cc7
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400390d7
mov rcx, r11
call fcn.14009aa1c
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r12w
mov r8d, 0x1e
lea rdx, str.RtlInsertInvertedFunctionTable
lea rcx, [rsp + 0x20]
call fcn.1400098b0
lea r8, [rsp + 0x20]
mov r11, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x38]
cmp rsi, 8
cmovae r8, r11
mov rcx, r15
mov rbx, qword [rsp + 0x30]
lea r9, [rbx + rbx]
mov rdx, r12
test r9, r9
je 0x140038d44
nop word [rax + rax]
movzx eax, byte [rdx + r8]
xor rcx, rax
imul rcx, r13
inc rdx
cmp rdx, r9
jb 0x140038d30
and rcx, qword [rbp + 0x40]
add rcx, rcx
mov rax, qword [rbp + 0x28]
mov r10, qword [rax + rcx*8 + 8]
mov r14, qword [rbp + 0x18]
cmp r10, r14
je 0x140038df3
mov rdi, qword [rax + rcx*8]
nop word [rax + rax]
lea rax, [r10 + 0x10]
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140038d82
mov rax, qword [rax]
lea r9, [rsp + 0x20]
cmp rsi, 8
cmovae r9, r11
cmp rbx, rcx
jne 0x140038dcf
mov rcx, rbx
test rbx, rbx
je 0x140038dda
movzx edx, word [r9]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x140038dcf
sub r9, rax
cmp dx, r8w
ja 0x140038dcf
cmp rcx, 1
je 0x140038dda
dec rcx
add rax, 2
movzx edx, word [rax + r9]
movzx r8d, word [rax]
cmp dx, r8w
jae 0x140038db1
cmp r10, rdi
je 0x140038df3
mov r10, qword [r10 + 8]
jmp 0x140038d70
test r10, r10
je 0x140038df3
cmp r10, r14
je 0x140038df3
mov eax, dword [r10 + 0x30]
add rax, qword [rbp - 0x18]
mov qword [0x1402aace8], rax
cmp rsi, 8
jb 0x140038e2e
lea rdx, [rsi*2 + 2]
mov rax, r11
cmp rdx, 0x1000
jb 0x140038e26
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400390d7
mov rcx, r11
call fcn.14009aa1c
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r12w
mov r8d, 0x13
lea rdx, str.LdrpReleaseTlsEntry
lea rcx, [rsp + 0x20]
call fcn.1400098b0
lea rdx, [rsp + 0x20]
mov rbx, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x38]
cmp rdi, 8
cmovae rdx, rbx
mov r9, r15
mov rax, qword [rsp + 0x30]
lea r8, [rax + rax]
mov rcx, r12
test r8, r8
je 0x140038ea3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r13
inc rcx
cmp rcx, r8
jb 0x140038e90
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.14000b3f0
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140038ed4
cmp rcx, qword [rbp - 0x68]
je 0x140038ed4
mov eax, dword [rcx + 0x30]
add rax, qword [rsp + 0x68]
mov qword [0x1402aacf0], rax
cmp rdi, 8
jb 0x140038f0f
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140038f07
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400390d7
mov rcx, rbx
call fcn.14009aa1c
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r12w
mov r8d, 0x13
lea rdx, str.LdrpReleaseTlsEntry
lea rcx, [rsp + 0x20]
call fcn.1400098b0
lea rdx, [rsp + 0x20]
mov rbx, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x38]
cmp rdi, 8
cmovae rdx, rbx
mov r9, r15
mov rax, qword [rsp + 0x30]
lea r8, [rax + rax]
mov rcx, r12
test r8, r8
je 0x140038f83
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r13
inc rcx
cmp rcx, r8
jb 0x140038f70
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x10]
call fcn.14000b3f0
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140038fb3
cmp rcx, qword [rbp + 0x18]
je 0x140038fb3
mov eax, dword [rcx + 0x30]
add rax, qword [rbp - 0x18]
mov qword [0x1402aacf8], rax
cmp rdi, 8
jb 0x140038fee
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140038fe6
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400390d7
mov rcx, rbx
call fcn.14009aa1c
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r12w
mov r8d, 0x10
lea rdx, str.LdrProtectMrdata
lea rcx, [rsp + 0x20]
call fcn.1400098b0
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rdx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x30]
lea r8, [rax + rax]
mov rcx, r12
test r8, r8
je 0x140039053
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor r15, rax
imul r15, r13
inc rcx
cmp rcx, r8
jb 0x140039040
mov r9, r15
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.14000b3f0
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140039087
cmp rcx, qword [rbp - 0x68]
je 0x140039087
mov eax, dword [rcx + 0x30]
add rax, qword [rsp + 0x68]
mov qword [0x1402aad00], rax
lea rcx, [rsp + 0x20]
call fcn.140009530
jmp 0x140039099
mov r12d, 0xc0000001
lea rcx, [rbp - 0x30]
call fcn.14003cee0
nop
lea rcx, [rsp + 0x50]
call fcn.14003cee0
mov eax, r12d
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.14009a9c0
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400c88c8
nop
int3