Function at 0x1400959a8
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0x88
mov rax, qword [0x1402ccee0]
xor rax, rsp
mov qword [rbp - 9], rax
mov rax, qword [rbp + 0x6f]
xor r14d, r14d
mov r15, qword [rbp + 0x7f]
mov rbx, rdx
mov rdx, qword [rbp + 0x77]
mov r13, r9
mov qword [rbp - 0x31], rdx
mov r12, r8
mov qword [rbp - 0x39], rax
mov qword [r15], r14
mov qword [rdx], r14
mov rdx, rcx
mov qword [rax], r14
lea rcx, [rbp - 0x41]
mov qword [r9], r14
mov qword [r8], r14
call fcn.14007eb50
mov rdi, qword [rbp - 0x41]
mov dword [rbp - 0x51], eax
mov qword [rbp - 0x41], rdi
test rdi, rdi
jne 0x140095b58
movdqa xmm0, xmmword [0x1402acc20]
lea r8, [0x1402311c0]
mov rdx, rbx
mov qword [rbp - 0x49], r14
lea rcx, [rbp - 0x49]
movdqu xmmword [rbp - 0x19], xmm0
call fcn.1401acfe0
mov rcx, qword [rbp - 0x49]
test rcx, rcx
jne 0x140095a52
xor eax, eax
jmp 0x140095cb6
mov edx, 0xfffffff0
lea r8d, [rdx + 0x12]
call fcn.1401a8f2c
mov r9, qword [rbp - 0x49]
lea rcx, [rbp - 0x29]
mov edx, 1
lea r8d, [rdx + 0xf]
call fcn.1401ae3cc
mov rax, qword [rbp - 0x29]
cmp rax, qword [rbp - 0x19]
jne 0x140095b06
mov rax, qword [rbp - 0x21]
cmp rax, qword [rbp - 0x11]
jne 0x140095b06
mov rcx, qword [rbp - 0x49]
mov edx, 0xffffffec
lea r8d, [rdx + 0x15]
call fcn.1401a8f2c
mov r9, qword [rbp - 0x49]
lea rcx, [rbp - 0x51]
mov edx, 1
lea r8d, [rdx + 3]
call fcn.1401ae3cc
cmp rax, 4
jne 0x140095b4c
mov ecx, dword [rbp - 0x51]
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [rbp - 0x51], eax
lea ecx, [rax - 1]
cmp ecx, 0x4e1e
mov rcx, qword [rbp - 0x49]
ja 0x140095b0a
mov edx, 0xfffffffc
mov r8d, 1
sub edx, eax
call fcn.1401a8f2c
mov eax, dword [rbp - 0x51]
inc eax
movsxd rcx, eax
call fcn.1401ae494
mov qword [rbp - 0x41], rax
mov rdi, rax
test rax, rax
jne 0x140095b14
mov rcx, qword [rbp - 0x49]
call fcn.1401a8b70
jmp 0x140095a4b
movsxd r8, dword [rbp - 0x51]
mov edx, 1
mov r9, qword [rbp - 0x49]
mov rcx, rdi
movsxd rbx, dword [rbp - 0x51]
call fcn.1401ae3cc
cmp rax, rbx
je 0x140095b48
mov rcx, qword [rbp - 0x49]
call fcn.1401a8b70
mov rcx, rdi
call fcn.1401ad038
jmp 0x140095a4b
mov byte [rbx + rdi], r14b
mov rcx, qword [rbp - 0x49]
call fcn.1401a8b70
mov eax, dword [rbp - 0x51]
lea r9, [0x140231b74]
mov dword [rsp + 0x20], 1
mov r8d, eax
xor edx, edx
mov rcx, rdi
call fcn.14007b2b8
mov r14, rax
mov qword [rbp - 0x29], rax
mov rbx, qword [rax]
test rbx, rbx
je 0x140095cab
mov r14, qword [rbp - 0x39]
mov rdi, qword [rbp - 0x31]
mov edx, dword [rbx + 8]
mov rcx, rbx
call fcn.14007b25c
mov rcx, qword [rbx]
mov dword [rbx + 8], eax
cmp byte [rcx], 0x23
je 0x140095c96
mov r9d, 1
lea r8, [0x140231b78]
mov edx, eax
call fcn.14007e788
movsxd rsi, eax
test eax, eax
jle 0x140095c96
mov r11, qword [rbx]
lea r9, [rsi + 1]
add r9, r11
mov qword [rbp - 0x49], 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 - 0x49]
cmovne edx, r8d
call fcn.14007b25c
mov rdx, qword [rbp - 0x49]
movsxd rcx, eax
mov byte [rcx + rdx], 0
cmp esi, 8
jne 0x140095c1e
mov rax, qword [str.MeshName]
cmp rax, qword [r11]
jne 0x140095c45
mov qword [r12], rdx
cmp esi, 6
jne 0x140095c40
mov eax, dword [str.MeshID]
cmp eax, dword [r11]
jne 0x140095c96
movzx eax, word [0x140230d54]
cmp ax, word [r11 + 4]
jne 0x140095c96
mov qword [r13], rdx
cmp esi, 8
jne 0x140095c54
mov rax, qword [str.ServerID]
cmp rax, qword [r11]
jne 0x140095c96
mov qword [r14], rdx
cmp esi, 0xa
jne 0x140095c76
mov rax, qword [str.MeshServer]
cmp rax, qword [r11]
jne 0x140095c96
movzx eax, word [0x140230ce8]
cmp ax, word [r11 + 8]
jne 0x140095c96
mov qword [rdi], rdx
cmp esi, 0xc
jne 0x140095c96
mov rax, qword [str.InstallFlags]
cmp rax, qword [r11]
jne 0x140095c96
mov eax, dword [0x1402aca30]
cmp eax, dword [r11 + 8]
jne 0x140095c96
mov qword [r15], rdx
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140095b8f
mov rdi, qword [rbp - 0x41]
mov r14, qword [rbp - 0x29]
mov rcx, r14
call fcn.14007b4f0
mov rax, rdi
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.1401a5d00
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret