Function at 0x1400228d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
cmp byte [rcx], 0
mov rbx, rdx
movaps xmmword [rsp + 0x150], xmm6
mov r15, rcx
movaps xmm6, xmm2
je 0x140022915
mov r8d, 0x7ce
lea rdx, str.C:UserskaragDesktop_airflowimgui_masterimgui_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 0x140022934
mov r8d, 0x5f7
lea rdx, str.C:UserskaragDesktop_airflowimgui_masterimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov qword [rsp + 0x180], rsi
lea rdx, [0x1400343b0]
mov rcx, rbx
mov qword [rsp + 0x188], r14
call fcn.1400026c0
mov rdi, rax
test rax, rax
je 0x140022c2a
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov r14d, eax
cmp eax, 0xffffffff
je 0x140022c21
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 0x140022c21
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140022c21
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 0x140022c21
cmp rsi, 0xffffffffffffffff
je 0x140022c21
mov rax, qword [0x14005e920]
test rax, rax
je 0x1400229d3
inc dword [rax + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
test rax, rax
je 0x140022c21
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 0x140022a2a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14005e920]
test rax, rax
je 0x140022a1c
dec dword [rax + 0x3b4]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140022c2a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
movss xmm3, dword [0x14003a624]
xor ecx, ecx
movss xmm2, dword [0x14003a74c]
xorps xmm0, xmm0
movups xmmword [rsp + 0x54], xmm0
mov dword [rsp + 0x70], ecx
mov eax, 0xffff
mov word [rbp - 0x7c], ax
xorps xmm4, xmm4
movups xmmword [rbp - 0x7a], xmm4
xor eax, eax
mov byte [rsp + 0x78], cl
mov dword [rsp + 0x7c], ecx
mov rdi, rsi
movups xmmword [rbp - 0x6a], xmm4
mov qword [rbp - 0x5a], rax
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x48], 3
mov dword [rsp + 0x4c], 1
movups xmm0, xmmword [rsp + 0x40]
mov byte [rsp + 0x50], cl
movups xmm1, xmmword [rsp + 0x50]
mov qword [rsp + 0x68], rcx
movaps xmmword [rbp - 0x30], xmm0
movups xmm0, xmmword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
movaps xmmword [rbp - 0x20], xmm1
movups xmm1, xmmword [rsp + 0x70]
mov dword [rsp + 0x38], ecx
movaps xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [rbp - 0x80]
mov byte [rsp + 0x3c], 1
movups xmm5, xmmword [rsp + 0x30]
mov qword [rbp - 0x50], rcx
movss xmm0, xmm3
shufps xmm1, xmm1, 0xe1
movss xmm1, xmm2
movaps xmmword [rbp + 0x10], xmm0
shufps xmm1, xmm1, 0xe1
movups xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [rbp - 0x70]
movups xmmword [rsp + 0x70], xmm1
movaps xmmword [rbp], xmm1
movups xmm1, xmmword [rbp - 0x60]
movd eax, xmm4
movaps xmmword [rbp + 0x20], xmm0
movsd xmm0, qword [rbp - 0x50]
movsd qword [rbp + 0x40], xmm0
movaps xmmword [rbp - 0x40], xmm5
movaps xmmword [rbp + 0x30], xmm1
test al, al
jne 0x140022b70
mov r9, 0xffffffffffffffff
nop word [rax + rax]
inc r9
cmp byte [rbx + r9], cl
jne 0x140022b20
add r9, rbx
cmp r9, rbx
jbe 0x140022b4a
movzx eax, byte [r9 - 1]
lea rcx, [r9 - 1]
cmp al, 0x2f
je 0x140022b4a
cmp al, 0x5c
je 0x140022b4a
mov r9, rcx
cmp rcx, rbx
ja 0x140022b31
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.140002590
movaps xmm5, xmmword [rbp - 0x40]
cmp byte [r15], 0
je 0x140022b94
mov r8d, 0x7e4
lea rdx, str.C:UserskaragDesktop_airflowimgui_masterimgui_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 xmm5, xmmword [rbp - 0x40]
movaps xmm0, xmmword [rbp - 0x30]
movq rax, xmm5
movaps xmm1, xmmword [rbp - 0x20]
movaps xmmword [rsp + 0x40], xmm0
movaps xmm0, xmmword [rbp - 0x10]
movaps xmmword [rsp + 0x50], xmm1
movaps xmm1, xmmword [rbp]
movaps xmmword [rsp + 0x60], xmm0
movaps xmm0, xmmword [rbp + 0x10]
movaps xmmword [rsp + 0x70], xmm1
movaps xmm1, xmmword [rbp + 0x20]
movaps xmmword [rbp - 0x80], xmm0
movaps xmm0, xmmword [rbp + 0x30]
movaps xmmword [rbp - 0x70], xmm1
movsd xmm1, qword [rbp + 0x40]
movaps xmmword [rbp - 0x60], xmm0
movsd qword [rbp - 0x50], xmm1
movaps xmmword [rsp + 0x30], xmm5
test rax, rax
je 0x140022c03
mov r8d, 0x7e6
lea rdx, str.C:UserskaragDesktop_airflowimgui_masterimgui_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, r15
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x38], edi
call fcn.1400225a0
jmp 0x140022c46
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8d, 0x7d3
lea rdx, str.C:UserskaragDesktop_airflowimgui_masterimgui_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 r14, qword [rsp + 0x188]
mov rsi, qword [rsp + 0x180]
mov rbx, qword [rsp + 0x190]
movaps xmm6, xmmword [rsp + 0x150]
add rsp, 0x160
pop r15
pop rdi
pop rbp
ret