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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x140088040]
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.14003b070
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.14003b070
nop
lea rdx, [rbx + 0xf8]
mov r8, qword [rbx + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14003b580
mov ebx, eax
xor r14d, r14d
cmp byte [rsi], r14b
jne 0x140037a61
test eax, eax
js 0x140038210
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movzx eax, byte [rsi + 1]
mov qword [rsp + 0x40], r14
mov byte [rsp + 0x48], al
test al, al
je 0x140037a39
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.14003b580
mov ebx, eax
cmp byte [rsp + 0x48], 0
je 0x140037a61
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
test ebx, ebx
js 0x140038210
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, 0x11
lea rdx, str.LdrpHandleTlsData
lea rcx, [rsp + 0x20]
call fcn.140002a60
lea rdx, [rsp + 0x20]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x38]
cmp rsi, 7
cmova rdx, rdi
movabs rbx, 0xcbf29ce484222325
mov r9, rbx
mov rax, qword [rsp + 0x30]
lea r8, [rax + rax]
mov rcx, r14
movabs r15, 0x100000001b3
test r8, r8
je 0x140037ae4
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r15
inc rcx
cmp rcx, r8
jb 0x140037ad1
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.14003d300
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140037b15
cmp rcx, qword [rbp - 0x68]
je 0x140037b15
mov eax, dword [rcx + 0x30]
add rax, qword [rsp + 0x68]
mov qword [0x14008b660], rax
cmp rsi, 7
jbe 0x140037b50
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140037b48
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038250
mov rcx, rdi
call fcn.14004391c
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, 0x11
lea rdx, str.LdrpHandleTlsData
lea rcx, [rsp + 0x20]
call fcn.140002a60
lea rdx, [rsp + 0x20]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x38]
cmp rsi, 7
cmova rdx, rdi
mov r9, rbx
mov rax, qword [rsp + 0x30]
lea r8, [rax + rax]
mov rcx, r14
test r8, r8
je 0x140037bc3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r15
inc rcx
cmp rcx, r8
jb 0x140037bb0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x10]
call fcn.14003d300
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140037bf3
cmp rcx, qword [rbp + 0x18]
je 0x140037bf3
mov eax, dword [rcx + 0x30]
add rax, qword [rbp - 0x18]
mov qword [0x14008b668], rax
cmp rsi, 7
jbe 0x140037c2e
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140037c26
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038250
mov rcx, rdi
call fcn.14004391c
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, 0x19
lea rdx, str.LdrpInvertedFunctionTable
lea rcx, [rsp + 0x20]
call fcn.140002a60
lea rdx, [rsp + 0x20]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x38]
cmp rsi, 7
cmova rdx, rdi
mov r9, rbx
mov rax, qword [rsp + 0x30]
lea r8, [rax + rax]
mov rcx, r14
test r8, r8
je 0x140037c95
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r15
inc rcx
cmp rcx, r8
jb 0x140037c82
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.14003d300
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140037cc6
cmp rcx, qword [rbp - 0x68]
je 0x140037cc6
mov eax, dword [rcx + 0x30]
add rax, qword [rsp + 0x68]
mov qword [0x14008b670], rax
cmp rsi, 7
jbe 0x140037d01
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140037cf9
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038250
mov rcx, rdi
call fcn.14004391c
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, 0x19
lea rdx, str.LdrpInvertedFunctionTable
lea rcx, [rsp + 0x20]
call fcn.140002a60
lea rdx, [rsp + 0x20]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x38]
cmp rsi, 7
cmova rdx, rdi
mov r9, rbx
mov rax, qword [rsp + 0x30]
lea r8, [rax + rax]
mov rcx, r14
test r8, r8
je 0x140037d73
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r15
inc rcx
cmp rcx, r8
jb 0x140037d60
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x10]
call fcn.14003d300
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140037da3
cmp rcx, qword [rbp + 0x18]
je 0x140037da3
mov eax, dword [rcx + 0x30]
add rax, qword [rbp - 0x18]
mov qword [0x14008b678], rax
cmp rsi, 7
jbe 0x140037dde
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140037dd6
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038250
mov rcx, rdi
call fcn.14004391c
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, 0x1e
lea rdx, str.RtlInsertInvertedFunctionTable
lea rcx, [rsp + 0x20]
call fcn.140002a60
lea rdx, [rsp + 0x20]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x38]
cmp rsi, 7
cmova rdx, rdi
mov r9, rbx
mov rax, qword [rsp + 0x30]
lea r8, [rax + rax]
mov rcx, r14
test r8, r8
je 0x140037e45
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r15
inc rcx
cmp rcx, r8
jb 0x140037e32
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.14003d300
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140037e76
cmp rcx, qword [rbp - 0x68]
je 0x140037e76
mov eax, dword [rcx + 0x30]
add rax, qword [rsp + 0x68]
mov qword [0x14008b680], rax
cmp rsi, 7
jbe 0x140037eb1
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140037ea9
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038250
mov rcx, rdi
call fcn.14004391c
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, 0x1e
lea rdx, str.RtlInsertInvertedFunctionTable
lea rcx, [rsp + 0x20]
call fcn.140002a60
lea rdx, [rsp + 0x20]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x38]
cmp rsi, 7
cmova rdx, rdi
mov r9, rbx
mov rax, qword [rsp + 0x30]
lea r8, [rax + rax]
mov rcx, r14
test r8, r8
je 0x140037f23
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r15
inc rcx
cmp rcx, r8
jb 0x140037f10
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x10]
call fcn.14003d300
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140037f53
cmp rcx, qword [rbp + 0x18]
je 0x140037f53
mov eax, dword [rcx + 0x30]
add rax, qword [rbp - 0x18]
mov qword [0x14008b688], rax
cmp rsi, 7
jbe 0x140037f8e
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140037f86
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038250
mov rcx, rdi
call fcn.14004391c
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, 0x13
lea rdx, str.LdrpReleaseTlsEntry
lea rcx, [rsp + 0x20]
call fcn.140002a60
lea rdx, [rsp + 0x20]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x38]
cmp rsi, 7
cmova rdx, rdi
mov r9, rbx
mov rax, qword [rsp + 0x30]
lea r8, [rax + rax]
mov rcx, r14
test r8, r8
je 0x140037ff5
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r15
inc rcx
cmp rcx, r8
jb 0x140037fe2
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.14003d300
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140038026
cmp rcx, qword [rbp - 0x68]
je 0x140038026
mov eax, dword [rcx + 0x30]
add rax, qword [rsp + 0x68]
mov qword [0x14008b690], rax
cmp rsi, 7
jbe 0x140038061
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140038059
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038250
mov rcx, rdi
call fcn.14004391c
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, 0x13
lea rdx, str.LdrpReleaseTlsEntry
lea rcx, [rsp + 0x20]
call fcn.140002a60
lea rdx, [rsp + 0x20]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x38]
cmp rsi, 7
cmova rdx, rdi
mov r9, rbx
mov rax, qword [rsp + 0x30]
lea r8, [rax + rax]
mov rcx, r14
test r8, r8
je 0x1400380d3
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r15
inc rcx
cmp rcx, r8
jb 0x1400380c0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x10]
call fcn.14003d300
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140038103
cmp rcx, qword [rbp + 0x18]
je 0x140038103
mov eax, dword [rcx + 0x30]
add rax, qword [rbp - 0x18]
mov qword [0x14008b698], rax
cmp rsi, 7
jbe 0x14003813e
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140038136
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038250
mov rcx, rdi
call fcn.14004391c
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, 0x10
lea rdx, str.LdrProtectMrdata
lea rcx, [rsp + 0x20]
call fcn.140002a60
lea rdx, [rsp + 0x20]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x38]
cmp rsi, 7
cmova rdx, rdi
mov rax, qword [rsp + 0x30]
lea r8, [rax + rax]
mov rcx, r14
test r8, r8
je 0x1400381a3
nop
movzx eax, byte [rdx + rcx]
xor rbx, rax
imul rbx, r15
inc rcx
cmp rcx, r8
jb 0x140038190
mov r9, rbx
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.14003d300
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400381d7
cmp rcx, qword [rbp - 0x68]
je 0x1400381d7
mov eax, dword [rcx + 0x30]
add rax, qword [rsp + 0x68]
mov qword [0x14008b6a0], rax
cmp rsi, 7
jbe 0x140038216
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140038206
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038250
mov rcx, rdi
call fcn.14004391c
jmp 0x140038216
mov r14d, 0xc0000001
lea rcx, [rbp - 0x30]
call fcn.14003b490
nop
lea rcx, [rsp + 0x50]
call fcn.14003b490
mov eax, r14d
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140043560
mov rbx, qword [rsp + 0x190]
add rsp, 0x160
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14004a6ec
nop
int3