Function at 0x140037bf0
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.0x140037c55.1
cdqe
mov ecx, dword [r10 + rax*4 + 0x384b8]
add rcx, r10
jmp rcx
mov dl, 1
jmp 0x140037c95
xor dl, dl
jmp 0x140037c95
mov dl, 3
jmp 0x140037c95
mov dl, 4
jmp 0x140037c95
mov dl, 5
jmp 0x140037c95
mov dl, 6
jmp 0x140037c95
mov dl, 7
jmp 0x140037c95
mov dl, 8
jmp 0x140037c95
mov dl, 9
jmp 0x140037c95
mov dl, 0xa
jmp 0x140037c95
mov dl, 0xb
jmp 0x140037c95
mov dl, 0xc
jmp 0x140037c95
mov dl, 0xd
jmp 0x140037c95
mov dl, 0xe
jmp 0x140037c95
mov dl, recv
jmp 0x140037c95
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 + 0xd3950]
mov qword [rcx + 0x108], rax
mov eax, dword [r13 + 4]
xor r14d, r14d
lea edi, [r14 + 1]
cmp eax, 0xb
jne 0x140038067
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 0x140037dbd
xor ecx, ecx
nop
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [rbx + rcx - 1]
jne 0x140037d27
cmp rcx, 4
jne 0x140037d10
xor eax, eax
jmp 0x140037d2c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140037dbd
lea edx, [rax + 5]
lea rcx, [rbp - 0x48]
call fcn.1400ac7e0
mov rsi, rax
lea rax, [rbp - 0x28]
cmp rax, rsi
je 0x140037d77
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 0x140037db5
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037db0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037db0
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 0x140037e04
movzx eax, byte [rcx]
cmp al, byte [reloc.WSOCK32.dll_WSAGetLastError]
jne 0x140037df7
movzx eax, byte [rcx + 1]
cmp al, byte [0x1400d293d]
jne 0x140037df7
movzx eax, byte [rcx + 2]
cmp al, byte [0x1400d293e]
jne 0x140037df7
xor eax, eax
jmp 0x140037dfc
sbb eax, eax
or eax, 1
test eax, eax
je 0x140037f05
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x48]
call fcn.1400059e0
mov r8, r13
mov rdx, r12
mov rcx, rax
call fcn.1400a7be0
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x140037e2c
mov rdx, qword [r15]
cmp qword [r15 + 0x10], 4
jne 0x140037e81
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [rbx + rcx - 1]
jne 0x140037e57
cmp rcx, 4
jne 0x140037e40
xor eax, eax
jmp 0x140037e5c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140037e81
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 0x140037ef2
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 0x140037eb2
mov r8, rbx
lea rdx, str.intel_avx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140037f05
lea rcx, [rbp - 0x28]
cmp r14, 0x10
cmovae rcx, rsi
cmp rbx, 7
jne 0x140037ed7
mov r8, rbx
lea rdx, str.amd_avx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140037f05
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 0x140037f3f
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140037f37
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037f37
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
mov rax, qword [r12]
mov rcx, qword [rdx + 8]
mov rax, qword [rax + 0x108]
mov qword [rcx + 0x108], rax
add edi, 4
lea rdx, [rdx + 0x20]
cmp edi, 5
jb 0x140037f50
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 [0x1400e9950], ecx
jg 0x140038444
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 [0x1400e9940]
mov rax, r8
add rax, rax
mov rdx, qword [0x1400e9928]
mov rax, qword [rdx + rax*8]
lea rcx, [r8 + r8]
mov r8, qword [rdx + rcx*8]
lea r10, [rdx + rcx*8]
mov rdx, qword [0x1400e9918]
cmp r8, rdx
jne 0x1400383f2
mov rcx, rdx
jmp 0x1400383f9
cmp eax, 0x10
jne 0x140037f46
mov rcx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x14003807d
mov rcx, qword [r15]
cmp qword [r15 + 0x10], 3
jne 0x1400380b8
movzx eax, byte [rcx]
cmp al, byte [reloc.WSOCK32.dll_WSAGetLastError]
jne 0x1400380ac
movzx eax, byte [rcx + 1]
cmp al, byte [0x1400d293d]
jne 0x1400380ac
movzx eax, byte [rcx + 2]
cmp al, byte [0x1400d293e]
jne 0x1400380ac
mov eax, r14d
jmp 0x1400380b0
sbb eax, eax
or eax, edi
test eax, eax
je 0x140037f46
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 0x14003819a
mov rcx, r14
lea rbx, str.auto
nop
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [rbx + rcx - 1]
jne 0x140038108
cmp rcx, 4
jne 0x1400380f0
mov eax, r14d
jmp 0x14003810d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14003819a
lea edx, [rax + 5]
lea rcx, [rbp - 0x28]
call fcn.1400ac7e0
mov rbx, rax
lea rax, [rbp - 0x48]
cmp rax, rbx
je 0x140038154
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 0x140038192
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003818d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003818d
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 0x140038237
movzx eax, byte [rcx]
cmp al, byte [reloc.WSOCK32.dll_WSAGetLastError]
jne 0x1400381d9
movzx eax, byte [rcx + 1]
cmp al, byte [0x1400d293d]
jne 0x1400381d9
movzx eax, byte [rcx + 2]
cmp al, byte [0x1400d293e]
jne 0x1400381d9
mov eax, r14d
jmp 0x1400381de
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140038237
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
mov rax, qword [rcx + 0x10]
mov dword [rax + 0x118], r14d
add edx, 5
lea rcx, [rcx + 0x28]
cmp edx, 5
jb 0x1400381f0
jmp 0x1400383ab
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]
nop dword [rax + rax]
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rcx, qword [rbp - 0x48]
cmp qword [rbp - 0x38], 9
jne 0x14003829d
mov r8d, 9
lea rdx, str.intel_avx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov ecx, edi
je 0x1400382a2
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 0x1400382d9
mov r8d, 9
lea rdx, str.intel_avx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov ecx, edi
je 0x1400382de
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 0x140038315
mov r8d, 9
lea rdx, str.intel_avx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov ecx, edi
je 0x14003831a
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 0x140038350
mov r8d, 9
lea rdx, str.intel_avx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov ecx, edi
je 0x140038355
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 0x14003838c
mov r8d, 9
lea rdx, str.intel_avx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov ecx, edi
je 0x140038391
mov ecx, 2
mov rax, qword [rbx + 0x10]
mov dword [rax + 0x118], ecx
add esi, 5
add rbx, 0x28
cmp esi, 5
jb 0x140038270
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140037f42
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400383e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400383e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bc0ec
jmp 0x140037f42
mov rcx, qword [r10 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x14003841a
cmp dword [rax + 0x10], r9d
je 0x14003840c
mov rax, qword [rax]
jmp 0x140038056
cmp rax, rdx
je 0x14003841a
mov rcx, qword [rax + 0x18]
mov qword [rbx], rcx
jmp 0x14003841d
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, [0x1400e9950]
call fcn.1400bc2f8
cmp dword [0x1400e9950], 0xffffffff
jne 0x140037fda
mov dword [rbp - 0x48], reloc.WSOCK32.dll_recv
lea rax, [0x1400356f0]
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, [0x1400e9910]
call fcn.1400ab340
lea rcx, [0x1400c7ea0]
call fcn.1400bcea8
nop
lea rcx, [0x1400e9950]
call fcn.1400bc298
jmp 0x140037fda