Function at 0x140089f40
Capabilities:
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x150
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x14014ac68]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r14, rcx
mov qword [rsp + 0x30], rcx
xor r8d, r8d
lea rdx, [rbp - 0x48]
mov rcx, qword [rcx + 8]
call fcn.14000a6e0
test eax, eax
jle 0x140089012
xor r15d, r15d
lea rbx, [0x140000000]
movabs rsi, 0x100000001b3
xorps xmm7, xmm7
movabs r12, 0xcbf29ce484222325
nop word [rax + rax]
mov ecx, dword [rbp - 0x48]
sub ecx, 1
je 0x140088f55
sub ecx, 1
je 0x140089008
cmp ecx, 1
jne 0x140088f61
mov rax, qword [rbp - 0x30]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je case.0x140088637.2
cmp qword [rax + 0x18], 3
jbe 0x140088f09
movzx edx, byte [rcx]
mov ecx, edx
sub ecx, 2
je 0x140088ebe
sub ecx, 1
je 0x140088e76
sub ecx, 1
je 0x14008860c
sub ecx, 2
je 0x1400885b9
cmp ecx, 1
je 0x140089012
jmp 0x140088f0c
mov rcx, qword [rbp - 0x30]
call fcn.14008b4c0
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], r15
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400885e0
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14000f110
lea rcx, [rbp - 0x20]
call fcn.140062440
test al, al
jne 0x140088ff6
jmp case.0x140088637.2
mov rcx, qword [rbp - 0x30]
call fcn.14008b420
mov rdi, rax
test rax, rax
je case.0x140088637.2
movzx eax, byte [rax]
cmp eax, 0x16
ja case.0x140088637.2
mov edx, dword [rbx + rax*4 + 0x8904c]
add rdx, rbx
jmp rdx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x1f], xmm0
mov word [rbp - 0xf], r15w
mov byte [rbp - 0xd], 0
movdqu xmmword [rbp + 8], xmm0
mov byte [rbp - 0x20], reloc.WS2_32.dll_setsockopt
mov eax, dword [rdi + 0x14]
mov dword [rbp - 0xc], eax
movaps xmm0, xmmword [0x14011a790]
movups xmmword [rbp - 8], xmm0
mov rax, qword [0x14014f410]
mov rdi, qword [rax + 0x18]
mov rbx, qword [rax]
test rdi, rdi
je case.0x140088637.2
test rbx, rbx
je case.0x140088637.2
mov edx, 0x41
xor ecx, ecx
lea r8d, [rdx - 0x40]
call fcn.1400090f0
mov rcx, qword [rax + 0x10]
mov dword [rcx], 4
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rcx + 4], xmm0
movups xmm1, xmmword [rbp - 0x10]
movups xmmword [rcx + 0x14], xmm1
movups xmm0, xmmword [rbp]
movups xmmword [rcx + 0x24], xmm0
movsd xmm1, qword [rbp + 0x10]
movsd qword [rcx + 0x34], xmm1
mov dword [rcx + 0x3c], r15d
xor edx, edx
mov byte [rcx + 0x40], dl
mov r8, rax
mov rcx, rdi
call fcn.14000a210
test eax, eax
je 0x1400886e6
mov edx, eax
lea rcx, str._SERVER_:_Error_Sending_Packet__Code:__d_n
call fcn.14006eec0
mov rcx, rbx
call fcn.14000a6b0
jmp case.0x140088637.2
mov rax, qword [0x14014f410]
mov ecx, dword [rax + 0xf8]
cmp dword [rdi + 4], ecx
je 0x140088f7e
mov dword [r14 + 0x20], r15d
mov word [r14 + 0x24], r15w
lea rcx, [r14 + 0x28]
call fcn.140087eb0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
mov r8, r15
mov qword [rbp - 0x10], r15
mov eax, dword [rdi + 0x39]
mov dword [r14 + 0x20], eax
movzx eax, word [rdi + 0x3d]
mov word [r14 + 0x24], ax
mov edx, eax
test rax, rax
je 0x140088753
lea r8, [rsp + 0x28]
lea rcx, [rbp - 0x20]
call fcn.140087710
mov r8, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x20]
sub r8, rcx
sar r8, 2
lea r8, [r8*4]
lea rdx, [rdi + 0x3f]
call sub.VCRUNTIME140.dll_memcpy
mov rdi, qword [rbp - 0x18]
mov rbx, qword [rbp - 0x20]
cmp rbx, rdi
je 0x1400887af
nop dword [rax]
movzx eax, word [rbx]
mov dword [rsp + 0x20], eax
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x38]
lea rcx, [r14 + 0x28]
call fcn.140087890
mov rcx, qword [rax]
mov eax, dword [rbx]
mov dword [rcx + 0x14], eax
add rbx, 4
cmp rbx, rdi
jne 0x140088780
mov rbx, qword [rbp - 0x20]
test rbx, rbx
je case.0x140088637.2
mov rdx, qword [rbp - 0x10]
sub rdx, rbx
and rdx, 0xfffffffffffffffc
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400887e8
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140089001
mov rcx, rbx
call fcn.1400f232c
jmp case.0x140088637.2
mov rcx, qword [rbp - 0x30]
call fcn.14008b470
mov rsi, rax
lea r8, [rsp + 0x20]
cmp byte [rax + 3], 0
je 0x140088830
mov ecx, dword [rdi + 0x14]
mov dword [rsp + 0x20], ecx
lea rdx, [rsp + 0x48]
lea rcx, [r14 + 0x28]
call fcn.140087890
mov rcx, qword [rax]
movzx eax, byte [rsi + 3]
add byte [rcx + 0x16], al
jmp case.0x140088637.2
mov eax, dword [rdi + 0x14]
mov dword [rsp + 0x20], eax
lea rdx, [rsp + 0x58]
lea rcx, [r14 + 0x28]
call fcn.140087890
mov rcx, qword [rax]
movzx eax, byte [rdi + 2]
cmp byte [rcx + 0x16], al
mov eax, dword [rdi + 0x14]
lea rcx, [r14 + 0x28]
mov dword [rsp + 0x20], eax
jbe 0x14008887a
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x68]
call fcn.140087890
mov rcx, qword [rax]
movzx eax, byte [rdi + 2]
sub byte [rcx + 0x16], al
jmp case.0x140088637.2
lea rdx, [rsp + 0x20]
call fcn.140088300
jmp case.0x140088637.2
mov r8d, dword [rdi + 0x14]
cmp r8d, 0x12
je case.0x140088637.2
mov eax, dword [r14 + 0xf8]
cmp dword [rdi + 4], eax
jne case.0x140088637.2
mov eax, r8d
shr eax, 8
movzx edx, al
movzx eax, r8b
xor rax, r12
imul rax, rsi
xor rdx, rax
imul rdx, rsi
mov eax, r8d
shr eax, 0x10
movzx ecx, al
xor rdx, rcx
imul rdx, rsi
mov eax, r8d
shr rax, 0x18
xor rdx, rax
imul rdx, rsi
mov rcx, qword [r14 + 0x58]
and rcx, rdx
add rcx, rcx
mov rdx, qword [r14 + 0x40]
mov rax, qword [rdx + rcx*8 + 8]
mov r9, qword [r14 + 0x30]
cmp rax, r9
je 0x140088917
mov rcx, qword [rdx + rcx*8]
cmp r8d, dword [rax + 0x10]
je 0x14008891a
cmp rax, rcx
je 0x140088917
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
jne 0x140088906
jmp 0x14008891a
mov rax, r15
test rax, rax
cmove rax, r9
cmp rax, r9
je case.0x140088637.2
movzx ecx, byte [rax + 0x16]
cmp cl, 1
jbe 0x14008893d
dec cl
mov byte [rax + 0x16], cl
jmp case.0x140088637.2
mov dword [rsp + 0x20], r8d
lea rdx, [rsp + 0x20]
lea rcx, [r14 + 0x28]
call fcn.140088300
jmp case.0x140088637.2
movss xmm1, dword [rdi + 0x18]
ucomiss xmm1, xmm7
jp 0x140088cf2
jne 0x140088cf2
movss xmm0, dword [rdi + 0x1c]
ucomiss xmm0, xmm7
jp 0x140088cf2
jne 0x140088cf2
mov eax, dword [r14 + 0xf8]
cmp dword [rdi + 4], eax
jne 0x140088bd1
mov r8d, dword [rdi + 0x14]
mov eax, r8d
shr eax, 8
movzx edx, al
movzx eax, r8b
xor rax, r12
imul rax, rsi
xor rdx, rax
imul rdx, rsi
mov eax, r8d
shr eax, 0x10
movzx ecx, al
xor rdx, rcx
imul rdx, rsi
mov eax, r8d
shr rax, 0x18
xor rdx, rax
imul rdx, rsi
mov rax, qword [r14 + 0x1e0]
and rax, rdx
add rax, rax
mov rcx, qword [r14 + 0x1c8]
mov rbx, qword [rcx + rax*8 + 8]
mov rdx, qword [r14 + 0x1b8]
cmp rbx, rdx
je 0x140088a11
mov rax, qword [rcx + rax*8]
cmp r8d, dword [rbx + 0x10]
je 0x140088a14
nop dword [rax]
cmp rbx, rax
je 0x140088a11
mov rbx, qword [rbx + 8]
cmp r8d, dword [rbx + 0x10]
jne 0x140088a00
jmp 0x140088a14
mov rbx, r15
test rbx, rbx
cmove rbx, rdx
movzx r12d, word [rbx + 0x14]
cmp r12d, 0x70
je 0x140088c61
movups xmm0, xmmword [rbx + 0x14]
movaps xmmword [rbp - 0x20], xmm0
mov eax, dword [rbx + 0x24]
mov dword [rbp - 0x10], eax
movd eax, xmm0
movzx edx, ax
lea rcx, [r14 + 0x20]
call fcn.1400883f0
test eax, eax
je 0x140088a65
cmp eax, 0xc8
jge 0x140088a73
mov esi, reloc.WLDAP32.dll_Ordinal_200
sub esi, eax
movzx eax, byte [rbp - 0x14]
cmp esi, eax
cmovge esi, eax
jmp 0x140088a76
mov eax, dword [r14 + 0x20]
cmp rax, qword [r14 + 0x38]
movzx esi, byte [rbp - 0x14]
ja 0x140088a76
mov esi, r15d
mov edx, r12d
lea rcx, [r14 + 0x20]
call fcn.140088160
mov dword [rsp + 0x20], r12d
lea r8, [rsp + 0x20]
lea rcx, [r14 + 0x28]
test al, al
jne 0x140088ab9
mov word [rsp + 0x2c], r12w
mov byte [rsp + 0x2e], sil
mov byte [rsp + 0x2f], al
lea rdx, [rsp + 0x78]
call fcn.140087890
mov rcx, qword [rax]
mov eax, dword [rsp + 0x2c]
mov dword [rcx + 0x14], eax
jmp 0x140088ac9
lea rdx, [rbp - 0x78]
call fcn.140087890
mov rcx, qword [rax]
add byte [rcx + 0x16], sil
mov r12d, 0xf2
cmp byte [0x14014e1b7], 0
je 0x140088b03
mov ecx, dword [0x14014e1b8]
cmp word [rbx + 0x14], r12w
jne 0x140088aed
add ecx, esi
mov dword [0x14014e1b8], ecx
mov eax, 0x704
cmp word [rbx + 0x14], ax
jne 0x140088b03
imul eax, esi, 0x64
add ecx, eax
mov dword [0x14014e1b8], ecx
mov dword [rsp + 0x20], r12d
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x68]
lea rcx, [r14 + 0x28]
call fcn.140087890
mov rax, qword [rax]
cmp byte [rax + 0x16], 0x64
jb 0x140088bbf
xorps xmm6, xmm6
xor r14d, r14d
movups xmmword [rbp - 0x20], xmm6
movups xmmword [rbp - 0x10], xmm6
mov qword [rbp + 0x10], r14
mov byte [rbp - 0x20], 0xa
mov dword [rbp - 0xc], r12d
mov rax, qword [0x14014f410]
mov rsi, qword [rax + 0x10]
mov rbx, qword [rax + 8]
test rsi, rsi
je 0x140088bbf
test rbx, rbx
je 0x140088bbf
lea edx, [r14 + 0x41]
xor ecx, ecx
lea r8d, [r14 + 1]
call fcn.1400090f0
mov rcx, qword [rax + 0x10]
mov dword [rcx], 4
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rcx + 4], xmm0
movups xmm1, xmmword [rbp - 0x10]
movups xmmword [rcx + 0x14], xmm1
movups xmmword [rcx + 0x24], xmm6
movsd xmm0, qword [rbp + 0x10]
movsd qword [rcx + 0x34], xmm0
mov dword [rcx + 0x3c], r14d
xor edx, edx
mov byte [rcx + 0x40], dl
mov r8, rax
mov rcx, rsi
call fcn.14000a210
test eax, eax
je 0x140088bb7
mov edx, eax
lea rcx, str._SERVER_:_Error_Sending_Packet__Code:__d_n
call fcn.14006eec0
mov rcx, rbx
call fcn.14000a6b0
movabs rsi, 0x100000001b3
xor r15d, r15d
mov r14, qword [rsp + 0x30]
mov r9d, dword [rdi + 0x14]
mov eax, r9d
shr eax, 8
movzx edx, al
movzx eax, r9b
movabs rcx, 0xcbf29ce484222325
xor rax, rcx
imul rax, rsi
xor rdx, rax
imul rdx, rsi
mov eax, r9d
shr eax, 0x10
movzx ecx, al
xor rdx, rcx
imul rdx, rsi
mov eax, r9d
shr rax, 0x18
xor rdx, rax
imul rdx, rsi
mov rcx, qword [r14 + 0x1e0]
and rcx, rdx
add rcx, rcx
mov rdx, qword [r14 + 0x1c8]
mov r11, qword [rdx + rcx*8 + 8]
mov r8, r11
mov r10, qword [r14 + 0x1b8]
cmp r11, r10
je 0x140088c85
mov rax, qword [rdx + rcx*8]
cmp r9d, dword [r11 + 0x10]
je 0x140088c88
nop word [rax + rax]
cmp r8, rax
je 0x140088c85
mov r8, qword [r8 + 8]
cmp r9d, dword [r8 + 0x10]
jne 0x140088c50
jmp 0x140088c88
movzx eax, byte [rbx + 0x20]
add dword [r14 + 0x68], eax
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x140088bd1
movzx eax, byte [rbx + 0x20]
add dword [0x14014e090], eax
jmp 0x140088bd1
mov r8, r15
test r8, r8
je 0x140088ce3
mov rax, qword [rdx + rcx*8]
cmp r11, r8
jne 0x140088cb1
cmp rax, r8
jne 0x140088ca6
mov qword [rdx + rcx*8], r10
mov qword [rdx + rcx*8 + 8], r10
jmp 0x140088cbd
mov r10, qword [r8 + 8]
mov qword [rdx + rcx*8 + 8], r10
jmp 0x140088cbd
cmp rax, r8
jne 0x140088cbd
mov rax, qword [r8]
mov qword [rdx + rcx*8], rax
mov rcx, qword [r8]
dec qword [r14 + 0x1c0]
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
mov edx, Ordinal_41
mov rcx, r8
call fcn.1400f232c
movabs r12, 0xcbf29ce484222325
jmp case.0x140088637.2
mov eax, dword [rdi + 4]
cmp eax, 0xffffffff
jne 0x140088d59
movzx eax, word [rdi + 0x14]
mov word [rbp - 0x20], ax
movss xmm0, dword [rdi + 0x1c]
movss dword [rbp - 0x1c], xmm1
movss dword [rbp - 0x18], xmm0
cvttss2si rax, dword [rdi + 0x10]
mov byte [rbp - 0x14], al
mov byte [rbp - 0x13], 0
inc dword [r14 + 0x120]
mov eax, dword [r14 + 0x120]
mov dword [rbp - 0x10], eax
lea rcx, [r14 + 0x1b0]
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x58]
call fcn.140012ed0
mov rcx, qword [rax]
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rcx + 0x14], xmm0
mov eax, dword [rbp - 0x10]
mov dword [rcx + 0x24], eax
jmp case.0x140088637.2
cmp eax, 0xfffffffd
jne case.0x140088637.2
mov r8d, dword [rdi + 8]
mov eax, r8d
shr eax, 8
movzx edx, al
movzx eax, r8b
movabs rcx, 0xcbf29ce484222325
xor rax, rcx
imul rax, rsi
xor rdx, rax
imul rdx, rsi
mov eax, r8d
shr eax, 0x10
movzx ecx, al
xor rdx, rcx
imul rdx, rsi
mov eax, r8d
shr rax, 0x18
xor rdx, rax
imul rdx, rsi
mov rcx, qword [r14 + 0x1e0]
and rcx, rdx
add rcx, rcx
mov rdx, qword [r14 + 0x1c8]
mov rax, qword [rdx + rcx*8 + 8]
mov r9, qword [r14 + 0x1b8]
cmp rax, r9
je 0x140088de9
mov rcx, qword [rdx + rcx*8]
cmp r8d, dword [rax + 0x10]
je 0x140088dec
cmp rax, rcx
je 0x140088de9
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
jne 0x140088dd8
jmp 0x140088dec
mov rax, r15
test rax, rax
cmove rax, r9
movabs r12, 0xcbf29ce484222325
cmp rax, r9
je case.0x140088637.2
movzx ecx, word [rdi + 0x14]
mov word [rax + 0x14], cx
movss xmm0, dword [rdi + 0x18]
movss xmm1, dword [rdi + 0x1c]
movss dword [rax + 0x18], xmm0
movss dword [rax + 0x1c], xmm1
cvttss2si rcx, dword [rdi + 0x10]
mov byte [rax + 0x20], cl
jmp case.0x140088637.2
mov rcx, rdi
call fcn.1400648e0
test al, al
jne 0x140088ff6
jmp case.0x140088637.2
mov rax, qword [rbp - 0x30]
mov edx, dword [rax + 0x18]
mov rcx, rdi
call fcn.14005ed90
test al, al
jne 0x140088ff6
jmp case.0x140088637.2
mov rcx, rdi
call fcn.14005f920
test al, al
jne 0x140088ff6
jmp case.0x140088637.2
mov rcx, qword [rbp - 0x30]
call fcn.14008b4c0
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], r15
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140088e95
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14000f110
lea rcx, [rbp - 0x20]
call fcn.14002cb80
test al, al
jne 0x140088ff6
jmp case.0x140088637.2
mov rcx, qword [rbp - 0x30]
call fcn.14008b4c0
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], r15
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140088ee0
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14000f110
lea rcx, [rbp - 0x20]
call fcn.14002cf40
test al, al
jne 0x140088ff6
jmp case.0x140088637.2
mov edx, r15d
lea rcx, str._SERVER_:_Got_unknown_packet_of_type__d._n
call fcn.14006eec0
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x140089012
cmp qword [r14], 0
je 0x140089012
mov r8, qword [rbp - 0x30]
xor edx, edx
call fcn.14000a210
mov rcx, qword [r14]
call fcn.14000a6b0
lea rbx, [0x140000000]
movabs rsi, 0x100000001b3
jmp 0x140088f61
lea rcx, str._CLIENT_:_connection_event_n
call fcn.14006eec0
xor r8d, r8d
lea rdx, [rbp - 0x48]
mov rcx, qword [r14 + 8]
call fcn.14000a6e0
test eax, eax
jle 0x140089012
jmp 0x140088550
mov rcx, qword [rbp - 0x30]
call fcn.140087af0
cmp byte [0x14014e0a4], 0
jne 0x140088fa5
movzx ecx, word [rax + 1]
mov word [0x1401480c8], cx
movzx ecx, byte [rax + 3]
mov byte [0x1401480ca], cl
movzx ecx, byte [rax + 2]
mov byte [0x140148088], cl
movzx eax, byte [rax + 3]
mov byte [0x140148089], al
movss xmm0, dword [0x14014e0f0]
ucomiss xmm0, xmm7
jp 0x140088fd7
jne 0x140088fd7
movss xmm0, dword [0x14014e07c]
ucomiss xmm0, xmm7
jp 0x140088fd7
je 0x140088fde
mov byte [0x14014e10d], 1
xor r8d, r8d
mov rax, qword [0x14014f410]
mov edx, dword [rax + 0xf8]
mov rcx, r14
call fcn.14008a850
mov rcx, qword [rbp - 0x30]
call fcn.1400091a0
jmp 0x140089012
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov dl, 1
mov rcx, r14
call fcn.140087f70
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400f2440
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.1400890b0
cmp qword [rbx + 8], 0
je 0x140089f62
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400884d0
add rsp, 0x20
pop rbx
ret