Function at 0x14001d140
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
movaps xmmword [rsp + 0x120], xmm6
mov rax, qword [0x1400c1080]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rbx, rdx
mov r12, rcx
mov rcx, rbx
lea rdx, [0x1400ad798]
movaps xmm6, xmm2
call fcn.1400034d0
mov rdi, rax
test rax, rax
je 0x14001d383
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001d37a
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd r15, eax
cmp r15d, 0xffffffff
je 0x14001d37a
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001d37a
mov rcx, qword [str.__f_]
inc dword [rcx + 0x34c]
mov rax, qword [rcx + 0xe8]
mov rcx, r15
call rax
mov r14, rax
test rax, rax
je 0x14001d37a
mov r9, rdi
mov r8, r15
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
cmp rax, r15
je 0x14001d236
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [str.__f_]
mov rcx, r14
dec dword [rax + 0x34c]
call qword [rax + 0xf0]
jmp 0x14001d383
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov byte [rsp + 0x3c], 1
xorps xmm0, xmm0
mov qword [rsp + 0x5c], rax
movups xmmword [rsp + 0x71], xmm0
mov qword [rsp + 0x30], rax
mov r9, 0xffffffffffffffff
movups xmmword [rbp - 0x7f], xmm0
mov dword [rsp + 0x38], eax
movaps xmm0, xmmword [rsp + 0x30]
movaps xmmword [rbp - 0x60], xmm0
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 3
mov dword [rsp + 0x4c], 1
movaps xmm1, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x50], xmm1
mov byte [rsp + 0x50], al
mov qword [rsp + 0x54], rax
movaps xmm0, xmmword [rsp + 0x50]
movaps xmmword [rbp - 0x40], xmm0
mov qword [rsp + 0x68], rax
movaps xmm1, xmmword [rsp + 0x60]
mov byte [rsp + 0x70], al
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x68], rax
movaps xmm0, xmmword [rbp - 0x70]
movaps xmmword [rbp - 0x30], xmm1
movaps xmm1, xmmword [rbp - 0x80]
movaps xmmword [rbp], xmm0
movaps xmmword [rbp - 0x10], xmm1
nop dword [rax]
inc r9
cmp byte [rbx + r9], al
jne 0x14001d2d0
add r9, rbx
cmp r9, rbx
jbe 0x14001d2fc
movzx ecx, byte [r9 - 1]
lea rax, [r9 - 1]
cmp cl, 0x2f
je 0x14001d2fc
cmp cl, 0x5c
je 0x14001d2fc
mov r9, rax
cmp rax, rbx
ja 0x14001d2e1
xorps xmm0, xmm0
lea r8, str._s___.0fpx
cvtss2sd xmm0, xmm6
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea rcx, [rbp - 0x1f]
movsd qword [rsp + 0x20], xmm0
call fcn.140012a40
movaps xmm0, xmmword [rbp - 0x60]
lea rdx, [rsp + 0x30]
movaps xmm1, xmmword [rbp - 0x50]
mov rcx, r12
movaps xmmword [rsp + 0x30], xmm0
movaps xmm0, xmmword [rbp - 0x40]
movaps xmmword [rsp + 0x40], xmm1
movaps xmm1, xmmword [rbp - 0x30]
movaps xmmword [rsp + 0x50], xmm0
movaps xmm0, xmmword [rbp - 0x20]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm0, xmmword [rbp]
movaps xmmword [rsp + 0x60], xmm1
movaps xmm1, xmmword [rbp - 0x10]
movaps xmmword [rbp - 0x70], xmm0
movss dword [rsp + 0x44], xmm6
movaps xmmword [rbp - 0x80], xmm1
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x38], r15d
call fcn.14001ccc0
jmp 0x14001d385
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14009ab70
movaps xmm6, xmmword [rsp + 0x120]
add rsp, 0x130
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret