Function at 0x14008e774
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x78
mov rax, qword [0x14021c510]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x68]
xor r14d, r14d
mov r15, qword [rbp + 0x70]
mov rbx, rdx
mov rdx, rcx
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x48]
mov r13, r9
mov r12, r8
mov qword [r15], r14
mov qword [rax], r14
mov qword [r9], r14
mov qword [r8], r14
call fcn.1400785e8
mov rdi, qword [rbp - 0x48]
mov dword [rbp - 0x40], eax
test rdi, rdi
jne 0x14008e908
movdqa xmm0, xmmword [0x140200200]
lea r8, [0x1401e2318]
mov rdx, rbx
mov qword [rbp - 0x48], r14
lea rcx, [rbp - 0x48]
movdqu xmmword [rbp - 0x20], xmm0
call fcn.14016f350
mov rcx, qword [rbp - 0x48]
test rcx, rcx
jne 0x14008e80a
xor eax, eax
jmp 0x14008ea3e
mov edx, 0xfffffff0
lea r8d, [rdx + 0x12]
call fcn.14016b29c
mov r9, qword [rbp - 0x48]
lea rcx, [rbp - 0x30]
mov edx, 1
lea r8d, [rdx + 0xf]
call fcn.140170728
mov rax, qword [rbp - 0x30]
cmp rax, qword [rbp - 0x20]
jne 0x14008e8b6
mov rax, qword [rbp - 0x28]
cmp rax, qword [rbp - 0x18]
jne 0x14008e8b6
mov rcx, qword [rbp - 0x48]
mov edx, 0xffffffec
lea r8d, [rdx + 0x15]
call fcn.14016b29c
mov r9, qword [rbp - 0x48]
lea rcx, [rbp - 0x40]
mov edx, 1
lea r8d, [rdx + 3]
call fcn.140170728
cmp rax, 4
jne 0x14008e8fc
mov ecx, dword [rbp - 0x40]
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [rbp - 0x40], eax
lea ecx, [rax - 1]
cmp ecx, 0x4e1e
mov rcx, qword [rbp - 0x48]
ja 0x14008e8ba
mov edx, 0xfffffffc
mov r8d, 1
sub edx, eax
call fcn.14016b29c
mov eax, dword [rbp - 0x40]
inc eax
movsxd rcx, eax
call fcn.1401707f0
mov rdi, rax
test rax, rax
jne 0x14008e8c4
mov rcx, qword [rbp - 0x48]
call fcn.14016aee0
jmp 0x14008e803
movsxd r8, dword [rbp - 0x40]
mov edx, 1
mov r9, qword [rbp - 0x48]
mov rcx, rdi
movsxd rbx, dword [rbp - 0x40]
call fcn.140170728
cmp rax, rbx
je 0x14008e8f8
mov rcx, qword [rbp - 0x48]
call fcn.14016aee0
mov rcx, rdi
call fcn.14016f3a8
jmp 0x14008e803
mov byte [rbx + rdi], r14b
mov rcx, qword [rbp - 0x48]
call fcn.14016aee0
mov eax, dword [rbp - 0x40]
lea r9, [0x1401e2bac]
mov dword [rsp + 0x20], 1
mov r8d, eax
xor edx, edx
mov rcx, rdi
call fcn.140074dc0
mov r14, rax
mov qword [rbp - 0x30], rax
mov rbx, qword [rax]
test rbx, rbx
je 0x14008ea33
mov r14, qword [rbp - 0x38]
mov edx, dword [rbx + 8]
mov rcx, rbx
call fcn.140074d64
mov rcx, qword [rbx]
mov dword [rbx + 8], eax
cmp byte [rcx], 0x23
je 0x14008ea22
mov r9d, 1
lea r8, [0x1401e2bb0]
mov edx, eax
call fcn.140078220
movsxd rsi, eax
test eax, eax
jle 0x14008ea22
mov r11, qword [rbx]
lea r9, [rsi + 1]
add r9, r11
mov qword [rbp - 0x48], r9
mov byte [rsi + r11], 0
mov r8d, dword [rbx + 8]
sub r8d, esi
dec r8d
lea edx, [r8 - 1]
movsxd rcx, edx
cmp byte [rcx + r9], 0xd
lea rcx, [rbp - 0x48]
cmovne edx, r8d
call fcn.140074d64
mov rdx, qword [rbp - 0x48]
movsxd rcx, eax
mov byte [rcx + rdx], 0
cmp esi, 8
jne 0x14008e9ca
mov rax, qword [str.MeshName]
cmp rax, qword [r11]
jne 0x14008e9f1
mov qword [r12], rdx
cmp esi, 6
jne 0x14008e9ec
mov eax, dword [str.MeshID]
cmp eax, dword [r11]
jne 0x14008ea22
movzx eax, word [0x1401e2a10]
cmp ax, word [r11 + 4]
jne 0x14008ea22
mov qword [r13], rdx
cmp esi, 8
jne 0x14008ea00
mov rax, qword [str.ServerID]
cmp rax, qword [r11]
jne 0x14008ea22
mov qword [r14], rdx
cmp esi, 0xa
jne 0x14008ea22
mov rax, qword [str.MeshServer]
cmp rax, qword [r11]
jne 0x14008ea22
movzx eax, word [0x1401e1f78]
cmp ax, word [r11 + 8]
jne 0x14008ea22
mov qword [r15], rdx
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14008e93b
mov r14, qword [rbp - 0x30]
mov rcx, r14
call fcn.140074ff8
mov rax, rdi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140168070
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret