Function at 0x140077140
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 [0x1401279c0]
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.140009ce0
test eax, eax
jle 0x140077c0b
xor edi, edi
lea rsi, [0x140000000]
movabs r12, 0x100000001b3
xorps xmm7, xmm7
movabs r15, 0xcbf29ce484222325
nop dword [rax]
mov ecx, dword [rbp - 0x48]
sub ecx, 1
je 0x140077bd4
sub ecx, 1
je 0x140077c01
cmp ecx, 1
jne 0x140077be0
mov rax, qword [rbp - 0x30]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je case.0x1400772b0.2
cmp qword [rax + 0x18], 3
jbe 0x140077b99
movzx edx, byte [rcx]
mov ecx, edx
sub ecx, 2
je 0x140077b49
sub ecx, 1
je 0x140077af8
sub ecx, 1
je 0x140077285
sub ecx, 2
je 0x140077229
cmp ecx, 1
je 0x140077c0b
jmp 0x140077b9b
mov rcx, qword [rbp - 0x30]
call fcn.140079b60
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rdi
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140077250
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14000e5d0
lea rcx, [rbp - 0x20]
call fcn.1400549b0
test al, al
je case.0x1400772b0.2
mov rcx, qword [rbp - 0x30]
call fcn.140008780
jmp 0x140077c0b
mov rcx, qword [rbp - 0x30]
call fcn.140079ac0
mov rbx, rax
test rax, rax
je case.0x1400772b0.2
movzx eax, byte [rax]
cmp eax, 0x16
ja case.0x1400772b0.2
mov edx, dword [rsi + rax*4 + 0x77c44]
add rdx, rsi
jmp rdx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x1f], xmm0
mov word [rbp - 0xf], di
mov byte [rbp - 0xd], 0
xorps xmm6, xmm6
movdqu xmmword [rbp + 8], xmm6
mov byte [rbp - 0x20], reloc.WS2_32.dll_setsockopt
mov eax, dword [rbx + 0x14]
mov dword [rbp - 0xc], eax
movaps xmm0, xmmword [0x1400fae50]
movups xmmword [rbp - 8], xmm0
mov rax, qword [0x14012c0e8]
mov rdi, qword [rax + 0x18]
mov rbx, qword [rax]
test rdi, rdi
je case.0x1400772b0.2
test rbx, rbx
je case.0x1400772b0.2
mov edx, 0x41
xor ecx, ecx
lea r8d, [rdx - 0x40]
call fcn.1400086d0
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
unpckhpd xmm6, xmm6
movsd qword [rcx + 0x34], xmm6
mov dword [rcx + 0x3c], 0
xor edx, edx
mov byte [rcx + 0x40], dl
mov r8, rax
mov rcx, rdi
call fcn.140009800
test eax, eax
je 0x140077363
mov edx, eax
lea rcx, str._SERVER_:_Error_Sending_Packet__Code:__d_n
call fcn.14005e4d0
mov rcx, rbx
call fcn.140009cb0
jmp case.0x1400772b0.2
mov dword [r14 + 0x5de8], edi
mov word [r14 + 0x5dec], di
lea rcx, [r14 + 0x5df0]
call fcn.140076bd0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
mov r8, rdi
mov qword [rbp - 0x10], rdi
mov eax, dword [rbx + 0x39]
mov dword [r14 + 0x5de8], eax
movzx eax, word [rbx + 0x3d]
mov word [r14 + 0x5dec], ax
mov edx, eax
test rax, rax
je 0x1400773c9
lea r8, [rsp + 0x28]
lea rcx, [rbp - 0x20]
call fcn.140076490
mov r8, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x20]
sub r8, rcx
sar r8, 2
lea r8, [r8*4]
lea rdx, [rbx + 0x3f]
call sub.VCRUNTIME140.dll_memcpy
mov rdi, qword [rbp - 0x18]
mov rbx, qword [rbp - 0x20]
cmp rbx, rdi
je 0x140077424
movzx eax, word [rbx]
mov dword [rsp + 0x20], eax
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x38]
lea rcx, [r14 + 0x5df0]
call fcn.140076610
mov rcx, qword [rax]
mov eax, dword [rbx]
mov dword [rcx + 0x14], eax
add rbx, 4
cmp rbx, rdi
jne 0x1400773f2
mov rbx, qword [rbp - 0x20]
test rbx, rbx
je case.0x1400772b0.2
mov rdx, qword [rbp - 0x10]
sub rdx, rbx
and rdx, 0xfffffffffffffffc
mov rax, rbx
cmp rdx, 0x1000
jb 0x14007745d
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140077bfa
mov rcx, rbx
call fcn.1400e09b4
jmp case.0x1400772b0.2
mov rcx, qword [rbp - 0x30]
call fcn.140079b10
mov rsi, rax
lea r8, [rsp + 0x20]
cmp byte [rax + 3], 0
je 0x1400774a8
mov ecx, dword [rbx + 0x14]
mov dword [rsp + 0x20], ecx
lea rdx, [rsp + 0x48]
lea rcx, [r14 + 0x5df0]
call fcn.140076610
mov rcx, qword [rax]
movzx eax, byte [rsi + 3]
add byte [rcx + 0x16], al
jmp case.0x1400772b0.2
mov eax, dword [rbx + 0x14]
mov dword [rsp + 0x20], eax
lea rdx, [rsp + 0x58]
lea rcx, [r14 + 0x5df0]
call fcn.140076610
mov rcx, qword [rax]
movzx eax, byte [rbx + 2]
cmp byte [rcx + 0x16], al
mov eax, dword [rbx + 0x14]
lea rcx, [r14 + 0x5df0]
mov dword [rsp + 0x20], eax
jbe 0x1400774f8
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x68]
call fcn.140076610
mov rcx, qword [rax]
movzx eax, byte [rbx + 2]
sub byte [rcx + 0x16], al
jmp case.0x1400772b0.2
lea rdx, [rsp + 0x20]
call fcn.140077050
jmp case.0x1400772b0.2
mov r8d, dword [rbx + 0x14]
cmp r8d, 0x12
je case.0x1400772b0.2
mov eax, dword [r14 + 0x5f70]
cmp dword [rbx + 4], eax
jne case.0x1400772b0.2
mov eax, r8d
shr eax, 8
movzx edx, al
movzx eax, r8b
xor rax, r15
imul rax, r12
xor rdx, rax
imul rdx, r12
mov eax, r8d
shr eax, 0x10
movzx ecx, al
xor rdx, rcx
imul rdx, r12
mov eax, r8d
shr rax, 0x18
xor rdx, rax
imul rdx, r12
mov rcx, qword [r14 + 0x5e20]
and rcx, rdx
add rcx, rcx
mov rdx, qword [r14 + 0x5e08]
mov rax, qword [rdx + rcx*8 + 8]
mov r10, qword [r14 + 0x5df8]
cmp rax, r10
je 0x1400775a1
mov rcx, qword [rdx + rcx*8]
cmp r8d, dword [rax + 0x10]
je 0x1400775a4
nop dword [rax]
cmp rax, rcx
je 0x1400775a1
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
jne 0x140077590
jmp 0x1400775a4
mov rax, rdi
test rax, rax
je case.0x1400772b0.2
cmp rax, r10
je case.0x1400772b0.2
movzx ecx, byte [rax + 0x16]
cmp cl, 1
jbe 0x1400775c9
dec cl
mov byte [rax + 0x16], cl
jmp case.0x1400772b0.2
mov dword [rsp + 0x20], r8d
lea rdx, [rsp + 0x20]
lea rcx, [r14 + 0x5df0]
call fcn.140077050
jmp case.0x1400772b0.2
movss xmm1, dword [rbx + 0x18]
ucomiss xmm1, xmm7
jp 0x140077988
jne 0x140077988
movss xmm0, dword [rbx + 0x1c]
ucomiss xmm0, xmm7
jp 0x140077988
jne 0x140077988
mov eax, dword [r14 + 0x5f70]
cmp dword [rbx + 4], eax
jne 0x140077876
mov r8d, dword [rbx + 0x14]
mov eax, r8d
shr eax, 8
movzx edx, al
movzx eax, r8b
xor rax, r15
imul rax, r12
xor rdx, rax
imul rdx, r12
mov eax, r8d
shr eax, 0x10
movzx ecx, al
xor rdx, rcx
imul rdx, r12
mov eax, r8d
shr rax, 0x18
xor rdx, rax
imul rdx, r12
mov rcx, qword [r14 + 0x6058]
and rcx, rdx
add rcx, rcx
mov rdx, qword [r14 + 0x6040]
mov rax, qword [rdx + rcx*8 + 8]
mov r13, qword [r14 + 0x6030]
cmp rax, r13
je 0x140077699
mov rcx, qword [rdx + rcx*8]
cmp r8d, dword [rax + 0x10]
je 0x14007769c
cmp rax, rcx
je 0x140077699
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
jne 0x140077688
jmp 0x14007769c
mov rax, rdi
test rax, rax
cmovne r13, rax
movzx r15d, word [r13 + 0x14]
cmp r15d, 0x70
je 0x140077901
movups xmm6, xmmword [r13 + 0x14]
mov eax, dword [r13 + 0x24]
mov dword [rbp - 0x10], eax
movd eax, xmm6
movzx edx, ax
lea rcx, [r14 + 0x5de8]
call fcn.14003fc60
test eax, eax
je 0x1400776f6
cmp eax, 0xc8
jge 0x140077712
mov edi, reloc.WLDAP32.dll_Ordinal_200
sub edi, eax
psrldq xmm6, 0xc
movd eax, xmm6
movzx ecx, al
cmp edi, ecx
cmovge edi, ecx
jmp 0x140077712
mov eax, dword [r14 + 0x5de8]
cmp rax, qword [r14 + 0x5e00]
jbe 0x140077712
psrldq xmm6, 0xc
movd eax, xmm6
movzx edi, al
mov edx, r15d
lea rcx, [r14 + 0x5de8]
call fcn.140076eb0
mov dword [rsp + 0x20], r15d
lea r8, [rsp + 0x20]
lea rcx, [r14 + 0x5df0]
test al, al
jne 0x14007775b
mov word [rsp + 0x2c], r15w
mov byte [rsp + 0x2e], dil
mov byte [rsp + 0x2f], al
lea rdx, [rsp + 0x78]
call fcn.140076610
mov rcx, qword [rax]
mov eax, dword [rsp + 0x2c]
mov dword [rcx + 0x14], eax
jmp 0x14007776b
lea rdx, [rbp - 0x78]
call fcn.140076610
mov rcx, qword [rax]
add byte [rcx + 0x16], dil
mov r15d, 0xf2
cmp byte [0x14012b241], 0
je 0x1400777a6
mov ecx, dword [0x14012b244]
cmp word [r13 + 0x14], r15w
jne 0x14007778f
add ecx, edi
mov dword [0x14012b244], ecx
mov eax, 0x704
cmp word [r13 + 0x14], ax
jne 0x1400777a6
imul eax, edi, 0x64
add ecx, eax
mov dword [0x14012b244], ecx
mov dword [rsp + 0x20], r15d
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x68]
lea rcx, [r14 + 0x5df0]
call fcn.140076610
mov rax, qword [rax]
cmp byte [rax + 0x16], 0x64
jb 0x140077865
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], r15d
mov rax, qword [0x14012c0e8]
mov rsi, qword [rax + 0x10]
mov rdi, qword [rax + 8]
test rsi, rsi
je 0x140077865
test rdi, rdi
je 0x140077865
lea edx, [r14 + 0x41]
xor ecx, ecx
lea r8d, [r14 + 1]
call fcn.1400086d0
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.140009800
test eax, eax
je 0x14007785d
mov edx, eax
lea rcx, str._SERVER_:_Error_Sending_Packet__Code:__d_n
call fcn.14005e4d0
mov rcx, rdi
call fcn.140009cb0
movabs r12, 0x100000001b3
xor edi, edi
mov r14, qword [rsp + 0x30]
mov r9d, dword [rbx + 0x14]
movzx edx, r9b
movabs rax, 0xcbf29ce484222325
xor rdx, rax
imul rdx, r12
mov eax, r9d
shr eax, 8
movzx ecx, al
xor rdx, rcx
imul rdx, r12
mov eax, r9d
shr eax, 0x10
movzx ecx, al
xor rdx, rcx
imul rdx, r12
mov eax, r9d
shr rax, 0x18
xor rdx, rax
imul rdx, r12
mov rcx, qword [r14 + 0x6058]
and rcx, rdx
add rcx, rcx
mov rdx, qword [r14 + 0x6040]
mov r8, qword [rdx + rcx*8 + 8]
cmp r8, qword [r14 + 0x6030]
je 0x140077912
mov rax, qword [rdx + rcx*8]
cmp r9d, dword [r8 + 0x10]
je 0x140077915
nop dword [rax]
cmp r8, rax
je 0x140077912
mov r8, qword [r8 + 8]
cmp r9d, dword [r8 + 0x10]
jne 0x1400778f0
jmp 0x140077915
movzx eax, byte [r13 + 0x20]
add dword [r14 + 0x5e30], eax
jmp 0x140077876
mov r8, rdi
test r8, r8
je 0x140077979
mov rax, qword [rdx + rcx*8]
cmp qword [rdx + rcx*8 + 8], r8
jne 0x140077947
cmp rax, r8
jne 0x14007793c
mov rax, qword [r14 + 0x6030]
mov qword [rdx + rcx*8], rax
mov qword [rdx + rcx*8 + 8], rax
jmp 0x140077953
mov rax, qword [r8 + 8]
mov qword [rdx + rcx*8 + 8], rax
jmp 0x140077953
cmp rax, r8
jne 0x140077953
mov rax, qword [r8]
mov qword [rdx + rcx*8], rax
mov rcx, qword [r8]
dec qword [r14 + 0x6038]
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.1400e09b4
movabs r15, 0xcbf29ce484222325
jmp case.0x1400772b0.2
mov eax, dword [rbx + 4]
cmp eax, 0xffffffff
jne 0x1400779ef
movzx eax, word [rbx + 0x14]
mov word [rbp - 0x20], ax
movss xmm0, dword [rbx + 0x1c]
movss dword [rbp - 0x1c], xmm1
movss dword [rbp - 0x18], xmm0
cvttss2si rax, dword [rbx + 0x10]
mov byte [rbp - 0x14], al
mov byte [rbp - 0x13], 0
inc dword [r14 + 0x5f98]
mov eax, dword [r14 + 0x5f98]
mov dword [rbp - 0x10], eax
lea rcx, [r14 + 0x6028]
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x58]
call fcn.140013910
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.0x1400772b0.2
cmp eax, 0xfffffffd
jne case.0x1400772b0.2
mov r8d, dword [rbx + 8]
mov eax, r8d
shr eax, 8
movzx edx, al
movzx eax, r8b
xor rax, r15
imul rax, r12
xor rdx, rax
imul rdx, r12
mov eax, r8d
shr eax, 0x10
movzx ecx, al
xor rdx, rcx
imul rdx, r12
mov eax, r8d
shr rax, 0x18
xor rdx, rax
imul rdx, r12
mov rax, qword [r14 + 0x6058]
and rax, rdx
add rax, rax
mov r9, qword [r14 + 0x6040]
mov rcx, qword [r9 + rax*8 + 8]
mov rdx, qword [r14 + 0x6030]
cmp rcx, rdx
je 0x140077a75
mov rax, qword [r9 + rax*8]
cmp r8d, dword [rcx + 0x10]
je 0x140077a78
cmp rcx, rax
je 0x140077a75
mov rcx, qword [rcx + 8]
cmp r8d, dword [rcx + 0x10]
jne 0x140077a64
jmp 0x140077a78
mov rcx, rdi
test rcx, rcx
cmove rcx, rdx
cmp rcx, rdx
je case.0x1400772b0.2
movzx eax, word [rbx + 0x14]
mov word [rcx + 0x14], ax
movss xmm0, dword [rbx + 0x18]
movss xmm1, dword [rbx + 0x1c]
movss dword [rcx + 0x18], xmm0
movss dword [rcx + 0x1c], xmm1
cvttss2si rax, dword [rbx + 0x10]
mov byte [rcx + 0x20], al
jmp case.0x1400772b0.2
mov rcx, rbx
call fcn.140056020
test al, al
jne 0x140077277
jmp case.0x1400772b0.2
mov rdx, qword [rbp - 0x30]
mov edx, dword [rdx + 0x18]
mov rcx, rbx
call fcn.140051040
test al, al
jne 0x140077277
jmp case.0x1400772b0.2
mov rcx, rbx
call fcn.140051cd0
test al, al
jne 0x140077277
jmp case.0x1400772b0.2
mov rcx, qword [rbp - 0x30]
call fcn.140079b60
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rdi
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140077b20
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14000e5d0
lea rcx, [rbp - 0x20]
call fcn.1400349c0
test al, al
jne 0x140077277
jmp case.0x1400772b0.2
mov rcx, qword [rbp - 0x30]
call fcn.140079b60
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rdi
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140077b70
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14000e5d0
lea rcx, [rbp - 0x20]
call fcn.140034d80
test al, al
jne 0x140077277
jmp case.0x1400772b0.2
mov edx, edi
lea rcx, str._SERVER_:_Got_unknown_packet_of_type__d._n
call fcn.14005e4d0
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x140077c0b
cmp qword [r14], 0
je 0x140077c0b
mov r8, qword [rbp - 0x30]
xor edx, edx
call fcn.140009800
mov rcx, qword [r14]
call fcn.140009cb0
xor edi, edi
lea rsi, [0x140000000]
jmp 0x140077be0
lea rcx, str._CLIENT_:_connection_event_n
call fcn.14005e4d0
xor r8d, r8d
lea rdx, [rbp - 0x48]
mov rcx, qword [r14 + 8]
call fcn.140009ce0
test eax, eax
jg 0x1400771c0
jmp 0x140077c0b
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.140076c90
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400e0ad0
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.140077ca0
cmp qword [rbx + 8], 0
je 0x140078802
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140077140
add rsp, 0x20
pop rbx
ret