Function at 0x140030200
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
push rbp
push r12
push r14
lea rbp, [rax - 0x108]
sub rsp, 0x1f0
cmp byte [rcx], 0
mov r14, r9
movaps xmmword [rax - 0x28], xmm6
mov rbx, rdx
movaps xmm6, xmm2
mov r12, rcx
je 0x14003024d
mov r8d, 0x76a
lea rdx, str.E:ReposSimHapticlibsimguiimgui_draw.cpp
lea rcx, str._Locked___Cannot_modify_a_locked_ImFontAtlas_between_NewFrame___and_EndFrame_Render____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rbx, rbx
jne 0x14003026c
mov r8d, 0x5ec
lea rdx, str.E:ReposSimHapticlibsimguiimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov qword [rsp + 0x210], rsi
lea rdx, [0x14011b190]
mov rcx, rbx
mov qword [rsp + 0x218], r15
call fcn.14000dca0
mov rdi, rax
test rax, rax
je 0x1400305ce
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov r15d, eax
cmp eax, 0xffffffff
je 0x1400305c5
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 0x1400305c5
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x1400305c5
xor r8d, r8d
mov edx, r15d
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400305c5
cmp rsi, 0xffffffffffffffff
je 0x1400305c5
mov rax, qword [0x140156960]
test rax, rax
je 0x14003030b
inc dword [rax + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
test rax, rax
je 0x1400305c5
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 0x140030362
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140156960]
test rax, rax
je 0x140030354
dec dword [rax + 0x3b4]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400305ce
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1400303da
movaps xmm0, xmmword [r14]
lea rax, [rbp + 0x50]
movaps xmm1, xmmword [r14 + 0x10]
movups xmmword [rbp + 0x50], xmm0
movaps xmm0, xmmword [r14 + 0x20]
movups xmmword [rbp + 0x70], xmm0
movaps xmm0, xmmword [r14 + 0x40]
movups xmmword [rbp + 0x60], xmm1
movaps xmm1, xmmword [r14 + 0x30]
movups xmmword [rbp + 0x90], xmm0
movaps xmm0, xmmword [r14 + 0x60]
movups xmmword [rbp + 0x80], xmm1
movaps xmm1, xmmword [r14 + 0x50]
movups xmmword [rbp + 0xb0], xmm0
movsd xmm0, qword [r14 + 0x80]
movups xmmword [rbp + 0xa0], xmm1
movaps xmm1, xmmword [r14 + 0x70]
movsd qword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xc0], xmm1
jmp 0x14003044b
xor ecx, ecx
mov byte [rsp + 0x3c], 1
xorps xmm0, xmm0
mov qword [rsp + 0x30], rcx
mov eax, 0xffff
mov dword [rsp + 0x38], ecx
mov word [rbp - 0x7c], ax
xor eax, eax
mov qword [rbp - 0x5a], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x48], 3
mov dword [rsp + 0x4c], 1
mov byte [rsp + 0x50], cl
movups xmmword [rsp + 0x54], xmm0
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x70], ecx
mov dword [rsp + 0x74], 0x7f7fffff
mov byte [rsp + 0x78], cl
mov dword [rsp + 0x7c], ecx
mov dword [rbp - 0x80], 0x3f800000
movups xmmword [rbp - 0x7a], xmm0
mov qword [rbp - 0x50], rcx
movups xmmword [rbp - 0x6a], xmm0
movups xmm1, xmmword [rax + 0x20]
mov rdi, rsi
movups xmm0, xmmword [rax + 0x10]
movups xmm3, xmmword [rax + 0x50]
movups xmm2, xmmword [rax]
movaps xmmword [rbp - 0x20], xmm1
movups xmm1, xmmword [rax + 0x40]
movaps xmmword [rbp - 0x30], xmm0
movups xmm0, xmmword [rax + 0x30]
movaps xmmword [rbp], xmm1
movups xmm1, xmmword [rax + 0x70]
movaps xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [rax + 0x60]
movaps xmmword [rbp + 0x30], xmm1
movdqa xmm1, xmm3
psrldq xmm1, 6
movaps xmmword [rbp + 0x20], xmm0
movsd xmm0, qword [rax + 0x80]
movd eax, xmm1
movaps xmmword [rbp - 0x40], xmm2
movaps xmmword [rbp + 0x10], xmm3
movsd qword [rbp + 0x40], xmm0
test al, al
jne 0x140030513
mov r9, 0xffffffffffffffff
inc r9
cmp byte [rbx + r9], 0
jne 0x1400304b2
add r9, rbx
cmp r9, rbx
jbe 0x1400304e9
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r9 - 1]
lea rcx, [r9 - 1]
cmp al, 0x2f
je 0x1400304e9
cmp al, 0x5c
je 0x1400304e9
mov r9, rcx
cmp rcx, rbx
ja 0x1400304d0
xorps xmm0, xmm0
lea r8, str._s___.0fpx
cvtss2sd xmm0, xmm6
mov edx, 0x28
lea rcx, [rbp + 0x16]
movsd qword [rsp + 0x20], xmm0
call fcn.14000db70
movaps xmm3, xmmword [rbp + 0x10]
movaps xmm2, xmmword [rbp - 0x40]
cmp byte [r12], 0
je 0x14003053c
mov r8d, 0x780
lea rdx, str.E:ReposSimHapticlibsimguiimgui_draw.cpp
lea rcx, str._Locked___Cannot_modify_a_locked_ImFontAtlas_between_NewFrame___and_EndFrame_Render____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movaps xmm3, xmmword [rbp + 0x10]
movaps xmm2, xmmword [rbp - 0x40]
movaps xmm0, xmmword [rbp - 0x30]
movq rax, xmm2
movaps xmm1, xmmword [rbp - 0x20]
movaps xmmword [rsp + 0x40], xmm0
movaps xmm0, xmmword [rbp - 0x10]
movaps xmmword [rsp + 0x60], xmm0
movaps xmm0, xmmword [rbp + 0x20]
movaps xmmword [rsp + 0x50], xmm1
movaps xmm1, xmmword [rbp]
movaps xmmword [rbp - 0x70], xmm0
movsd xmm0, qword [rbp + 0x40]
movaps xmmword [rsp + 0x70], xmm1
movaps xmm1, xmmword [rbp + 0x30]
movsd qword [rbp - 0x50], xmm0
movaps xmmword [rsp + 0x30], xmm2
movaps xmmword [rbp - 0x80], xmm3
movaps xmmword [rbp - 0x60], xmm1
test rax, rax
je 0x1400305a7
mov r8d, 0x782
lea rdx, str.E:ReposSimHapticlibsimguiimgui_draw.cpp
lea rcx, str.font_cfg.FontData__0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
lea rdx, [rsp + 0x30]
movss dword [rsp + 0x44], xmm6
mov rcx, r12
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x38], edi
call fcn.14002fcc0
jmp 0x1400305ea
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8d, 0x76f
lea rdx, str.E:ReposSimHapticlibsimguiimgui_draw.cpp
lea rcx, str._0____Could_not_load_font_file__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
mov r15, qword [rsp + 0x218]
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsi, qword [rsp + 0x210]
mov rsp, r11
pop r14
pop r12
pop rbp
ret