Function at 0x14009bbe0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x138]
sub rsp, 0x210
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
mov rax, qword [0x140109720]
xor rax, rsp
mov qword [rbp + 0xb0], rax
call fcn.1400a61a0
mov edx, 3
mov ecx, 0x22002
call fcn.1400a1740
mov edx, 3
mov ecx, 0x22003
call fcn.1400a1740
mov edx, 0x32001
mov ecx, 0x22008
call fcn.1400a1740
xor r13d, r13d
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea r8, [0x1400cf694]
mov edx, 0x320
mov ecx, edx
call fcn.1400a1ea0
mov r15, rax
test rax, rax
jne 0x14009bcb7
lea rdx, str.Failed_to_create_GLFW_window
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400060d0
lea rdx, [0x140049a30]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call fcn.1400a6280
lea eax, [r13 - 1]
jmp 0x14009c6b3
mov rcx, r15
call fcn.14009c700
lea rcx, [0x1400c0da8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x14010dd38], rax
test rax, rax
je 0x14009bd1a
lea rdx, [0x1400c0dc8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14010daf8], rax
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
je 0x14009bd1a
call fcn.140007e60
mov rcx, qword [0x14010dd38]
test rcx, rcx
je 0x14009bd1a
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x14010dd38], r13
xor edx, edx
xor ecx, ecx
mov r9d, 0x320
mov r8d, r9d
call qword [0x14010d460]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0xc
xor r9d, r9d
lea edx, [r9 + 3]
xor ecx, ecx
mov r8d, 0x1406
call qword [0x14010d420]
xor ecx, ecx
call qword [0x14010d458]
xor edx, edx
mov ecx, 0x8892
call qword [0x14010d488]
xor ecx, ecx
call qword [0x14010d450]
mov rdi, qword [0x14010d498]
test rdi, rdi
je 0x14009bd7e
inc dword [rdi + 0xf4]
mov ecx, 0x6098
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14009bdae
xor edx, edx
mov rcx, rax
call fcn.1400091c0
jmp 0x14009bdb1
mov rax, r13
mov qword [0x14010d498], rax
call fcn.14000e7b0
mov rbx, qword [0x14010d498]
test rdi, rdi
cmovne rbx, rdi
mov qword [0x14010d498], rbx
or dword [rbx + 8], 0x40
call fcn.140008510
mov r14, qword [rbx + 0x38]
lea rdx, [0x1400c3cc0]
lea r12, str.._Data_Font_Montserrat_Regular.ttf
mov rcx, r12
call fcn.14000ac70
mov rbx, rax
movss xmm10, dword [0x1400cf7c8]
test rax, rax
je 0x14009c04d
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x14009c044
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14009c044
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14009c044
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14009c044
cmp rdi, 0xffffffffffffffff
je 0x14009c044
mov rax, qword [0x14010d498]
test rax, rax
je 0x14009be7c
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14009c044
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14009bed3
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14010d498]
test rax, rax
je 0x14009bec5
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14009c04d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rsp + 0x70], xmm2
movups xmmword [rbp - 0x80], xmm2
movups xmmword [rbp - 0x40], xmm2
mov qword [rbp - 0x10], rax
mov byte [rsp + 0x7c], 1
mov dword [rbp - 0x78], 2
mov dword [rbp - 0x74], 1
movss xmm0, dword [0x1400cf8a8]
mov dword [rbp - 0x40], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0x3c], ax
movaps xmm4, xmmword [rsp + 0x70]
movaps xmmword [rbp], xmm4
movaps xmm5, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x10], xmm5
movaps xmmword [rbp + 0x20], xmm2
xorps xmm6, xmm6
movaps xmmword [rbp + 0x30], xmm6
xorps xmm1, xmm1
shufps xmm1, xmm1, 0xe1
movss xmm1, xmm0
shufps xmm1, xmm1, 0xe1
movaps xmmword [rbp - 0x50], xmm1
movaps xmmword [rbp + 0x40], xmm1
movaps xmm3, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0x50], xmm3
xorps xmm7, xmm7
movaps xmmword [rbp + 0x60], xmm7
xorps xmm8, xmm8
movaps xmmword [rbp + 0x70], xmm8
movsd xmm9, qword [rbp - 0x10]
movsd qword [rbp + 0x80], xmm9
movdqa xmm0, xmm3
psrldq xmm0, 6
movd eax, xmm0
test al, al
jne 0x14009bff4
lea r9, [0x1400cf6e2]
nop dword [rax]
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x14009bfa7
cmp al, 0x5c
je 0x14009bfa7
mov r9, rcx
cmp rcx, r12
ja 0x14009bf90
movsd xmm0, qword [0x1400cf808]
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, 0x28
lea rcx, [rbp + 0x56]
call fcn.14000aa20
movsd xmm9, qword [rbp + 0x80]
movaps xmm8, xmmword [rbp + 0x70]
movaps xmm7, xmmword [rbp + 0x60]
movaps xmm3, xmmword [rbp + 0x50]
movaps xmm1, xmmword [rbp + 0x40]
movaps xmm6, xmmword [rbp + 0x30]
movaps xmm2, xmmword [rbp + 0x20]
movaps xmm5, xmmword [rbp + 0x10]
movaps xmm4, xmmword [rbp]
movaps xmmword [rsp + 0x70], xmm4
movaps xmmword [rbp - 0x80], xmm5
movaps xmmword [rbp - 0x70], xmm2
movaps xmmword [rbp - 0x60], xmm6
movaps xmmword [rbp - 0x50], xmm1
movaps xmmword [rbp - 0x40], xmm3
movaps xmmword [rbp - 0x30], xmm7
movaps xmmword [rbp - 0x20], xmm8
movsd qword [rbp - 0x10], xmm9
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x78], edi
movss xmm0, dword [0x1400cf858]
movss dword [rbp - 0x7c], xmm0
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.140068940
mov rsi, rax
jmp 0x14009c050
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, r13
mov rcx, r15
call fcn.14006e560
call fcn.14006fdc0
mov byte [0x14010d6e9], 0
movaps xmm0, xmmword [0x1400cf640]
movups xmmword [0x14010d70c], xmm0
movaps xmm1, xmmword [0x1400cf650]
movups xmmword [0x14010d71c], xmm1
movaps xmm0, xmmword [0x1400cf660]
movups xmmword [0x14010d72c], xmm0
movaps xmm1, xmmword [0x1400cf670]
movups xmmword [0x14010d73c], xmm1
movaps xmm0, xmmword [0x1400cf680]
movups xmmword [0x14010d74c], xmm0
mov eax, dword [0x1400cf690]
mov dword [0x14010d75c], eax
call fcn.140093f10
mov rdx, rax
call fcn.140089e00
mov byte [0x14010d400], 1
mov rcx, r15
call fcn.1400a2320
test eax, eax
jne 0x14009c388
mov dword [rsp + 0x40], 2
mov qword [rsp + 0x38], 0
movss xmm6, dword [0x1400cf74c]
movss xmm7, dword [0x1400cf738]
movss xmm8, dword [0x1400cf72c]
nop dword [rax]
nop dword [rax + rax]
movaps xmm3, xmm10
movaps xmm2, xmm6
movaps xmm1, xmm7
movaps xmm0, xmm8
call qword [0x14010d448]
mov ecx, 0x4000
call qword [0x14010d438]
mov rax, qword [0x14010d498]
test rax, rax
je 0x14009c144
mov rax, qword [rax + 0xa0]
jmp 0x14009c147
mov rax, r13
cmp dword [rax + 0x30], 0
jne 0x14009c152
call fcn.140070bd0
call fcn.14006f3c0
call fcn.1400114b0
mov r8, qword [0x14010d498]
mov rax, qword [r8 + 0x4a28]
mov rdx, qword [rax]
mov ecx, dword [r8 + 0x48f8]
or ecx, 1
mov dword [r8 + 0x48f8], ecx
movsd xmm0, qword [rdx + 0x18]
movsd qword [r8 + 0x490c], xmm0
mov qword [r8 + 0x4914], r13
mov dword [r8 + 0x48fc], 1
mov byte [r8 + 0x4934], 1
or ecx, 2
mov dword [r8 + 0x48f8], ecx
movsd xmm0, qword [rdx + 0x20]
movsd qword [r8 + 0x491c], xmm0
mov dword [r8 + 0x4900], 1
mov eax, dword [rdx]
bts ecx, 8
mov dword [r8 + 0x48f8], ecx
mov dword [r8 + 0x495c], eax
mov r9d, dword [rdx]
lea r8, str.DockSpaceViewport__08X
mov edx, 0x20
lea rcx, [rbp + 0x90]
call fcn.14000aa20
mov rbx, qword [0x14010d498]
mov dword [rsp + 0x50], 3
movss xmm0, dword [rbx + 0x38e8]
movss dword [rsp + 0x54], xmm0
lea rcx, [rbx + 0x4998]
lea rdx, [rsp + 0x50]
call fcn.1400326c0
mov dword [rbx + 0x38e8], r13d
mov rbx, qword [0x14010d498]
mov dword [rsp + 0x60], 4
movss xmm0, dword [rbx + 0x38ec]
movss dword [rsp + 0x64], xmm0
lea rcx, [rbx + 0x4998]
lea rdx, [rsp + 0x60]
call fcn.1400326c0
mov dword [rbx + 0x38ec], r13d
mov rbx, qword [0x14010d498]
movss xmm1, dword [rbx + 0x38e0]
movss xmm0, dword [rbx + 0x38e4]
movss dword [rsp + 0x44], xmm1
movss dword [rsp + 0x48], xmm0
lea rcx, [rbx + 0x4998]
lea rdx, [rsp + 0x40]
call fcn.1400326c0
mov qword [rbx + 0x38e0], r13
xor edx, edx
mov r8d, 0x282027
lea rcx, [rbp + 0x90]
call fcn.140017840
mov ecx, 3
call fcn.14000c650
mov rax, qword [0x14010d498]
mov rbx, qword [rax + 0x4018]
movsxd rcx, dword [rbx + 0x128]
mov rax, qword [rbx + 0x130]
mov r8d, dword [rax + rcx*4 - 4]
xor edx, edx
lea rcx, str.DockSpace
call fcn.14000abc0
mov edi, eax
mov rcx, qword [rbx]
cmp dword [rcx + 0x4060], eax
jne 0x14009c30a
lea r8, str.DockSpace
mov edx, 0xb
mov ecx, eax
call fcn.140031c80
lea rdx, [rsp + 0x38]
mov ecx, edi
call fcn.14002f4c0
call fcn.14001a6a0
mov rcx, rsi
call fcn.14001af40
lea rcx, [0x14010d402]
call fcn.140001600
lea rcx, [0x14010d402]
call fcn.140003240
call fcn.14001afe0
call fcn.140013c00
mov rax, qword [0x14010d498]
mov rcx, qword [rax + 0x4a28]
mov rax, qword [rcx]
add rax, 0xa8
mov rcx, r13
cmp byte [rax], r13b
cmovne rcx, rax
call fcn.140070400
mov rcx, r15
call fcn.14009c810
call fcn.1400a3f50
mov rcx, r15
call fcn.1400a2320
test eax, eax
je 0x14009c110
mov rbx, qword [0x14010d498]
test rbx, rbx
je 0x14009c39d
mov r12, qword [rbx + 0xa0]
jmp 0x14009c3a0
mov r12, r13
lea r14, [rbx + 8]
mov esi, r13d
cmp dword [rbx + 0x4a20], r13d
jle 0x14009c3e5
mov rdi, r13
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rbx + 0x4a28]
mov rcx, qword [rdi + rcx]
call fcn.140027f50
inc esi
lea rdi, [rdi + 8]
cmp esi, dword [rbx + 0x4a20]
jl 0x14009c3c0
mov rbx, qword [0x14010d498]
test rbx, rbx
je 0x14009c3f3
mov rdi, qword [rbx + 0xa0]
jmp 0x14009c3f6
mov rdi, r13
cmp dword [rdi + 0x48], 0
je 0x14009c416
lea rdx, [rdi + 0x48]
mov ecx, 1
call qword [0x14010d530]
mov dword [rdi + 0x48], r13d
mov rbx, qword [0x14010d498]
cmp dword [rdi + 0x4c], 0
je 0x14009c436
lea rdx, [rdi + 0x4c]
mov ecx, 1
call qword [0x14010d530]
mov dword [rdi + 0x4c], r13d
mov rbx, qword [0x14010d498]
mov ecx, dword [rdi + 0x30]
test ecx, ecx
je 0x14009c44e
call qword [0x14010d538]
mov dword [rdi + 0x30], r13d
mov rbx, qword [0x14010d498]
test rbx, rbx
je 0x14009c45c
mov rdi, qword [rbx + 0xa0]
jmp 0x14009c45f
mov rdi, r13
cmp dword [rdi + 0x2c], 0
je 0x14009c487
lea rdx, [rdi + 0x2c]
mov ecx, 1
call qword [0x14010d548]
mov rax, qword [rbx + 0x38]
mov qword [rax + 8], r13
mov dword [rdi + 0x2c], r13d
mov rbx, qword [0x14010d498]
mov qword [r14 + 0x88], r13
mov qword [r14 + 0x98], r13
and dword [r14 + 4], 0xffffeff7
test r12, r12
je 0x14009c4bd
test rbx, rbx
je 0x14009c4ad
dec dword [rbx + 0xf4]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x14010d498]
test rbx, rbx
je 0x14009c4cb
mov r14, qword [rbx + 0x98]
jmp 0x14009c4ce
mov r14, r13
lea r13, [rbx + 8]
xor r12d, r12d
mov esi, r12d
cmp dword [rbx + 0x4a20], r12d
jle 0x14009c515
mov edi, r12d
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x4a28]
mov rcx, qword [rdi + rcx]
call fcn.140027f50
inc esi
lea rdi, [rdi + 8]
cmp esi, dword [rbx + 0x4a20]
jl 0x14009c4f0
mov rbx, qword [0x14010d498]
cmp byte [r14 + 0xb50], r12b
je 0x14009c5ea
mov rdi, qword [r14]
test rbx, rbx
je 0x14009c533
mov rbx, qword [rbx + 0x98]
jmp 0x14009c536
mov rbx, r12
mov rdx, qword [rbx + 0xb58]
mov rcx, rdi
call fcn.1400a3c30
mov rdx, qword [rbx + 0xb68]
mov rcx, rdi
call fcn.14009eb70
mov rdx, qword [rbx + 0xb60]
mov rcx, rdi
call fcn.14009ead0
mov rdx, qword [rbx + 0xb70]
mov rcx, rdi
call fcn.14009ea30
mov rdx, qword [rbx + 0xb78]
mov rcx, rdi
call fcn.14009ec10
mov rdx, qword [rbx + 0xb80]
mov rcx, rdi
call fcn.14009e850
mov rdx, qword [rbx + 0xb88]
mov rcx, rdi
call fcn.14009e8f0
mov rcx, qword [rbx + 0xb90]
call fcn.1400a51d0
mov byte [rbx + 0xb50], r12b
mov qword [rbx + 0xb58], r12
mov qword [rbx + 0xb68], r12
mov qword [rbx + 0xb60], r12
mov qword [rbx + 0xb70], r12
mov qword [rbx + 0xb78], r12
mov qword [rbx + 0xb80], r12
mov qword [rbx + 0xb88], r12
mov qword [rbx + 0xb90], r12
lea rbx, [r14 + 0x20]
mov edi, 9
mov rcx, qword [rbx]
call fcn.14009e6e0
lea rbx, [rbx + 8]
sub rdi, 1
jne 0x14009c5f3
mov rax, qword [0x14010d498]
mov rcx, qword [rax + 0x4a28]
mov rcx, qword [rcx]
mov r8, qword [r14 + 0xb98]
lea edx, [rdi - 4]
mov rcx, qword [rcx + 0x50]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov qword [r14 + 0xb98], r12
mov qword [r13 + 0x80], r12
mov qword [r13 + 0x90], r12
and dword [r13 + 4], 0xfffff3f8
mov rax, qword [0x14010d498]
test rax, rax
je 0x14009c659
dec dword [rax + 0xf4]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x14010d498]
mov qword [0x14010d498], rbx
call fcn.14000ec50
mov qword [0x14010d498], r12
test rbx, rbx
je 0x14009c6a4
mov rcx, rbx
call fcn.140033760
mov rax, qword [0x14010d498]
test rax, rax
je 0x14009c69b
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r15
call fcn.1400a2250
call fcn.1400a6280
xor eax, eax
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1400b69d0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret