Function at 0x1400363e0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov rbx, r8
mov r12, rdx
mov rdi, rcx
mov rax, qword [0x1401e3a68]
xor rax, rsp
mov qword [rsp + 0xa0], rax
test rdx, rdx
je 0x140035fee
cmp qword [r12 + 0x18], 0x10
mov rax, r12
jb 0x140035fe2
mov rax, qword [r12]
mov qword [r12 + 0x10], 0
mov byte [rax], 0
mov rcx, rdi
call fcn.140035330
test al, al
jne 0x14003608f
lea rdx, [0x14019cf72]
mov rcx, rdi
call fcn.140039150
test rax, rax
je 0x14003608f
mov r14, rax
lea rsi, [rsp + 0x70]
mov rcx, rsi
call fcn.140031f00
mov rcx, rdi
mov rdx, rsi
call fcn.140039a40
mov edi, eax
mov rbp, qword [rsp + 0x70]
mov rcx, rsi
call fcn.1400120e0
test dil, dil
mov edi, 0xffff
cmovne rdi, rbp
mov eax, 0xffff
test rbp, rbp
cmovle rdi, rax
cmp rdi, rbx
cmova rdi, rbx
mov eax, 0xf
movq xmm0, rax
pslldq xmm0, 8
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
inc rdi
mov qword [rsp + 0x30], rbx
jne 0x1400360b7
mov qword [rsp + 0x60], 0
mov byte [rsp + 0x50], 0
jmp 0x1400360ed
xor edi, edi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14014ac50
mov eax, edi
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp rdi, 0xf
jbe 0x1400360d4
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x50]
mov rdx, rdi
mov r9, rdi
call fcn.140009410
jmp 0x1400360ed
mov qword [rsp + 0x60], rdi
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8, rdi
call fcn.14016ed50
mov byte [rsp + rdi + 0x50], 0
lea rdx, str.ReadFileToStringWithMaxSize
lea r8, str..._.._base_files_file_util.cc
lea r15, [rsp + 0x70]
mov rcx, r15
mov r9d, 0xaa
call fcn.14003bd00
lea rcx, [rsp + 0x38]
xor esi, esi
mov rdx, r15
xor r8d, r8d
call fcn.14004f9f0
cmp qword [rsp + 0x68], 0xf
jbe 0x14003612f
mov rcx, qword [rsp + 0x50]
jmp 0x140036134
lea rcx, [rsp + 0x50]
mov edx, 1
mov r8, rdi
mov r9, r14
call fcn.14017f100
test rax, rax
mov r15, qword [rsp + 0x30]
je 0x140036238
mov ebx, 0x10000
lea r13, [rsp + 0x50]
xor esi, esi
nop
mov rcx, r15
sub rcx, rsi
cmp rcx, rax
jb 0x14003624b
test rsi, rsi
cmove rdi, rbx
add rsi, rax
mov rcx, r14
call fcn.14017e6d0
test eax, eax
jne 0x140036238
lea rbp, [rsi + rdi]
mov rcx, qword [rsp + 0x60]
mov r8, rbp
sub r8, rcx
jbe 0x1400361c0
mov rax, qword [rsp + 0x68]
mov rdx, rax
sub rdx, rcx
cmp rdx, r8
jae 0x1400361e0
mov byte [rsp + 0x20], 0
mov rcx, r13
mov rdx, r8
mov r9, r8
call fcn.140009410
jmp 0x14003620c
cmp qword [rsp + 0x68], 0xf
mov rax, r13
jbe 0x1400361d0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x60], rbp
mov byte [rax + rbp], 0
jmp 0x14003620c
mov qword [rsp + 0x60], rbp
mov r15, r13
cmp rax, 0xf
jbe 0x1400361f3
mov r15, qword [rsp + 0x50]
add rcx, r15
xor edx, edx
call fcn.14016ed50
mov byte [r15 + rbp], 0
mov ebx, 0x10000
mov r15, qword [rsp + 0x30]
cmp qword [rsp + 0x68], 0xf
mov rcx, r13
jbe 0x14003621c
mov rcx, qword [rsp + 0x50]
add rcx, rsi
mov edx, 1
mov r8, rdi
mov r9, r14
call fcn.14017f100
test rax, rax
jne 0x140036160
mov rcx, r14
call fcn.14017e700
test eax, eax
sete dil
mov r15, rsi
jmp 0x14003624d
xor edi, edi
mov rcx, r14
call fcn.14017e5e0
test r12, r12
je 0x14003630f
movups xmm0, xmmword [r12]
movups xmm1, xmmword [r12 + 0x10]
movaps xmmword [rsp + 0x80], xmm1
movaps xmmword [rsp + 0x70], xmm0
movaps xmm0, xmmword [rsp + 0x50]
movaps xmm1, xmmword [rsp + 0x60]
movups xmmword [r12 + 0x10], xmm1
movups xmmword [r12], xmm0
movdqa xmm0, xmmword [rsp + 0x70]
movaps xmm1, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x60], xmm1
movdqa xmmword [rsp + 0x50], xmm0
mov rcx, qword [r12 + 0x10]
mov r8, r15
sub r8, rcx
jbe 0x1400362d6
mov rax, qword [r12 + 0x18]
mov rdx, rax
sub rdx, rcx
cmp rdx, r8
jae 0x1400362f1
mov byte [rsp + 0x20], 0
mov rcx, r12
mov rdx, r8
mov r9, r8
call fcn.140009410
jmp 0x14003630f
cmp qword [r12 + 0x18], 0x10
mov rax, r12
jb 0x1400362e5
mov rax, qword [r12]
mov qword [r12 + 0x10], r15
mov byte [rax + r15], 0
jmp 0x14003630f
mov qword [r12 + 0x10], r15
cmp rax, 0x10
jb 0x140036300
mov r12, qword [r12]
add rcx, r12
xor edx, edx
call fcn.14016ed50
mov byte [r12 + r15], 0
lea rcx, [rsp + 0x38]
call fcn.14004fb20
mov rax, qword [rsp + 0x68]
cmp rax, 0x10
jb 0x140036091
mov rcx, qword [rsp + 0x50]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140036355
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x14003635f
add rax, 0x28
mov rdx, rax
mov rcx, rbp
call fcn.14014a880
jmp 0x140036091
call fcn.140178800
ud2
mov r8, 0xffffffffffffffff
jmp 0x140035fa0