Function at 0x140036ae0
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.0x140036b45.1
cdqe
mov ecx, dword [r10 + rax*4 + 0x372f0]
add rcx, r10
jmp rcx
mov dl, 1
jmp 0x140036b85
xor dl, dl
jmp 0x140036b85
mov dl, 3
jmp 0x140036b85
mov dl, 4
jmp 0x140036b85
mov dl, 5
jmp 0x140036b85
mov dl, 6
jmp 0x140036b85
mov dl, 7
jmp 0x140036b85
mov dl, 8
jmp 0x140036b85
mov dl, 9
jmp 0x140036b85
mov dl, 0xa
jmp 0x140036b85
mov dl, 0xb
jmp 0x140036b85
mov dl, 0xc
jmp 0x140036b85
mov dl, 0xd
jmp 0x140036b85
mov dl, 0xe
jmp 0x140036b85
mov dl, recv
jmp 0x140036b85
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 + 0xd3550]
mov qword [rcx + 0x108], rax
mov eax, dword [r13 + 4]
xor r14d, r14d
lea edi, [r14 + 1]
cmp eax, 0xb
jne 0x140036f31
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 0x140036cad
xor ecx, ecx
nop
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [rbx + rcx - 1]
jne 0x140036c17
cmp rcx, 4
jne 0x140036c00
xor eax, eax
jmp 0x140036c1c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140036cad
lea edx, [rax + 3]
lea rcx, [rbp - 0x48]
call fcn.1400ac7e0
mov rsi, rax
lea rax, [rbp - 0x28]
cmp rax, rsi
je 0x140036c67
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 0x140036ca5
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140036ca0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140036ca0
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 0x140036cf4
movzx eax, byte [rcx]
cmp al, byte [reloc.WSOCK32.dll_WSAGetLastError]
jne 0x140036ce7
movzx eax, byte [rcx + 1]
cmp al, byte [0x1400d293d]
jne 0x140036ce7
movzx eax, byte [rcx + 2]
cmp al, byte [0x1400d293e]
jne 0x140036ce7
xor eax, eax
jmp 0x140036cec
sbb eax, eax
or eax, 1
test eax, eax
je 0x140036df5
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x48]
call fcn.1400059e0
mov r8, r13
mov rdx, r12
mov rcx, rax
call fcn.1400a7770
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x140036d1c
mov rdx, qword [r15]
cmp qword [r15 + 0x10], 4
jne 0x140036d71
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [rbx + rcx - 1]
jne 0x140036d47
cmp rcx, 4
jne 0x140036d30
xor eax, eax
jmp 0x140036d4c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140036d71
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 0x140036de2
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 0x140036da2
mov r8, rbx
lea rdx, str.intel_avx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140036df5
lea rcx, [rbp - 0x28]
cmp r14, 0x10
cmovae rcx, rsi
cmp rbx, 7
jne 0x140036dc7
mov r8, rbx
lea rdx, str.amd_avx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140036df5
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 0x140036e2f
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140036e27
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140036e27
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 + 8]
nop dword [rax + 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, 2
lea rdx, [rdx + 0x10]
cmp edi, 3
jb 0x140036e40
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 [0x1400e98b0], ecx
jg 0x14003727c
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 [0x1400e98a0]
mov rax, r8
add rax, rax
mov rdx, qword [0x1400e9888]
mov rax, qword [rdx + rax*8]
lea rcx, [r8 + r8]
mov r8, qword [rdx + rcx*8]
lea r10, [rdx + rcx*8]
mov rdx, qword [0x1400e9878]
nop dword [rax + rax]
cmp r8, rdx
jne 0x14003722a
mov rcx, rdx
jmp 0x140037231
cmp eax, 0x10
jne 0x140036e36
mov rcx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x140036f47
mov rcx, qword [r15]
cmp qword [r15 + 0x10], 3
jne 0x140036f82
movzx eax, byte [rcx]
cmp al, byte [reloc.WSOCK32.dll_WSAGetLastError]
jne 0x140036f76
movzx eax, byte [rcx + 1]
cmp al, byte [0x1400d293d]
jne 0x140036f76
movzx eax, byte [rcx + 2]
cmp al, byte [0x1400d293e]
jne 0x140036f76
mov eax, r14d
jmp 0x140036f7a
sbb eax, eax
or eax, edi
test eax, eax
je 0x140036e36
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 0x14003706a
mov rcx, r14
lea rbx, str.auto
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [rbx + rcx - 1]
jne 0x140036fd8
cmp rcx, 4
jne 0x140036fc0
mov eax, r14d
jmp 0x140036fdd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14003706a
lea edx, [rax + 3]
lea rcx, [rbp - 0x28]
call fcn.1400ac7e0
mov rbx, rax
lea rax, [rbp - 0x48]
cmp rax, rbx
je 0x140037024
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 0x140037062
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003705d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003705d
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 0x1400370f1
movzx eax, byte [rcx]
cmp al, byte [reloc.WSOCK32.dll_WSAGetLastError]
jne 0x1400370a5
movzx eax, byte [rcx + 1]
cmp al, byte [0x1400d293d]
jne 0x1400370a5
movzx eax, byte [rcx + 2]
cmp al, byte [0x1400d293e]
jne 0x1400370a5
mov eax, r14d
jmp 0x1400370aa
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400370f1
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
add edx, 3
lea rcx, [rcx + 0x18]
cmp edx, 3
jb 0x1400370c0
jmp 0x1400371e3
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
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rcx, qword [rbp - 0x48]
cmp qword [rbp - 0x38], 9
jne 0x14003714d
mov r8d, 9
lea rdx, str.intel_avx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov ecx, edi
je 0x140037152
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 0x140037189
mov r8d, 9
lea rdx, str.intel_avx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov ecx, edi
je 0x14003718e
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 0x1400371c5
mov r8d, 9
lea rdx, str.intel_avx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov ecx, edi
je 0x1400371ca
mov ecx, 2
mov rax, qword [rbx]
mov dword [rax + 0x118], ecx
add esi, 3
add rbx, 0x18
cmp esi, 3
jb 0x140037120
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140036e32
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037220
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037220
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bc0ec
jmp 0x140036e32
mov rcx, qword [r10 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x140037252
cmp dword [rax + 0x10], r9d
je 0x140037244
mov rax, qword [rax]
jmp 0x140036f20
cmp rax, rdx
je 0x140037252
mov rcx, qword [rax + 0x18]
mov qword [rbx], rcx
jmp 0x140037255
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, [0x1400e98b0]
call fcn.1400bc2f8
cmp dword [0x1400e98b0], 0xffffffff
jne 0x140036e9e
mov dword [rbp - 0x48], reloc.WSOCK32.dll_recv
lea rax, [0x140035180]
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, [0x1400e9870]
call fcn.1400ab340
lea rcx, [0x1400c7da0]
call fcn.1400bcea8
nop
lea rcx, [0x1400e98b0]
call fcn.1400bc298
jmp 0x140036e9e