Function at 0x14002d910
Capabilities:
Hash data using fnv
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r14, rcx
xor r12d, r12d
mov rax, qword [0x140070600]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rdx + 8]
test rcx, rcx
jne 0x14002da80
lea rdx, str.Local
lea rcx, str.Host_is__Null_Type__s_creating_new_host
call fcn.140024e50
mov rax, qword [0x140070600]
mov rsi, qword [rax + 0x10]
mov rdi, qword [rsi + 8]
test rdi, rdi
je 0x14002da01
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
je 0x14002d996
call qword [sym.imp.WS2_32.dll_closesocket]
mov rbx, qword [rdi + 0x28]
imul rax, qword [rdi + 0x30], 0x1d8
add rax, rbx
cmp rbx, rax
jae 0x14002d9d0
nop word [rax + rax]
mov rcx, rbx
call fcn.140003760
add rbx, 0x1d8
imul rax, qword [rdi + 0x30], 0x1d8
add rax, qword [rdi + 0x28]
cmp rbx, rax
jb 0x14002d9b0
mov rcx, qword [rdi + 0xa98]
test rcx, rcx
je 0x14002d9ea
mov rax, qword [rdi + 0xab0]
test rax, rax
je 0x14002d9ea
call rax
mov rcx, qword [rdi + 0x28]
call qword [0x140067110]
mov rcx, rdi
call qword [0x140067110]
mov qword [rsi + 8], r12
lea rcx, str.0.0.0.0
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x14002da28
cmp word [rax + 0x10], 2
jne 0x14002da28
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov eax, dword [rcx]
mov dword [rbp - 0x10], eax
jmp 0x14002da38
lea rdx, str.0.0.0.0
lea rcx, [rbp - 0x10]
call fcn.1400072a0
mov eax, 0x4328
mov word [rbp - 0xc], ax
mov edx, 0xfff
mov r8d, 0xa
lea rcx, [rbp - 0x10]
call fcn.1400024f0
mov qword [rsi + 8], rax
mov qword [rax + 0x2b10], r12
mov rax, qword [rsi + 8]
lea r15, [0x140003110]
mov qword [rax + 0xa90], r15
mov rcx, qword [rsi + 8]
call fcn.140002450
jmp 0x14002e110
lea rdx, [rbp - 0x48]
call fcn.140006e70
test eax, eax
jle 0x14002e110
lea r15, [0x140003110]
movabs rdi, 0xcbf29ce484222325
movabs r13, 0x100000001b3
lea r9, str.PACKET_STATE
mov r8d, 0x25
mov ecx, dword [rbp - 0x48]
sub ecx, 1
je 0x14002ddcc
sub ecx, 1
je 0x14002dd73
cmp ecx, 1
jne 0x14002e0b3
mov rax, qword [rbp - 0x30]
mov rbx, qword [rax + 0x10]
test rbx, rbx
je 0x14002e0b3
cmp qword [rax + 0x18], 3
jbe 0x14002dc94
movzx edx, byte [rbx]
mov dword [rbp - 0x18], edx
cmp edx, 4
jne 0x14002dc9a
mov rdx, qword [rax + 0x18]
cmp rdx, 0x38
jbe 0x14002dd54
add rbx, 4
test byte [rbx + 0xc], 8
je 0x14002db29
mov ecx, dword [rbx + 0x34]
add ecx, 0x3c
cmp rdx, rcx
cmovbe rbx, r12
jmp 0x14002db2d
mov dword [rbx + 0x34], r12d
test rbx, rbx
je 0x14002dd54
movzx eax, byte [rbx]
mov ecx, eax
cmp al, 0x26
cmovae ecx, r8d
movzx eax, cl
mov rdx, qword [r9 + rax*8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x14002db60
lea rcx, [rsp + 0x70]
call fcn.140012c90
nop
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
lea rcx, str.Received_Packet_From_Client__s
call fcn.140024e50
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14002dbce
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002dbc9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e0d4
call fcn.14004c154
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], 0
movzx edx, byte [rbx]
mov r8d, edx
xor rdx, rdi
imul rdx, r13
mov eax, r8d
shr rax, 8
xor rdx, rax
imul rdx, r13
mov eax, r8d
shr rax, 0x10
xor rdx, rax
imul rdx, r13
mov eax, r8d
shr rax, 0x18
xor rdx, rax
imul rdx, r13
mov rcx, qword [r14 + 0x30]
and rcx, rdx
shl rcx, 4
add rcx, qword [r14 + 0x18]
mov rax, qword [rcx + 8]
cmp rax, qword [r14 + 8]
je 0x14002dc49
mov rcx, qword [rcx]
cmp r8d, dword [rax + 0x10]
je 0x14002dc4c
cmp rax, rcx
je 0x14002dc49
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
jne 0x14002dc38
jmp 0x14002dc4c
mov rax, r12
test rax, rax
je 0x14002dd54
mov dword [rsp + 0x30], r8d
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x68]
mov rcx, r14
call fcn.14003aa70
mov dword [rbp - 8], r12d
mov rcx, qword [rbp - 0x30]
mov qword [rbp - 0x28], rcx
mov rax, qword [rax]
mov rcx, qword [rax + 0x50]
test rcx, rcx
je 0x14002e13d
lea r8, [rbp - 8]
lea rdx, [rbp - 0x28]
jmp 0x14002dd46
mov edx, r12d
mov dword [rbp - 0x18], edx
lea rcx, str.Received_Packet_From_Client__i
call fcn.140024e50
mov r8d, dword [rbp - 0x18]
movzx edx, r8b
xor rdx, rdi
imul rdx, r13
movzx eax, byte [rbp - 0x17]
xor rdx, rax
imul rdx, r13
movzx eax, byte [rbp - 0x16]
xor rdx, rax
imul rdx, r13
movzx eax, byte [rbp - 0x15]
xor rdx, rax
imul rdx, r13
mov rcx, qword [r14 + 0x70]
and rcx, rdx
shl rcx, 4
add rcx, qword [r14 + 0x58]
mov rax, qword [rcx + 8]
cmp rax, qword [r14 + 0x48]
je 0x14002dd09
mov rcx, qword [rcx]
cmp r8d, dword [rax + 0x10]
je 0x14002dd0c
cmp rax, rcx
je 0x14002dd09
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
jne 0x14002dcf8
jmp 0x14002dd0c
mov rax, r12
test rax, rax
je 0x14002dd54
lea rcx, [r14 + 0x40]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x58]
call fcn.14003aa70
mov dword [rbp - 0x10], r12d
mov rcx, qword [rbp - 0x30]
mov qword [rbp - 0x20], rcx
mov rax, qword [rax]
mov rcx, qword [rax + 0x50]
test rcx, rcx
je 0x14002e144
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x20]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
jne 0x14002e0db
mov r8d, 1
mov rdx, qword [rbp - 0x30]
mov rcx, qword [0x140070600]
mov rcx, qword [rcx + 0x10]
call fcn.140025450
jmp 0x14002e0b3
lea rcx, str.Client_Disconnected
call fcn.140024e50
mov rcx, qword [0x140070600]
lea rdx, [rcx + 0x28]
lea rax, [rcx + 0x70]
cmp rax, rdx
je 0x14002ddb0
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14002dda1
mov rdx, qword [rdx]
mov rcx, rax
call fcn.1400346f0
mov rcx, qword [0x140070600]
mov eax, dword [rcx + 0x68]
mov dword [rcx + 0x90], eax
mov edx, 1
mov rcx, qword [rcx + 0x10]
call fcn.140024f70
jmp 0x14002e0b3
mov rdx, qword [0x140070600]
mov rcx, qword [rdx + 0x10]
mov rax, qword [rbp - 0x40]
mov qword [rcx], rax
mov rsi, qword [rdx + 0x10]
mov rdi, qword [rsi + 0x10]
test rdi, rdi
je 0x14002de61
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
je 0x14002ddfa
call qword [sym.imp.WS2_32.dll_closesocket]
mov rbx, qword [rdi + 0x28]
imul rax, qword [rdi + 0x30], 0x1d8
add rax, rbx
cmp rbx, rax
jae 0x14002de30
nop
mov rcx, rbx
call fcn.140003760
add rbx, 0x1d8
imul rax, qword [rdi + 0x30], 0x1d8
add rax, qword [rdi + 0x28]
cmp rbx, rax
jb 0x14002de10
mov rcx, qword [rdi + 0xa98]
test rcx, rcx
je 0x14002de4a
mov rax, qword [rdi + 0xab0]
test rax, rax
je 0x14002de4a
call rax
mov rcx, qword [rdi + 0x28]
call qword [0x140067110]
mov rcx, rdi
call qword [0x140067110]
mov qword [rsi + 0x10], r12
mov edx, 2
xor ecx, ecx
mov r8d, edx
call fcn.1400024f0
mov qword [rsi + 0x10], rax
mov qword [rax + 0x2b10], 1
mov rax, qword [rsi + 0x10]
mov qword [rax + 0xa90], r15
mov rcx, qword [rsi + 0x10]
call fcn.140002450
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], r12
xor r8d, r8d
lea rdx, [0x140052e29]
lea rcx, [rbp]
call fcn.140012c90
mov dword [rbp + 0x20], r12d
mov qword [rbp + 0x24], 1
mov rcx, qword [0x140070600]
lea rdx, [rcx + 0x70]
lea rax, [rbp]
cmp rax, rdx
je 0x14002def3
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14002dee3
mov rdx, qword [rdx]
lea rcx, [rbp]
call fcn.1400346f0
mov rcx, qword [0x140070600]
mov eax, dword [rcx + 0x90]
mov dword [rbp + 0x20], eax
mov dword [rbp + 0x24], 1
mov eax, dword [rcx + 0x6c]
mov dword [rbp + 0x28], eax
mov rdi, qword [rcx + 0x10]
lea rdx, [rbp]
lea rcx, [rsp + 0x38]
call fcn.140034ae0
mov eax, dword [rbp + 0x20]
mov dword [rsp + 0x58], eax
mov ecx, dword [rbp + 0x24]
mov dword [rsp + 0x5c], ecx
mov eax, dword [rbp + 0x28]
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0x38]
mov qword [rbp - 0x70], rax
mov ebx, reloc.WS2_32.dll_recv
cmp ecx, 1
mov eax, 8
cmovne ebx, eax
add rbx, rdi
cmp ecx, 1
jne 0x14002dfe5
add rdi, 0x18
cmp ecx, ecx
jne 0x14002dfe5
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x68]
call fcn.1400072a0
movzx eax, word [rsp + 0x58]
mov word [rsp + 0x6c], ax
mov rax, qword [rbx]
mov qword [rax + 0xa90], r15
movsxd rdx, dword [rsp + 0x60]
mov rax, qword [rbx]
mov qword [rax + 0x2b10], rdx
lea rdx, [rsp + 0x68]
mov rcx, qword [rbx]
call fcn.1400028e0
mov qword [rdi], rax
test rax, rax
jne 0x14002dfc2
lea rcx, str.No_available_peers_for_initiating_an_ENet_connection
call fcn.140024e50
jmp 0x14002dfe5
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rdx, qword [rsp + 0x38]
mov r8d, dword [rsp + 0x58]
lea rcx, str.Connecting_to__s:_i
call fcn.140024e50
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14002e022
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e01d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e14b
call fcn.14004c154
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
mov rax, qword [0x140070600]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
mov dword [rax + 0xac], 0xc80
mov dword [rax + 0xb0], 0x7a120
mov dword [rax + 0xb4], 0x2dc6c0
lea rcx, str.Client_Connected
call fcn.140024e50
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x14002e0a9
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e0a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e152
call fcn.14004c154
movabs rdi, 0xcbf29ce484222325
mov rax, qword [0x140070600]
mov rcx, qword [rax + 0x10]
lea rdx, [rbp - 0x48]
mov rcx, qword [rcx + 8]
call fcn.140006e70
test eax, eax
jle 0x14002e110
jmp 0x14002daac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rbx, qword [rbp - 0x30]
test rbx, rbx
je 0x14002e110
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14002e0f2
mov rcx, rbx
call rax
test byte [rbx + 8], 4
jne 0x14002e107
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14002e107
call qword [0x140067110]
mov rcx, rbx
call qword [0x140067110]
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.14004bcb0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3