Function at 0x1400828ec
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 [0x1401ff510]
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.14006d6f0
mov rdi, qword [rbp - 0x48]
mov dword [rbp - 0x40], eax
test rdi, rdi
jne 0x140082a80
movdqa xmm0, xmmword [0x1401e43f0]
lea r8, [0x1401d5910]
mov rdx, rbx
mov qword [rbp - 0x48], r14
lea rcx, [rbp - 0x48]
movdqu xmmword [rbp - 0x20], xmm0
call fcn.140163068
mov rcx, qword [rbp - 0x48]
test rcx, rcx
jne 0x140082982
xor eax, eax
jmp 0x140082bb6
mov edx, 0xfffffff0
lea r8d, [rdx + 0x12]
call fcn.14015f00c
mov r9, qword [rbp - 0x48]
lea rcx, [rbp - 0x30]
mov edx, 1
lea r8d, [rdx + 0xf]
call fcn.140164440
mov rax, qword [rbp - 0x30]
cmp rax, qword [rbp - 0x20]
jne 0x140082a2e
mov rax, qword [rbp - 0x28]
cmp rax, qword [rbp - 0x18]
jne 0x140082a2e
mov rcx, qword [rbp - 0x48]
mov edx, 0xffffffec
lea r8d, [rdx + 0x15]
call fcn.14015f00c
mov r9, qword [rbp - 0x48]
lea rcx, [rbp - 0x40]
mov edx, 1
lea r8d, [rdx + 3]
call fcn.140164440
cmp rax, 4
jne 0x140082a74
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 0x140082a32
mov edx, 0xfffffffc
mov r8d, 1
sub edx, eax
call fcn.14015f00c
mov eax, dword [rbp - 0x40]
inc eax
movsxd rcx, eax
call fcn.140164508
mov rdi, rax
test rax, rax
jne 0x140082a3c
mov rcx, qword [rbp - 0x48]
call fcn.14015ec50
jmp 0x14008297b
movsxd r8, dword [rbp - 0x40]
mov edx, 1
mov r9, qword [rbp - 0x48]
mov rcx, rdi
movsxd rbx, dword [rbp - 0x40]
call fcn.140164440
cmp rax, rbx
je 0x140082a70
mov rcx, qword [rbp - 0x48]
call fcn.14015ec50
mov rcx, rdi
call fcn.1401630c0
jmp 0x14008297b
mov byte [rbx + rdi], r14b
mov rcx, qword [rbp - 0x48]
call fcn.14015ec50
mov eax, dword [rbp - 0x40]
lea r9, [0x1401d5bac]
mov dword [rsp + 0x20], 1
mov r8d, eax
xor edx, edx
mov rcx, rdi
call fcn.140069f74
mov r14, rax
mov qword [rbp - 0x30], rax
mov rbx, qword [rax]
test rbx, rbx
je 0x140082bab
mov r14, qword [rbp - 0x38]
mov edx, dword [rbx + 8]
mov rcx, rbx
call fcn.140069f18
mov rcx, qword [rbx]
mov dword [rbx + 8], eax
cmp byte [rcx], 0x23
je 0x140082b9a
mov r9d, 1
lea r8, [0x1401d5bb0]
mov edx, eax
call fcn.14006d328
movsxd rsi, eax
test eax, eax
jle 0x140082b9a
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.140069f18
mov rdx, qword [rbp - 0x48]
movsxd rcx, eax
mov byte [rcx + rdx], 0
cmp esi, 8
jne 0x140082b42
mov rax, qword [str.MeshName]
cmp rax, qword [r11]
jne 0x140082b69
mov qword [r12], rdx
cmp esi, 6
jne 0x140082b64
mov eax, dword [str.MeshID]
cmp eax, dword [r11]
jne 0x140082b9a
movzx eax, word [0x1401d5b10]
cmp ax, word [r11 + 4]
jne 0x140082b9a
mov qword [r13], rdx
cmp esi, 8
jne 0x140082b78
mov rax, qword [str.ServerID]
cmp rax, qword [r11]
jne 0x140082b9a
mov qword [r14], rdx
cmp esi, 0xa
jne 0x140082b9a
mov rax, qword [str.MeshServer]
cmp rax, qword [r11]
jne 0x140082b9a
movzx eax, word [0x1401d5598]
cmp ax, word [r11 + 8]
jne 0x140082b9a
mov qword [r15], rdx
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140082ab3
mov r14, qword [rbp - 0x30]
mov rcx, r14
call fcn.14006a198
mov rax, rdi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14015bde0
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret