Function at 0x1400aca04
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, 0xa8
mov rax, qword [0x1402b1ed0]
xor rax, rsp
mov qword [rbp - 0x11], rax
mov rax, qword [rbp + 0x77]
xor r14d, r14d
mov r13, qword [rbp + 0x6f]
mov r15, r8
mov r8, qword [rbp + 0x87]
mov rsi, rdx
mov rdx, qword [rbp + 0x7f]
mov r12, r9
mov qword [rbp - 0x49], rdx
mov qword [rbp - 0x41], r8
mov r8, qword [rbp + 0x8f]
mov qword [rdx], r14
mov rdx, rcx
mov qword [rax], r14
lea rcx, [rbp - 0x59]
mov qword [r13], r14
mov qword [r9], r14
mov qword [r15], r14
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x39], r8
call fcn.140095868
mov rbx, qword [rbp - 0x59]
mov edx, eax
mov dword [rbp - 0x71], eax
mov edi, r14d
mov qword [rbp - 0x59], rbx
test rbx, rbx
jne 0x1400acbee
movdqa xmm0, xmmword [0x140291a50]
or r9d, 0xffffffff
mov qword [rbp - 0x69], r14
mov r8, rsi
lea r14, [0x1402b6800]
mov dword [rsp + 0x28], 0x1000
xor edx, edx
mov qword [rsp + 0x20], r14
mov ecx, 0xfde9
movdqu xmmword [rbp - 0x21], xmm0
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, [0x140248bbc]
mov rdx, r14
lea rcx, [rbp - 0x69]
call fcn.1401bf0dc
mov rcx, qword [rbp - 0x69]
xor r14d, r14d
test rcx, rcx
jne 0x1400acaf5
xor eax, eax
jmp 0x1400acde8
mov edx, 0xfffffff0
lea r8d, [rdx + 0x12]
call fcn.1401bf580
mov r9, qword [rbp - 0x69]
lea rcx, [rbp - 0x31]
mov esi, 1
mov edx, esi
lea r8d, [rsi + 0xf]
call fcn.1401c4260
mov rax, qword [rbp - 0x31]
cmp rax, qword [rbp - 0x21]
jne 0x1400acb9c
mov rax, qword [rbp - 0x29]
cmp rax, qword [rbp - 0x19]
jne 0x1400acb9c
mov rcx, qword [rbp - 0x69]
lea edx, [rsi - 0x15]
mov r8d, esi
call fcn.1401bf580
mov r9, qword [rbp - 0x69]
lea r8d, [rsi + 3]
mov edx, esi
lea rcx, [rbp - 0x71]
call fcn.1401c4260
cmp rax, 4
jne 0x1400acbe2
mov ecx, dword [rbp - 0x71]
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [rbp - 0x71], eax
lea ecx, [rax - 1]
cmp ecx, 0x4e1e
mov rcx, qword [rbp - 0x69]
ja 0x1400acba0
lea edx, [rsi - 5]
mov r8d, esi
sub edx, eax
call fcn.1401bf580
mov eax, dword [rbp - 0x71]
inc eax
movsxd rcx, eax
call fcn.1401c4328
mov qword [rbp - 0x59], rax
mov rbx, rax
test rax, rax
jne 0x1400acbaa
mov rcx, qword [rbp - 0x69]
call fcn.1401bf1c4
jmp 0x1400acaee
movsxd r8, dword [rbp - 0x71]
mov edx, 1
mov r9, qword [rbp - 0x69]
mov rcx, rbx
movsxd rsi, dword [rbp - 0x71]
call fcn.1401c4260
cmp rax, rsi
je 0x1400acbde
mov rcx, qword [rbp - 0x69]
call fcn.1401bf1c4
mov rcx, rbx
call fcn.1401c3c8c
jmp 0x1400acaee
mov byte [rsi + rbx], r14b
mov rcx, qword [rbp - 0x69]
call fcn.1401bf1c4
mov edx, dword [rbp - 0x71]
mov r8d, 3
mov word [rbp - 0x61], 0xbbef
mov r9b, 0xbf
cmp edx, r8d
jle 0x1400acc1d
movzx ecx, word [rbx]
movzx eax, word [rbp - 0x61]
sub ecx, eax
jne 0x1400acc17
movzx ecx, byte [rbx + 2]
movzx eax, r9b
sub ecx, eax
test ecx, ecx
cmove rdi, r8
movsxd r8, edx
lea r9, [0x140249d10]
sub r8, rdi
mov qword [rsp + 0x20], 1
mov rdx, rdi
mov rcx, rbx
call fcn.140091dc4
mov r14, rax
mov qword [rbp - 0x31], rax
mov rdi, qword [rax]
test rdi, rdi
je 0x1400acddd
mov r14, qword [rbp - 0x51]
mov rbx, qword [rbp - 0x49]
mov rdx, qword [rdi + 8]
mov rcx, rdi
call fcn.140091d84
mov rcx, qword [rdi]
mov qword [rdi + 8], rax
cmp byte [rcx], 0x23
je 0x1400acdc8
mov r9d, 1
lea r8, [0x140249d14]
mov rdx, rax
call fcn.1400954ac
test eax, eax
jle 0x1400acdc8
mov r9, qword [rdi]
movsxd r10, eax
lea rcx, [r9 + 1]
mov byte [r10 + r9], 0
add rcx, r10
mov rax, qword [rdi + 8]
sub rax, r10
mov qword [rbp - 0x69], rcx
lea rdx, [rax - 1]
cmp byte [rdx + rcx - 1], 0xd
lea rcx, [rbp - 0x69]
cmovne rdx, rax
dec rdx
call fcn.140091d84
mov rsi, qword [rbp - 0x69]
mov byte [rax + rsi], 0
cmp r10, 8
jne 0x1400acce5
mov rax, qword [str.MeshName]
cmp rax, qword [r9]
jne 0x1400acd16
mov qword [r15], rsi
cmp r10, 6
jne 0x1400acd10
mov eax, dword [str.MeshID]
cmp eax, dword [r9]
jne 0x1400acdc8
movzx eax, word [0x1402484dc]
cmp ax, word [r9 + 4]
jne 0x1400acdc8
mov qword [r12], rsi
cmp r10, 8
jne 0x1400acd2a
mov rax, qword [str.ServerID]
cmp rax, qword [r9]
jne 0x1400acdc8
mov qword [r13], rsi
cmp r10, 0xa
jne 0x1400acd51
mov rax, qword [str.MeshServer]
cmp rax, qword [r9]
jne 0x1400acdc8
movzx eax, word [0x140248468]
cmp ax, word [r9 + 8]
jne 0x1400acdc8
mov qword [r14], rsi
cmp r10, 0xc
jne 0x1400acd72
mov rax, qword [str.InstallFlags]
cmp rax, qword [r9]
jne 0x1400acdc8
mov eax, dword [0x140291810]
cmp eax, dword [r9 + 8]
jne 0x1400acdc8
mov qword [rbx], rsi
cmp r10, 0xb
jne 0x1400acda5
mov rax, qword [str.displayName]
cmp rax, qword [r9]
jne 0x1400acdc8
movzx eax, word [0x1402488a0]
cmp ax, word [r9 + 8]
jne 0x1400acdc8
mov al, byte [0x1402488a2]
cmp al, byte [r9 + 0xa]
jne 0x1400acdc8
mov rax, qword [rbp - 0x41]
mov qword [rax], rsi
cmp r10, 0xf
jne 0x1400acdc8
mov r8, r10
lea rcx, str.meshServiceName
mov rdx, r9
call fcn.1401bd7b0
test eax, eax
jne 0x1400acdc8
mov rax, qword [rbp - 0x39]
mov qword [rax], rsi
mov rdi, qword [rdi + 0x10]
test rdi, rdi
jne 0x1400acc59
mov rbx, qword [rbp - 0x59]
mov r14, qword [rbp - 0x31]
mov rcx, r14
call fcn.14009200c
mov rax, rbx
mov rcx, qword [rbp - 0x11]
xor rcx, rsp
call fcn.1401bc130
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret