Function at 0x140037340
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 - 0x50], 0xfffffffffffffffe
mov qword [rsp + 0xd0], rbx
mov rax, qword [0x1400e71d8]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rdx
mov qword [rbp - 0x60], rdx
mov r12, rcx
mov r13, qword [rbp + 0x60]
mov r15, qword [rbp + 0x68]
mov eax, dword [r13 + 4]
dec eax
lea r10, [0x140000000]
cmp eax, 0x10
ja case.0x1400373a5.1
cdqe
mov ecx, dword [r10 + rax*4 + 0x37bac]
add rcx, r10
jmp rcx
mov dl, 1
jmp 0x1400373e5
xor dl, dl
jmp 0x1400373e5
mov dl, 3
jmp 0x1400373e5
mov dl, 4
jmp 0x1400373e5
mov dl, 5
jmp 0x1400373e5
mov dl, 6
jmp 0x1400373e5
mov dl, 7
jmp 0x1400373e5
mov dl, 8
jmp 0x1400373e5
mov dl, 9
jmp 0x1400373e5
mov dl, 0xa
jmp 0x1400373e5
mov dl, 0xb
jmp 0x1400373e5
mov dl, 0xc
jmp 0x1400373e5
mov dl, 0xd
jmp 0x1400373e5
mov dl, 0xe
jmp 0x1400373e5
mov dl, recv
jmp 0x1400373e5
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 [r12]
mov rax, qword [r10 + rdx*8 + 0xd3750]
mov qword [rcx + 0x108], rax
mov eax, dword [r13 + 4]
xor r14d, r14d
lea edi, [r14 + 1]
cmp eax, 0xb
jne 0x1400377a2
mov rdx, r15
lea rcx, [rbp - 0x28]
call fcn.1400059e0
nop
lea rdx, [rbp - 0x28]
mov rsi, qword [rbp - 0x28]
mov r14, qword [rbp - 0x10]
cmp r14, 0x10
cmovae rdx, rsi
lea rbx, str.auto
cmp qword [rbp - 0x18], 4
jne 0x14003750d
xor ecx, ecx
nop
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [rbx + rcx - 1]
jne 0x140037477
cmp rcx, 4
jne 0x140037460
xor eax, eax
jmp 0x14003747c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14003750d
lea edx, [rax + 4]
lea rcx, [rbp - 0x48]
call fcn.1400ac7e0
mov rsi, rax
lea rax, [rbp - 0x28]
cmp rax, rsi
je 0x1400374c7
lea rcx, [rbp - 0x28]
call fcn.14000bd50
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], shutdown
mov byte [rsi], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140037505
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037500
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037500
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bc0ec
mov rsi, qword [rbp - 0x28]
mov r14, qword [rbp - 0x10]
lea rcx, [rbp - 0x28]
cmp r14, 0x10
cmovae rcx, rsi
cmp qword [rbp - 0x18], 3
jne 0x140037554
movzx eax, byte [rcx]
cmp al, byte [reloc.WSOCK32.dll_WSAGetLastError]
jne 0x140037547
movzx eax, byte [rcx + 1]
cmp al, byte [0x1400d293d]
jne 0x140037547
movzx eax, byte [rcx + 2]
cmp al, byte [0x1400d293e]
jne 0x140037547
xor eax, eax
jmp 0x14003754c
sbb eax, eax
or eax, 1
test eax, eax
je 0x140037655
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x48]
call fcn.1400059e0
mov r8, r13
mov rdx, r12
mov rcx, rax
call fcn.1400a79a0
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x14003757c
mov rdx, qword [r15]
cmp qword [r15 + 0x10], 4
jne 0x1400375d1
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [rbx + rcx - 1]
jne 0x1400375a7
cmp rcx, 4
jne 0x140037590
xor eax, eax
jmp 0x1400375ac
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400375d1
lea rbx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rbx, qword [rbp - 0x28]
call fcn.14000e5b0
lea r8, str.Switch_to_assembler_version_for__s_cpus
mov edx, 3
jmp 0x140037642
lea rcx, [rbp - 0x28]
mov rsi, qword [rbp - 0x28]
mov r14, qword [rbp - 0x10]
cmp r14, 0x10
cmovae rcx, rsi
mov rbx, qword [rbp - 0x18]
cmp rbx, 9
jne 0x140037602
mov r8, rbx
lea rdx, str.intel_avx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140037655
lea rcx, [rbp - 0x28]
cmp r14, 0x10
cmovae rcx, rsi
cmp rbx, 7
jne 0x140037627
mov r8, rbx
lea rdx, str.amd_avx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140037655
lea rbx, [rbp - 0x28]
cmp r14, 0x10
cmovae rbx, rsi
call fcn.14000e5b0
lea r8, str.Assembler__s_unknown__fallback_to_non_asm_version_of_cryptonight_v8
mov rdx, rdi
mov r9, rbx
mov rcx, rax
call fcn.140012540
mov rsi, qword [rbp - 0x28]
mov r14, qword [rbp - 0x10]
cmp r14, 0x10
jb 0x14003768f
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140037687
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037687
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1400bc0ec
xor r14d, r14d
mov rbx, qword [rbp - 0x60]
lea rdx, [r12 + 0x18]
nop dword [rax + rax]
mov rax, qword [r12]
mov rcx, qword [rdx - 0x10]
mov rax, qword [rax + 0x108]
mov qword [rcx + 0x108], rax
mov rax, qword [r12]
mov rcx, qword [rdx - 8]
mov rax, qword [rax + 0x108]
mov qword [rcx + 0x108], rax
mov rax, qword [r12]
mov rcx, qword [rdx]
mov rax, qword [rax + 0x108]
mov qword [rcx + 0x108], rax
add edi, 3
lea rdx, [rdx + 0x18]
cmp edi, 4
jb 0x1400376a0
mov ecx, dword [0x1400e9a10]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1400e9900], ecx
jg 0x140037b38
mov r9d, dword [r13 + 4]
mov eax, r9d
shr eax, 8
movzx r8d, al
movzx eax, r9b
movabs rcx, 0xcbf29ce484222325
xor rax, rcx
movabs rdx, 0x100000001b3
imul rax, rdx
xor r8, rax
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 [0x1400e98f0]
mov rax, r8
add rax, rax
mov rdx, qword [0x1400e98d8]
mov rax, qword [rdx + rax*8]
lea rcx, [r8 + r8]
mov r8, qword [rdx + rcx*8]
lea r10, [rdx + rcx*8]
mov rdx, qword [0x1400e98c8]
cmp r8, rdx
jne 0x140037ae6
mov rcx, rdx
jmp 0x140037aed
cmp eax, 0x10
jne 0x140037696
mov rcx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x1400377b8
mov rcx, qword [r15]
cmp qword [r15 + 0x10], 3
jne 0x1400377f3
movzx eax, byte [rcx]
cmp al, byte [reloc.WSOCK32.dll_WSAGetLastError]
jne 0x1400377e7
movzx eax, byte [rcx + 1]
cmp al, byte [0x1400d293d]
jne 0x1400377e7
movzx eax, byte [rcx + 2]
cmp al, byte [0x1400d293e]
jne 0x1400377e7
mov eax, r14d
jmp 0x1400377eb
sbb eax, eax
or eax, edi
test eax, eax
je 0x140037696
mov rdx, r15
lea rcx, [rbp - 0x48]
call fcn.1400059e0
nop
lea rdx, [rbp - 0x48]
mov r8, qword [rbp - 0x48]
mov r9, qword [rbp - 0x30]
cmp r9, 0x10
cmovae rdx, r8
cmp qword [rbp - 0x38], 4
jne 0x1400378da
mov rcx, r14
lea rbx, str.auto
nop dword [rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [rbx + rcx - 1]
jne 0x140037848
cmp rcx, 4
jne 0x140037830
mov eax, r14d
jmp 0x14003784d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400378da
lea edx, [rax + 4]
lea rcx, [rbp - 0x28]
call fcn.1400ac7e0
mov rbx, rax
lea rax, [rbp - 0x48]
cmp rax, rbx
je 0x140037894
lea rcx, [rbp - 0x48]
call fcn.14000bd50
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], shutdown
mov byte [rbx], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1400378d2
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400378cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400378cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bc0ec
mov r8, qword [rbp - 0x48]
mov r9, qword [rbp - 0x30]
lea rcx, [rbp - 0x48]
cmp r9, 0x10
cmovae rcx, r8
cmp qword [rbp - 0x38], 3
jne 0x14003796c
movzx eax, byte [rcx]
cmp al, byte [reloc.WSOCK32.dll_WSAGetLastError]
jne 0x140037915
movzx eax, byte [rcx + 1]
cmp al, byte [0x1400d293d]
jne 0x140037915
movzx eax, byte [rcx + 2]
cmp al, byte [0x1400d293e]
jne 0x140037915
mov eax, r14d
jmp 0x14003791a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14003796c
mov edx, r14d
lea rcx, [r12 + 0x10]
nop word [rax + rax]
mov rax, qword [rcx - 0x10]
mov dword [rax + 0x118], r14d
mov rax, qword [rcx - 8]
mov dword [rax + 0x118], r14d
mov rax, qword [rcx]
mov dword [rax + 0x118], r14d
mov rax, qword [rcx + 8]
mov dword [rax + 0x118], r14d
add edx, 4
lea rcx, [rcx + 0x20]
cmp edx, 4
jb 0x140037930
jmp 0x140037a9f
lea rbx, [rbp - 0x48]
cmp r9, 0x10
cmovae rbx, r8
call fcn.14000e5b0
mov rcx, rax
mov r9, rbx
lea r8, str.enable_cryptonight_r_asm__s_cpus
xor edx, edx
call fcn.140012540
mov esi, r14d
lea rbx, [r12 + 0x10]
nop dword [rax]
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rcx, qword [rbp - 0x48]
cmp qword [rbp - 0x38], 9
jne 0x1400379cd
mov r8d, 9
lea rdx, str.intel_avx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov ecx, edi
je 0x1400379d2
mov ecx, 2
mov rax, qword [rbx - 0x10]
mov dword [rax + 0x118], ecx
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rcx, qword [rbp - 0x48]
cmp qword [rbp - 0x38], 9
jne 0x140037a09
mov r8d, 9
lea rdx, str.intel_avx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov ecx, edi
je 0x140037a0e
mov ecx, 2
mov rax, qword [rbx - 8]
mov dword [rax + 0x118], ecx
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rcx, qword [rbp - 0x48]
cmp qword [rbp - 0x38], 9
jne 0x140037a45
mov r8d, 9
lea rdx, str.intel_avx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov ecx, edi
je 0x140037a4a
mov ecx, 2
mov rax, qword [rbx]
mov dword [rax + 0x118], ecx
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rcx, qword [rbp - 0x48]
cmp qword [rbp - 0x38], 9
jne 0x140037a80
mov r8d, 9
lea rdx, str.intel_avx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov ecx, edi
je 0x140037a85
mov ecx, 2
mov rax, qword [rbx + 8]
mov dword [rax + 0x118], ecx
add esi, 4
add rbx, 0x20
cmp esi, 4
jb 0x1400379a0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140037692
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037adc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037adc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bc0ec
jmp 0x140037692
mov rcx, qword [r10 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x140037b0e
cmp dword [rax + 0x10], r9d
je 0x140037b00
mov rax, qword [rax]
jmp 0x140037791
cmp rax, rdx
je 0x140037b0e
mov rcx, qword [rax + 0x18]
mov qword [rbx], rcx
jmp 0x140037b11
mov qword [rbx], r14
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400bc560
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, [0x1400e9900]
call fcn.1400bc2f8
cmp dword [0x1400e9900], 0xffffffff
jne 0x140037714
mov dword [rbp - 0x48], reloc.WSOCK32.dll_recv
lea rax, [0x1400353e0]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x48]
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x38]
mov qword [rbp - 0x58], rax
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
lea rdx, [rbp - 0x60]
lea rcx, [0x1400e98c0]
call fcn.1400ab340
lea rcx, [0x1400c7e20]
call fcn.1400bcea8
nop
lea rcx, [0x1400e9900]
call fcn.1400bc298
jmp 0x140037714