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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x180178b40]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xorps xmm0, 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
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
lea rcx, [rbp - 0x10]
call fcn.18003a860
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
lea rcx, [rbp + 0x70]
call fcn.18003a860
nop
lea rdx, [rbx + 0xf8]
mov r8, qword [rbx + 0x30]
lea rcx, [rbp - 0x10]
call fcn.18003adb0
mov ebx, eax
xor r14d, r14d
cmp byte [rsi], r14b
jne 0x180037257
test eax, eax
js 0x180037ab1
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
movzx eax, byte [rsi + 1]
mov qword [rbp - 0x20], r14
mov byte [rbp - 0x18], al
test al, al
je 0x180037231
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
nop
lea rdx, [rdi + 0xf8]
mov r8, qword [rdi + 0x30]
lea rcx, [rbp + 0x70]
call fcn.18003adb0
mov ebx, eax
cmp byte [rbp - 0x18], 0
je 0x180037257
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
test ebx, ebx
js 0x180037ab1
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov r8d, 0x11
lea rdx, str.LdrpHandleTlsData
lea rcx, [rsp + 0x40]
call fcn.1800097e0
lea r8, [rsp + 0x40]
mov r11, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x58]
cmp rbx, 7
cmova r8, r11
movabs r15, 0xcbf29ce484222325
mov rdx, r15
mov r10, qword [rsp + 0x50]
lea r9, [r10 + r10]
mov rcx, r14
movabs r12, 0x100000001b3
test r9, r9
je 0x1800372e4
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
xor rdx, rax
imul rdx, r12
inc rcx
cmp rcx, r9
jb 0x1800372d0
mov rcx, qword [rbp + 0x60]
and rcx, rdx
add rcx, rcx
mov rax, qword [rbp + 0x48]
mov r9, qword [rax + rcx*8 + 8]
mov rsi, qword [rbp + 0x38]
cmp r9, rsi
je 0x180037361
mov rdi, qword [rax + rcx*8]
nop dword [rax]
nop dword [rax + rax]
lea rcx, [r9 + 0x10]
mov rax, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 7
jbe 0x180037322
mov rcx, qword [rcx]
lea r8, [rsp + 0x40]
cmp rbx, 7
cmova r8, r11
cmp r10, rax
jne 0x180037356
mov rdx, r10
test r10, r10
je 0x180037364
sub r8, rcx
nop
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x180037356
add rcx, 2
sub rdx, 1
jne 0x180037340
jmp 0x180037364
cmp r9, rdi
je 0x180037361
mov r9, qword [r9 + 8]
jmp 0x180037310
mov r9, r14
mov rax, rsi
test r9, r9
cmovne rax, r9
cmp rax, rsi
je 0x180037381
mov eax, dword [rax + 0x30]
add rax, qword [rbp + 8]
mov qword [0x18017d2f0], rax
cmp rbx, 7
jbe 0x1800373bc
lea rdx, [rbx*2 + 2]
mov rax, r11
cmp rdx, 0x1000
jb 0x1800373b4
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180037aa0
mov rcx, r11
call fcn.1800e5744
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
mov r8d, 0x11
lea rdx, str.LdrpHandleTlsData
lea rcx, [rsp + 0x60]
call fcn.1800097e0
lea r8, [rsp + 0x60]
mov r10, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x78]
cmp rbx, 7
cmova r8, r10
mov rcx, r15
mov r11, qword [rsp + 0x70]
lea r9, [r11 + r11]
mov rdx, r14
test r9, r9
je 0x180037424
movzx eax, byte [rdx + r8]
xor rcx, rax
imul rcx, r12
inc rdx
cmp rdx, r9
jb 0x180037410
and rcx, qword [rbp + 0xe0]
add rcx, rcx
mov rax, qword [rbp + 0xc8]
mov r9, qword [rax + rcx*8 + 8]
mov rsi, qword [rbp + 0xb8]
cmp r9, rsi
je 0x1800374a1
mov rdi, qword [rax + rcx*8]
nop word [rax + rax]
lea rcx, [r9 + 0x10]
mov rax, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 7
jbe 0x180037462
mov rcx, qword [rcx]
lea r8, [rsp + 0x60]
cmp rbx, 7
cmova r8, r10
cmp r11, rax
jne 0x180037496
mov rdx, r11
test r11, r11
je 0x1800374a4
sub r8, rcx
nop
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x180037496
add rcx, 2
sub rdx, 1
jne 0x180037480
jmp 0x1800374a4
cmp r9, rdi
je 0x1800374a1
mov r9, qword [r9 + 8]
jmp 0x180037450
mov r9, r14
mov rax, rsi
test r9, r9
cmovne rax, r9
cmp rax, rsi
je 0x1800374c4
mov eax, dword [rax + 0x30]
add rax, qword [rbp + 0x88]
mov qword [0x18017d2f8], rax
cmp rbx, 7
jbe 0x1800374ff
lea rdx, [rbx*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x1800374f7
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180037aa0
mov rcx, r10
call fcn.1800e5744
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r14
mov r8d, 0x19
lea rdx, str.LdrpInvertedFunctionTable
lea rcx, [rbp - 0x80]
call fcn.1800097e0
lea r8, [rbp - 0x80]
mov r10, qword [rbp - 0x80]
mov rbx, qword [rbp - 0x68]
cmp rbx, 7
cmova r8, r10
mov rcx, r15
mov r11, qword [rbp - 0x70]
lea r9, [r11 + r11]
mov rdx, r14
test r9, r9
je 0x180037564
nop dword [rax + rax]
movzx eax, byte [rdx + r8]
xor rcx, rax
imul rcx, r12
inc rdx
cmp rdx, r9
jb 0x180037550
and rcx, qword [rbp + 0x60]
add rcx, rcx
mov rax, qword [rbp + 0x48]
mov r9, qword [rax + rcx*8 + 8]
mov rsi, qword [rbp + 0x38]
cmp r9, rsi
je 0x1800375d1
mov rdi, qword [rax + rcx*8]
lea rcx, [r9 + 0x10]
mov rax, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 7
jbe 0x180037593
mov rcx, qword [rcx]
lea r8, [rbp - 0x80]
cmp rbx, 7
cmova r8, r10
cmp r11, rax
jne 0x1800375c6
mov rdx, r11
test r11, r11
je 0x1800375d4
sub r8, rcx
nop
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x1800375c6
add rcx, 2
sub rdx, 1
jne 0x1800375b0
jmp 0x1800375d4
cmp r9, rdi
je 0x1800375d1
mov r9, qword [r9 + 8]
jmp 0x180037581
mov r9, r14
mov rax, rsi
test r9, r9
cmovne rax, r9
cmp rax, rsi
je 0x1800375f1
mov eax, dword [rax + 0x30]
add rax, qword [rbp + 8]
mov qword [0x18017d300], rax
cmp rbx, 7
jbe 0x18003762c
lea rdx, [rbx*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x180037624
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180037aa0
mov rcx, r10
call fcn.1800e5744
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], r14
mov r8d, 0x19
lea rdx, str.LdrpInvertedFunctionTable
lea rcx, [rbp - 0x60]
call fcn.1800097e0
lea r8, [rbp - 0x60]
mov rdi, qword [rbp - 0x60]
mov r11, qword [rbp - 0x48]
cmp r11, 7
cmova r8, rdi
mov rdx, r15
mov r10, qword [rbp - 0x50]
lea r9, [r10 + r10]
mov rcx, r14
test r9, r9
je 0x180037694
nop dword [rax + rax]
movzx eax, byte [r8 + rcx]
xor rdx, rax
imul rdx, r12
inc rcx
cmp rcx, r9
jb 0x180037680
mov rcx, qword [rbp + 0xe0]
and rcx, rdx
add rcx, rcx
mov rax, qword [rbp + 0xc8]
mov r9, qword [rax + rcx*8 + 8]
mov rsi, qword [rbp + 0xb8]
cmp r9, rsi
je 0x180037711
mov rbx, qword [rax + rcx*8]
nop dword [rax]
lea rcx, [r9 + 0x10]
mov rax, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 7
jbe 0x1800376d2
mov rcx, qword [rcx]
lea r8, [rbp - 0x60]
cmp r11, 7
cmova r8, rdi
cmp r10, rax
jne 0x180037706
mov rdx, r10
test r10, r10
je 0x180037714
sub r8, rcx
nop
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x180037706
add rcx, 2
sub rdx, 1
jne 0x1800376f0
jmp 0x180037714
cmp r9, rbx
je 0x180037711
mov r9, qword [r9 + 8]
jmp 0x1800376c0
mov r9, r14
mov rax, rsi
test r9, r9
cmovne rax, r9
cmp rax, rsi
je 0x180037734
mov eax, dword [rax + 0x30]
add rax, qword [rbp + 0x88]
mov qword [0x18017d308], rax
cmp r11, 7
jbe 0x180037745
mov r8, r11
mov rdx, rdi
call fcn.180008fb0
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.1800097e0
lea rdx, [rsp + 0x20]
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x38]
cmp rbx, 7
cmova rdx, rdi
mov r9, r15
mov rax, qword [rsp + 0x30]
lea r8, [rax + rax]
mov rcx, r14
test r8, r8
je 0x1800377b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r12
inc rcx
cmp rcx, r8
jb 0x1800377a0
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x30]
call fcn.18000abe0
mov rcx, qword [rax + 8]
mov r9, qword [rbp + 0x38]
test rcx, rcx
cmovne r9, rcx
cmp r9, qword [rbp + 0x38]
je 0x1800377e9
mov eax, dword [r9 + 0x30]
add rax, qword [rbp + 8]
mov qword [0x18017d310], rax
cmp rbx, 7
jbe 0x1800377fa
mov r8, rbx
mov rdx, rdi
call fcn.180008fb0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 0x1e
lea rdx, str.RtlInsertInvertedFunctionTable
lea rcx, [rsp + 0x20]
call fcn.1800097e0
lea r8, [0x18017d318]
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x70]
call fcn.18003af40
mov r8, qword [rsp + 0x38]
cmp r8, 7
jbe 0x18003784c
mov rdx, qword [rsp + 0x20]
call fcn.180008fb0
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.1800097e0
lea rdx, [rsp + 0x20]
mov rbx, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x38]
cmp rdi, 7
cmova rdx, rbx
mov r9, r15
mov rax, qword [rsp + 0x30]
lea r8, [rax + rax]
mov rcx, r14
test r8, r8
je 0x1800378b3
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r12
inc rcx
cmp rcx, r8
jb 0x1800378a0
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x30]
call fcn.18000abe0
mov rcx, qword [rax + 8]
mov rdx, qword [rbp + 0x38]
test rcx, rcx
cmovne rdx, rcx
cmp rdx, qword [rbp + 0x38]
je 0x1800378e8
mov eax, dword [rdx + 0x30]
add rax, qword [rbp + 8]
mov qword [0x18017d320], rax
cmp rdi, 7
jbe 0x180037923
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x18003791b
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180037aa0
mov rcx, rbx
call fcn.1800e5744
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 0x13
lea rdx, str.LdrpReleaseTlsEntry
lea rcx, [rsp + 0x20]
call fcn.1800097e0
lea r8, [0x18017d328]
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x70]
call fcn.18003af40
lea rcx, [rsp + 0x20]
call fcn.180008980
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], r14
mov r8d, 0x10
lea rdx, str.LdrProtectMrdata
lea rcx, [rbp - 0x40]
call fcn.1800097e0
lea rdx, [rbp - 0x40]
mov r10, qword [rbp - 0x40]
mov rbx, qword [rbp - 0x28]
cmp rbx, 7
cmova rdx, r10
mov r11, qword [rbp - 0x30]
lea r8, [r11 + r11]
mov rcx, r14
test r8, r8
je 0x1800379d3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r15, rax
imul r15, r12
inc rcx
cmp rcx, r8
jb 0x1800379c0
mov rcx, qword [rbp + 0x60]
and rcx, r15
add rcx, rcx
mov rax, qword [rbp + 0x48]
mov r9, qword [rax + rcx*8 + 8]
mov rsi, qword [rbp + 0x38]
cmp r9, rsi
je 0x180037a51
mov rdi, qword [rax + rcx*8]
nop dword [rax]
nop word [rax + rax]
lea rcx, [r9 + 0x10]
mov rax, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 7
jbe 0x180037a12
mov rcx, qword [rcx]
lea r8, [rbp - 0x40]
cmp rbx, 7
cmova r8, r10
cmp r11, rax
jne 0x180037a46
mov rdx, r11
test r11, r11
je 0x180037a54
sub r8, rcx
nop
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x180037a46
add rcx, 2
sub rdx, 1
jne 0x180037a30
jmp 0x180037a54
cmp r9, rdi
je 0x180037a51
mov r9, qword [r9 + 8]
jmp 0x180037a00
mov r9, r14
mov rax, rsi
test r9, r9
cmovne rax, r9
cmp rax, rsi
je 0x180037a71
mov eax, dword [rax + 0x30]
add rax, qword [rbp + 8]
mov qword [0x18017d330], rax
cmp rbx, 7
jbe 0x180037ab7
lea rdx, [rbx*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x180037aa7
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180037aa7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r10
call fcn.1800e5744
jmp 0x180037ab7
mov r14d, 0xc0000001
lea rcx, [rbp + 0x70]
call fcn.18003acc0
nop
lea rcx, [rbp - 0x10]
call fcn.18003acc0
mov eax, r14d
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1800e5bd0
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret