Function at 0x140035b90
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 [0x1400e71d8]
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, [0x140000000]
cmp eax, 0x10
ja case.0x140035bf1.1
cdqe
mov ecx, dword [r10 + rax*4 + 0x362a8]
add rcx, r10
jmp rcx
mov dl, 1
jmp 0x140035c31
xor dl, dl
jmp 0x140035c31
mov dl, 3
jmp 0x140035c31
mov dl, 4
jmp 0x140035c31
mov dl, 5
jmp 0x140035c31
mov dl, 6
jmp 0x140035c31
mov dl, 7
jmp 0x140035c31
mov dl, 8
jmp 0x140035c31
mov dl, 9
jmp 0x140035c31
mov dl, 0xa
jmp 0x140035c31
mov dl, 0xb
jmp 0x140035c31
mov dl, 0xc
jmp 0x140035c31
mov dl, 0xd
jmp 0x140035c31
mov dl, 0xe
jmp 0x140035c31
mov dl, recv
jmp 0x140035c31
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 + 0xd3b50]
mov qword [rcx + 0x108], rax
mov eax, dword [r13 + 4]
xor esi, esi
cmp eax, 0xb
jne 0x140035f97
mov rdx, r15
lea rcx, [rbp - 0x50]
call fcn.1400059e0
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 0x140035d5d
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [rbx + rcx - 1]
jne 0x140035cc7
cmp rcx, 4
jne 0x140035cb0
xor eax, eax
jmp 0x140035ccc
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140035d5d
lea edx, [rax + 1]
lea rcx, [rbp - 0x30]
call fcn.1400ac7e0
mov rsi, rax
lea rax, [rbp - 0x50]
cmp rax, rsi
je 0x140035d17
lea rcx, [rbp - 0x50]
call fcn.14000bd50
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], shutdown
mov byte [rsi], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x140035d55
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140035d50
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140035d50
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 - 0x50]
mov r14, qword [rbp - 0x38]
lea rcx, [rbp - 0x50]
cmp r14, 0x10
cmovae rcx, rsi
cmp qword [rbp - 0x40], 3
jne 0x140035da4
movzx eax, byte [rcx]
cmp al, byte [reloc.WSOCK32.dll_WSAGetLastError]
jne 0x140035d97
movzx eax, byte [rcx + 1]
cmp al, byte [0x1400d293d]
jne 0x140035d97
movzx eax, byte [rcx + 2]
cmp al, byte [0x1400d293e]
jne 0x140035d97
xor eax, eax
jmp 0x140035d9c
sbb eax, eax
or eax, 1
test eax, eax
je 0x140035ea7
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.1400059e0
mov r8, r13
mov rdx, rdi
mov rcx, rax
call fcn.1400a7320
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x140035dcc
mov rdx, qword [r15]
cmp qword [r15 + 0x10], 4
jne 0x140035e21
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [rbx + rcx - 1]
jne 0x140035df7
cmp rcx, 4
jne 0x140035de0
xor eax, eax
jmp 0x140035dfc
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140035e21
lea rbx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rbx, qword [rbp - 0x50]
call fcn.14000e5b0
lea r8, str.Switch_to_assembler_version_for__s_cpus
mov edx, 3
jmp 0x140035e94
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 0x140035e52
mov r8, rbx
lea rdx, str.intel_avx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140035ea7
lea rcx, [rbp - 0x50]
cmp r14, 0x10
cmovae rcx, rsi
cmp rbx, 7
jne 0x140035e77
mov r8, rbx
lea rdx, str.amd_avx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140035ea7
lea rbx, [rbp - 0x50]
cmp r14, 0x10
cmovae rbx, rsi
call fcn.14000e5b0
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.140012540
mov rsi, qword [rbp - 0x50]
mov r14, qword [rbp - 0x38]
cmp r14, 0x10
jb 0x140035ee1
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140035ed9
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140035ed9
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 esi, esi
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 [0x1400e99a0], ecx
jg 0x140036234
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 [0x1400e9990]
mov rax, r8
add rax, rax
mov rdx, qword [0x1400e9978]
mov rax, qword [rdx + rax*8]
lea rcx, [r8 + r8]
mov r8, qword [rdx + rcx*8]
lea r10, [rdx + rcx*8]
mov rdx, qword [0x1400e9968]
cmp r8, rdx
jne 0x1400361e0
mov rcx, rdx
jmp 0x1400361e7
cmp eax, 0x10
jne 0x140035ee3
mov rcx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x140035fad
mov rcx, qword [r15]
cmp qword [r15 + 0x10], 3
jne 0x140035fe8
movzx eax, byte [rcx]
cmp al, byte [reloc.WSOCK32.dll_WSAGetLastError]
jne 0x140035fdb
movzx eax, byte [rcx + 1]
cmp al, byte [0x1400d293d]
jne 0x140035fdb
movzx eax, byte [rcx + 2]
cmp al, byte [0x1400d293e]
jne 0x140035fdb
mov eax, esi
jmp 0x140035fe0
sbb eax, eax
or eax, 1
test eax, eax
je 0x140035ee3
mov rdx, r15
lea rcx, [rbp - 0x50]
call fcn.1400059e0
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 0x1400360c9
mov rcx, rsi
lea rbx, str.auto
nop
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [rbx + rcx - 1]
jne 0x140036037
cmp rcx, 4
jne 0x140036020
mov eax, esi
jmp 0x14003603c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400360c9
lea edx, [rax + 1]
lea rcx, [rbp - 0x30]
call fcn.1400ac7e0
mov rbx, rax
lea rax, [rbp - 0x50]
cmp rax, rbx
je 0x140036083
lea rcx, [rbp - 0x50]
call fcn.14000bd50
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], shutdown
mov byte [rbx], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x1400360c1
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400360bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400360bc
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 - 0x50]
mov r9, qword [rbp - 0x38]
lea rcx, [rbp - 0x50]
cmp r9, 0x10
cmovae rcx, r8
cmp qword [rbp - 0x40], 3
jne 0x140036126
movzx eax, byte [rcx]
cmp al, byte [reloc.WSOCK32.dll_WSAGetLastError]
jne 0x140036103
movzx eax, byte [rcx + 1]
cmp al, byte [0x1400d293d]
jne 0x140036103
movzx eax, byte [rcx + 2]
cmp al, byte [0x1400d293e]
jne 0x140036103
mov eax, esi
jmp 0x140036108
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140036126
mov ecx, esi
nop
mov rax, qword [rdi]
mov dword [rax + 0x118], esi
inc ecx
lea rdi, [rdi + 8]
cmp ecx, 1
jb 0x140036110
jmp 0x140036199
lea rbx, [rbp - 0x50]
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 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 0x140036180
mov r8d, 9
lea rdx, str.intel_avx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov ecx, 1
je 0x140036185
mov ecx, 2
mov rax, qword [rdi]
mov dword [rax + 0x118], ecx
inc ebx
add rdi, 8
cmp ebx, 1
jb 0x140036150
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x140035ee3
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400361d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400361d6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bc0ec
jmp 0x140035ee3
mov rcx, qword [r10 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x140036209
cmp dword [rax + 0x10], r9d
je 0x1400361fa
mov rax, qword [rax]
jmp 0x140035f86
cmp rax, rdx
je 0x140036209
mov rcx, qword [rax + 0x18]
mov qword [r12], rcx
jmp 0x14003620d
mov qword [r12], rsi
mov rcx, qword [rbp - 0x10]
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, [0x1400e99a0]
call fcn.1400bc2f8
cmp dword [0x1400e99a0], 0xffffffff
jne 0x140035f0a
mov dword [rbp - 0x30], reloc.WSOCK32.dll_recv
lea rax, [0x140034ee0]
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, [0x1400e9960]
call fcn.1400ab340
lea rcx, [0x1400c7ca0]
call fcn.1400bcea8
nop
lea rcx, [0x1400e99a0]
call fcn.1400bc298
jmp 0x140035f0a