Function at 0x140032d50
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 [0x14006f040]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r14, rcx
xor r12d, r12d
mov rax, qword [0x140078eb0]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rdx + 8]
test rcx, rcx
jne 0x140032ec0
lea rdx, str.Local
lea rcx, str.Host_is__Null_Type__s_creating_new_host
call fcn.140025680
mov rax, qword [0x140078eb0]
mov rsi, qword [rax + 0x10]
mov rdi, qword [rsi + 8]
test rdi, rdi
je 0x140032e41
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
je 0x140032dd6
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 0x140032e10
nop word [rax + rax]
mov rcx, rbx
call fcn.140003740
add rbx, 0x1d8
imul rax, qword [rdi + 0x30], 0x1d8
add rax, qword [rdi + 0x28]
cmp rbx, rax
jb 0x140032df0
mov rcx, qword [rdi + 0xa98]
test rcx, rcx
je 0x140032e2a
mov rax, qword [rdi + 0xab0]
test rax, rax
je 0x140032e2a
call rax
mov rcx, qword [rdi + 0x28]
call qword [0x14006f180]
mov rcx, rdi
call qword [0x14006f180]
mov qword [rsi + 8], r12
lea rcx, str.0.0.0.0
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x140032e68
cmp word [rax + 0x10], 2
jne 0x140032e68
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov eax, dword [rcx]
mov dword [rbp - 0x10], eax
jmp 0x140032e78
lea rdx, str.0.0.0.0
lea rcx, [rbp - 0x10]
call fcn.140007240
mov eax, 0x4328
mov word [rbp - 0xc], ax
mov edx, 0xfff
mov r8d, 0xa
lea rcx, [rbp - 0x10]
call fcn.140002510
mov qword [rsi + 8], rax
mov qword [rax + 0x2b10], r12
mov rax, qword [rsi + 8]
lea r15, [0x1400030f0]
mov qword [rax + 0xa90], r15
mov rcx, qword [rsi + 8]
call fcn.140002470
jmp 0x140033569
lea rdx, [rbp - 0x48]
call fcn.140006e10
test eax, eax
jle 0x140033569
lea r15, [0x1400030f0]
movabs rdi, 0xcbf29ce484222325
movabs r13, 0x100000001b3
lea r9, str.PACKET_STATE
mov r8d, 0x25
mov ecx, dword [rbp - 0x48]
sub ecx, 1
je 0x1400331f6
sub ecx, 1
je 0x1400331b3
cmp ecx, 1
jne 0x14003350c
mov rax, qword [rbp - 0x30]
mov rbx, qword [rax + 0x10]
test rbx, rbx
je 0x14003350c
cmp qword [rax + 0x18], 3
jbe 0x1400330d4
movzx edx, byte [rbx]
mov dword [rbp - 0x18], edx
cmp edx, 4
jne 0x1400330da
mov rdx, qword [rax + 0x18]
cmp rdx, 0x38
jbe 0x140033194
add rbx, 4
test byte [rbx + 0xc], 8
je 0x140032f69
mov ecx, dword [rbx + 0x34]
add ecx, 0x3c
cmp rdx, rcx
cmovbe rbx, r12
jmp 0x140032f6d
mov dword [rbx + 0x34], r12d
test rbx, rbx
je 0x140033194
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 0x140032fa0
lea rcx, [rsp + 0x70]
call fcn.140013060
nop
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rdx, qword [rsp + 0x70]
lea rcx, str.Received_Packet_From_Client__s
call fcn.140025680
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14003300e
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140033009
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003352d
call fcn.140052c54
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 0x140033089
mov rcx, qword [rcx]
cmp r8d, dword [rax + 0x10]
je 0x14003308c
cmp rax, rcx
je 0x140033089
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
jne 0x140033078
jmp 0x14003308c
mov rax, r12
test rax, rax
je 0x140033194
mov dword [rsp + 0x30], r8d
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x68]
mov rcx, r14
call fcn.1400410f0
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 0x140033596
lea r8, [rbp - 8]
lea rdx, [rbp - 0x28]
jmp 0x140033186
mov edx, r12d
mov dword [rbp - 0x18], edx
lea rcx, str.Received_Packet_From_Client__i
call fcn.140025680
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 0x140033149
mov rcx, qword [rcx]
cmp r8d, dword [rax + 0x10]
je 0x14003314c
cmp rax, rcx
je 0x140033149
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
jne 0x140033138
jmp 0x14003314c
mov rax, r12
test rax, rax
je 0x140033194
lea rcx, [r14 + 0x40]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x58]
call fcn.1400410f0
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 0x14003359d
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x20]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
jne 0x140033534
mov r8d, 1
mov rdx, qword [rbp - 0x30]
mov rcx, qword [0x140078eb0]
mov rcx, qword [rcx + 0x10]
call fcn.140025c70
jmp 0x14003350c
lea rcx, str.Client_Disconnected
call fcn.140025680
mov rcx, qword [0x140078eb0]
lea rdx, [rcx + 0x28]
add rcx, 0x70
call fcn.14003adc0
mov rcx, qword [0x140078eb0]
mov eax, dword [rcx + 0x68]
mov dword [rcx + 0x90], eax
mov edx, 1
mov rcx, qword [rcx + 0x10]
call fcn.1400257a0
jmp 0x14003350c
mov rdx, qword [0x140078eb0]
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 0x140033289
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
je 0x140033224
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 0x140033258
mov rcx, rbx
call fcn.140003740
add rbx, 0x1d8
imul rax, qword [rdi + 0x30], 0x1d8
add rax, qword [rdi + 0x28]
cmp rbx, rax
jb 0x140033238
mov rcx, qword [rdi + 0xa98]
test rcx, rcx
je 0x140033272
mov rax, qword [rdi + 0xab0]
test rax, rax
je 0x140033272
call rax
mov rcx, qword [rdi + 0x28]
call qword [0x14006f180]
mov rcx, rdi
call qword [0x14006f180]
mov qword [rsi + 0x10], r12
mov edx, 2
xor ecx, ecx
mov r8d, edx
call fcn.140002510
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.140002470
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], r12
xor r8d, r8d
lea rdx, [0x140059e61]
lea rcx, [rbp]
call fcn.140013060
mov dword [rbp + 0x20], r12d
mov qword [rbp + 0x24], 1
mov rsi, qword [0x140078eb0]
lea r9, [rsi + 0x70]
lea rax, [rbp]
cmp rax, r9
je 0x14003334c
mov rdi, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 0xf
jbe 0x14003330b
mov r9, qword [r9]
mov rax, qword [rbp + 0x18]
cmp rdi, rax
ja 0x140033339
lea rbx, [rbp]
cmp rax, 0xf
cmova rbx, qword [rbp]
mov qword [rbp + 0x10], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x14003334c
mov rdx, rdi
lea rcx, [rbp]
call fcn.1400423c0
mov rsi, qword [0x140078eb0]
mov eax, dword [rsi + 0x90]
mov dword [rbp + 0x20], eax
mov dword [rbp + 0x24], 1
mov eax, dword [rsi + 0x6c]
mov dword [rbp + 0x28], eax
mov rdi, qword [rsi + 0x10]
lea rdx, [rbp]
lea rcx, [rsp + 0x38]
call fcn.14003b020
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 0x14003343e
add rdi, 0x18
cmp ecx, ecx
jne 0x14003343e
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x68]
call fcn.140007240
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.140002900
mov qword [rdi], rax
test rax, rax
jne 0x14003341b
lea rcx, str.No_available_peers_for_initiating_an_ENet_connection
call fcn.140025680
jmp 0x14003343e
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rdx, qword [rsp + 0x38]
mov r8d, dword [rsp + 0x58]
lea rcx, str.Connecting_to__s:_i
call fcn.140025680
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x14003347b
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140033476
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400335a4
call fcn.140052c54
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
mov rax, qword [0x140078eb0]
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.140025680
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x140033502
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400334fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400335ab
call fcn.140052c54
movabs rdi, 0xcbf29ce484222325
mov rax, qword [0x140078eb0]
mov rcx, qword [rax + 0x10]
lea rdx, [rbp - 0x48]
mov rcx, qword [rcx + 8]
call fcn.140006e10
test eax, eax
jle 0x140033569
jmp 0x140032eec
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 0x140033569
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14003354b
mov rcx, rbx
call rax
test byte [rbx + 8], 4
jne 0x140033560
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140033560
call qword [0x14006f180]
mov rcx, rbx
call qword [0x14006f180]
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1400527c0
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