Function at 0x180037620
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
movaps xmmword [rsp + 0x1a0], xmm6
mov rax, qword [0x180078028]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rbx, rdx
mov r15, rcx
mov rcx, rbx
lea rdx, [0x18004a7b8]
movaps xmm6, xmm2
call fcn.1800151a0
mov rdi, rax
test rax, rax
je 0x1800378f4
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov r14d, eax
cmp eax, 0xffffffff
je 0x1800378eb
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1800378eb
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x1800378eb
xor r8d, r8d
mov edx, r14d
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1800378eb
cmp rsi, 0xffffffffffffffff
je 0x1800378eb
mov rcx, rsi
call fcn.1800183e0
mov r14, rax
test rax, rax
je 0x1800378eb
mov r9, rdi
mov r8, rsi
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, rsi
je 0x18003771a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, r14
call fcn.180018490
jmp 0x1800378f4
movaps xmmword [rsp + 0x190], xmm7
movaps xmmword [rsp + 0x180], xmm8
movaps xmmword [rsp + 0x170], xmm9
movaps xmmword [rsp + 0x160], xmm10
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
movss xmm1, dword [0x18006f194]
xorps xmm2, xmm2
movups xmmword [rbp - 0x80], xmm2
mov dword [rbp - 0x80], 0x3f800000
mov eax, 0xffff
xorps xmm3, xmm3
mov word [rbp - 0x78], ax
movups xmmword [rsp + 0x40], xmm2
mov dword [rbp - 0x7c], 0x3f800000
shufps xmm3, xmm3, 0xe1
xorps xmm7, xmm7
movss xmm3, xmm1
mov dword [rsp + 0x48], 2
movaps xmm1, xmmword [rbp - 0x80]
xorps xmm8, xmm8
movups xmmword [rsp + 0x30], xmm2
mov byte [rsp + 0x3c], 1
shufps xmm3, xmm3, 0xe1
movdqa xmm0, xmm1
movaps xmm4, xmmword [rsp + 0x30]
xorps xmm9, xmm9
psrldq xmm0, 0xa
xorps xmm10, xmm10
movd eax, xmm0
mov dword [rsp + 0x4c], 1
movaps xmm5, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x40], xmm4
movaps xmmword [rbp - 0x30], xmm5
movaps xmmword [rbp - 0x20], xmm2
movaps xmmword [rbp - 0x10], xmm7
movaps xmmword [rsp + 0x70], xmm3
movaps xmmword [rbp], xmm3
movaps xmmword [rbp + 0x10], xmm1
movaps xmmword [rbp + 0x20], xmm8
movaps xmmword [rbp + 0x30], xmm9
movaps xmmword [rbp + 0x40], xmm10
test al, al
jne 0x180037876
mov r9, 0xffffffffffffffff
nop dword [rax]
inc r9
cmp byte [rbx + r9], 0
jne 0x180037800
add r9, rbx
cmp r9, rbx
jbe 0x18003782d
movzx ecx, byte [r9 - 1]
lea rax, [r9 - 1]
cmp cl, 0x2f
je 0x18003782d
cmp cl, 0x5c
je 0x18003782d
mov r9, rax
cmp rax, rbx
ja 0x180037812
xorps xmm0, xmm0
lea r8, str._s___.0fpx
cvtss2sd xmm0, xmm6
mov edx, 0x28
lea rcx, [rbp + 0x1a]
movsd qword [rsp + 0x20], xmm0
call fcn.180014fe0
movaps xmm1, xmmword [rbp + 0x10]
movaps xmm3, xmmword [rbp]
movaps xmm2, xmmword [rbp - 0x20]
movaps xmm5, xmmword [rbp - 0x30]
movaps xmm4, xmmword [rbp - 0x40]
movaps xmm10, xmmword [rbp + 0x40]
movaps xmm9, xmmword [rbp + 0x30]
movaps xmm8, xmmword [rbp + 0x20]
movaps xmm7, xmmword [rbp - 0x10]
movaps xmmword [rsp + 0x30], xmm4
xorps xmm0, xmm0
comiss xmm6, xmm0
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x38], esi
movaps xmmword [rsp + 0x60], xmm7
movaps xmm7, xmmword [rsp + 0x190]
movaps xmmword [rbp - 0x70], xmm8
movaps xmm8, xmmword [rsp + 0x180]
movaps xmmword [rbp - 0x60], xmm9
movaps xmm9, xmmword [rsp + 0x170]
movaps xmmword [rbp - 0x50], xmm10
movaps xmm10, xmmword [rsp + 0x160]
movaps xmmword [rsp + 0x40], xmm5
movaps xmmword [rsp + 0x50], xmm2
movaps xmmword [rsp + 0x70], xmm3
movaps xmmword [rbp - 0x80], xmm1
jbe 0x1800378dc
movss dword [rsp + 0x44], xmm6
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.180037030
jmp 0x1800378f6
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1800479f0
mov rbx, qword [rsp + 0x1f8]
movaps xmm6, xmmword [rsp + 0x1a0]
add rsp, 0x1b0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret