Function at 0x180037e80
Capabilities:
Hash data using fnv

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rsp + 0xd0], rbx
mov rax, qword [0x180089208]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r12, rdx
mov rdi, rcx
mov r13, qword [rbp + 0x60]
mov r15, qword [rbp + 0x68]
mov eax, dword [r13 + 4]
dec eax
lea r10, [0x180000000]
cmp eax, 0x10
ja case.0x180037ee1.1
cdqe
mov ecx, dword [r10 + rax*4 + 0x38598]
add rcx, r10
jmp rcx
mov dl, 1
jmp 0x180037f21
xor dl, dl
jmp 0x180037f21
mov dl, 3
jmp 0x180037f21
mov dl, 4
jmp 0x180037f21
mov dl, 5
jmp 0x180037f21
mov dl, 6
jmp 0x180037f21
mov dl, 7
jmp 0x180037f21
mov dl, 8
jmp 0x180037f21
mov dl, 9
jmp 0x180037f21
mov dl, 0xa
jmp 0x180037f21
mov dl, 0xb
jmp 0x180037f21
mov dl, 0xc
jmp 0x180037f21
mov dl, 0xd
jmp 0x180037f21
mov dl, 0xe
jmp 0x180037f21
mov dl, 0xf
jmp 0x180037f21
mov dl, 2
movzx ecx, r8b
xor ecx, 1
mov eax, ecx
or eax, 2
test r9b, r9b
cmove ecx, eax
movzx edx, dl
shl rdx, 2
mov eax, ecx
or rdx, rax
mov rcx, qword [rdi]
mov rax, qword [r10 + rdx*8 + 0x79e70]
mov qword [rcx + 0x108], rax
mov eax, dword [r13 + 4]
xor esi, esi
cmp eax, 0xb
jne 0x180038287
mov rdx, r15
lea rcx, [rbp - 0x50]
call fcn.1800096d0
nop
lea rdx, [rbp - 0x50]
mov rsi, qword [rbp - 0x50]
mov r14, qword [rbp - 0x38]
cmp r14, 0x10
cmovae rdx, rsi
lea rbx, str.auto
cmp qword [rbp - 0x40], 4
jne 0x18003804d
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [rbx + rcx - 1]
jne 0x180037fb7
cmp rcx, 4
jne 0x180037fa0
xor eax, eax
jmp 0x180037fbc
sbb eax, eax
or eax, 1
test eax, eax
jne 0x18003804d
lea edx, [rax + 1]
lea rcx, [rbp - 0x30]
call fcn.180043140
mov rsi, rax
lea rax, [rbp - 0x50]
cmp rax, rsi
je 0x180038007
lea rcx, [rbp - 0x50]
call fcn.18000aa70
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x180038045
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180038040
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180038040
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005061c
mov rsi, qword [rbp - 0x50]
mov r14, qword [rbp - 0x38]
lea rcx, [rbp - 0x50]
cmp r14, 0x10
cmovae rcx, rsi
cmp qword [rbp - 0x40], 3
jne 0x180038094
movzx eax, byte [rcx]
cmp al, byte [0x180078578]
jne 0x180038087
movzx eax, byte [rcx + 1]
cmp al, byte [0x180078579]
jne 0x180038087
movzx eax, byte [rcx + 2]
cmp al, byte [0x18007857a]
jne 0x180038087
xor eax, eax
jmp 0x18003808c
sbb eax, eax
or eax, 1
test eax, eax
je 0x180038197
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.1800096d0
mov r8, r13
mov rdx, rdi
mov rcx, rax
call fcn.18003fc60
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x1800380bc
mov rdx, qword [r15]
cmp qword [r15 + 0x10], 4
jne 0x180038111
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [rbx + rcx - 1]
jne 0x1800380e7
cmp rcx, 4
jne 0x1800380d0
xor eax, eax
jmp 0x1800380ec
sbb eax, eax
or eax, 1
test eax, eax
jne 0x180038111
lea rbx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rbx, qword [rbp - 0x50]
call fcn.180018340
lea r8, str.Switch_to_assembler_version_for__s_cpus
mov edx, 3
jmp 0x180038184
lea rcx, [rbp - 0x50]
mov rsi, qword [rbp - 0x50]
mov r14, qword [rbp - 0x38]
cmp r14, 0x10
cmovae rcx, rsi
mov rbx, qword [rbp - 0x40]
cmp rbx, 9
jne 0x180038142
mov r8, rbx
lea rdx, str.intel_avx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180038197
lea rcx, [rbp - 0x50]
cmp r14, 0x10
cmovae rcx, rsi
cmp rbx, 7
jne 0x180038167
mov r8, rbx
lea rdx, str.amd_avx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180038197
lea rbx, [rbp - 0x50]
cmp r14, 0x10
cmovae rbx, rsi
call fcn.180018340
lea r8, str.Assembler__s_unknown__fallback_to_non_asm_version_of_cryptonight_v8
mov edx, 1
mov r9, rbx
mov rcx, rax
call fcn.180029410
mov rsi, qword [rbp - 0x50]
mov r14, qword [rbp - 0x38]
cmp r14, 0x10
jb 0x1800381d1
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1800381c9
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800381c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.18005061c
xor esi, esi
mov ecx, dword [0x18008b730]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x18008b670], ecx
jg 0x180038524
mov r9d, dword [r13 + 4]
movzx r8d, r9b
movabs rax, 0xcbf29ce484222325
xor r8, rax
movabs rdx, 0x100000001b3
imul r8, rdx
mov eax, r9d
shr eax, 8
movzx ecx, al
xor r8, rcx
imul r8, rdx
mov eax, r9d
shr eax, 0x10
movzx ecx, al
xor r8, rcx
imul r8, rdx
mov eax, r9d
shr rax, 0x18
xor r8, rax
imul r8, rdx
and r8, qword [0x18008b660]
mov rax, r8
add rax, rax
mov rdx, qword [0x18008b648]
mov rax, qword [rdx + rax*8]
lea rcx, [r8 + r8]
mov r8, qword [rdx + rcx*8]
lea r10, [rdx + rcx*8]
mov rdx, qword [0x18008b638]
cmp r8, rdx
jne 0x1800384d0
mov rcx, rdx
jmp 0x1800384d7
cmp eax, 0x10
jne 0x1800381d3
mov rcx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x18003829d
mov rcx, qword [r15]
cmp qword [r15 + 0x10], 3
jne 0x1800382d8
movzx eax, byte [rcx]
cmp al, byte [0x180078578]
jne 0x1800382cb
movzx eax, byte [rcx + 1]
cmp al, byte [0x180078579]
jne 0x1800382cb
movzx eax, byte [rcx + 2]
cmp al, byte [0x18007857a]
jne 0x1800382cb
mov eax, esi
jmp 0x1800382d0
sbb eax, eax
or eax, 1
test eax, eax
je 0x1800381d3
mov rdx, r15
lea rcx, [rbp - 0x50]
call fcn.1800096d0
nop
lea rdx, [rbp - 0x50]
mov r8, qword [rbp - 0x50]
mov r9, qword [rbp - 0x38]
cmp r9, 0x10
cmovae rdx, r8
cmp qword [rbp - 0x40], 4
jne 0x1800383b9
mov rcx, rsi
lea rbx, str.auto
nop
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [rbx + rcx - 1]
jne 0x180038327
cmp rcx, 4
jne 0x180038310
mov eax, esi
jmp 0x18003832c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1800383b9
lea edx, [rax + 1]
lea rcx, [rbp - 0x30]
call fcn.180043140
mov rbx, rax
lea rax, [rbp - 0x50]
cmp rax, rbx
je 0x180038373
lea rcx, [rbp - 0x50]
call fcn.18000aa70
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x1800383b1
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800383ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800383ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005061c
mov r8, qword [rbp - 0x50]
mov r9, qword [rbp - 0x38]
lea rcx, [rbp - 0x50]
cmp r9, 0x10
cmovae rcx, r8
cmp qword [rbp - 0x40], 3
jne 0x180038416
movzx eax, byte [rcx]
cmp al, byte [0x180078578]
jne 0x1800383f3
movzx eax, byte [rcx + 1]
cmp al, byte [0x180078579]
jne 0x1800383f3
movzx eax, byte [rcx + 2]
cmp al, byte [0x18007857a]
jne 0x1800383f3
mov eax, esi
jmp 0x1800383f8
sbb eax, eax
or eax, 1
test eax, eax
jne 0x180038416
mov ecx, esi
nop
mov rax, qword [rdi]
mov dword [rax + 0x118], esi
inc ecx
lea rdi, [rdi + 8]
cmp ecx, 1
jb 0x180038400
jmp 0x180038489
lea rbx, [rbp - 0x50]
cmp r9, 0x10
cmovae rbx, r8
call fcn.180018340
mov rcx, rax
mov r9, rbx
lea r8, str.enable_cryptonight_r_asm__s_cpus
xor edx, edx
call fcn.180029410
mov ebx, esi
nop dword [rax]
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rcx, qword [rbp - 0x50]
cmp qword [rbp - 0x40], 9
jne 0x180038470
mov r8d, 9
lea rdx, str.intel_avx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov ecx, 1
je 0x180038475
mov ecx, 2
mov rax, qword [rdi]
mov dword [rax + 0x118], ecx
inc ebx
add rdi, 8
cmp ebx, 1
jb 0x180038440
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x1800381d3
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800384c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800384c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005061c
jmp 0x1800381d3
mov rcx, qword [r10 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x1800384f9
cmp dword [rax + 0x10], r9d
je 0x1800384ea
mov rax, qword [rax]
jmp 0x180038276
cmp rax, rdx
je 0x1800384f9
mov rcx, qword [rax + 0x18]
mov qword [r12], rcx
jmp 0x1800384fd
mov qword [r12], rsi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800507a0
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x18008b670]
call fcn.180050dec
cmp dword [0x18008b670], 0xffffffff
jne 0x1800381fa
mov dword [rbp - 0x30], 0x10
lea rax, [0x180037cb0]
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x20]
mov qword [rbp - 0x48], rax
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
lea rdx, [rbp - 0x50]
lea rcx, [0x18008b630]
call fcn.180042b70
lea rcx, [0x1800544c0]
call fcn.180050bbc
nop
lea rcx, [0x18008b670]
call fcn.180050d8c
jmp 0x1800381fa