Function at 0x1800140e0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3f8]
sub rsp, 0x4f8
mov rax, qword [0x1800923a0]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
mov rsi, qword [rbp + 0x470]
lea r11, [0x180087828]
mov ebx, dword [rsp + 0x60]
mov rdi, r8
mov qword [rsp + 0x68], rsi
mov r8, rdx
mov r15, qword [rsp + 0x68]
mov r13, r9
mov r9, qword [rbp + 0x460]
mov r12, qword [rsp + 0x68]
mov qword [rbp - 0x78], rdx
mov rdx, rcx
mov qword [rsp + 0x70], rcx
mov ecx, dword [rbp + 0x468]
mov qword [rsp + 0x78], r9
lea eax, [rcx - 0xd]
mov dword [rsp + 0x50], eax
cmp ecx, eax
jbe 0x18001463c
movzx eax, byte [rsp + 0x48]
lea r14d, [rcx - 0x65]
mov rcx, qword [rsp + 0x68]
lea r11, str.example
mov qword [rbp - 0x80], rcx
mov ecx, dword [rsp + 0x60]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x40], ecx
mov ecx, dword [rsp + 0x50]
mov dword [rsp + 0x58], eax
lea r10, [0x180000000]
cmp r14d, 0x1d
ja case.default.0x1800141b4
mov ecx, dword [r10 + r14*4 + 0x149d4]
add rcx, r10
mov eax, r14d
jmp rcx
mov eax, dword [r13]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x28], 0
mov r9, rdi
mov edx, 0x6d
mov dword [rsp + 0x60], eax
xor ecx, ecx
mov qword [rsp + 0x20], 0
call fcn.180020790
mov qword [rbp - 0x68], rax
cmp rax, 0
je 0x18001420d
mov rax, qword [rsp + 0x70]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rax]
call qword [rsi + 0x10]
test eax, eax
je 0x1800144bb
mov dword [rdi + 0x24], 7
xor eax, eax
jmp 0x1800149ae
mov ecx, dword [rsp + 0x50]
mov al, 9
mov dword [rsp + 0x54], eax
mov r10d, 1
xor eax, eax
mov dword [rsp + 0x40], r10d
xorps xmm0, xmm0
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x70], 0
mov qword [0x1800924c8], r11
movups xmmword [rbp - 0x58], xmm0
jmp 0x1800144d9
mov ebx, 1
jmp case.0x1800141b4.4
cmp dword [rdi + 8], 0
je case.0x1800141b4.4
mov dword [rdi + 0x24], 0xc
xor eax, eax
jmp 0x1800149ae
cmp qword [r8 + 8], 0
je 0x180014389
mov eax, dword [r13]
lea r9, [rsp + 0x60]
mov r8, rdi
mov dword [rsp + 0x60], eax
xor edx, edx
mov ecx, 0x99
call fcn.180061170
test eax, eax
jne 0x1800144bb
mov dword [rdi + 0x24], 0xf
jmp 0x1800149ae
mov rax, qword [r8 + 8]
lea rcx, [rbp - 0x60]
mov qword [rbp - 0x28], rax
lea r8, [rbp - 0x30]
mov rax, qword [r9]
lea r9, [rbp - 0x38]
mov qword [rsp + 0x60], rax
mov rax, qword [rsi + 0x20]
mov qword [rbp - 0x38], rax
mov rax, qword [rsi + 0x10]
mov qword [rbp - 0x60], rax
mov rax, qword [rsi]
mov qword [rbp - 0x30], rax
mov rax, qword [rdx]
lea rdx, [rbp - 0x28]
mov qword [rbp - 0x40], rax
lea rax, [rsp + 0x60]
mov dword [rsp + 0x38], 0xe7
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
call fcn.180054d70
test eax, eax
je 0x18001420d
mov rdx, qword [rdi + 0x10]
mov rax, qword [rbp - 0x68]
mov r8, qword [rdi + 0x28]
mov qword [rdi + 0x38], rax
mov qword [rdi + 0x30], r8
test rdx, rdx
je 0x1800144bb
nop
mov rax, qword [rdx]
mov eax, dword [rax + 8]
add eax, 4
add r8, rax
mov qword [rdi + 0x30], r8
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x180014330
jmp 0x1800144bb
xor eax, eax
mov dword [rsp + 0x58], eax
jmp case.0x1800141b4.4
cmp qword [rdi], 0
je case.0x1800141b4.4
mov dword [rdi + 0x24], 0xe
xor eax, eax
jmp 0x1800149ae
cmp qword [rsi], 0
je 0x180014389
cmp qword [rsi + 0x10], 0
je 0x180014389
cmp qword [rsi + 0x20], 0
jne case.0x1800141b4.4
mov dword [rdi + 0x24], 0xd
xor eax, eax
jmp 0x1800149ae
mov rax, qword [rdi]
cmp dword [rax], 1
jne 0x180014592
test r13, r13
je 0x1800143c2
mov r9d, 0x111
lea rdx, [0x180087e58]
xor r8d, r8d
mov rcx, r13
call fcn.180065b90
jmp 0x1800143cd
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
test rax, rax
je 0x18001457f
mov rax, qword [rsp + 0x78]
lea r8, [rsp + 0x60]
mov r9d, 0x54
mov rdx, rsi
mov eax, dword [rax]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call fcn.18001a830
mov ebx, eax
jmp 0x1800144bb
xor ecx, ecx
xor r15d, r15d
mov qword [rbp - 0x80], rcx
xor r12d, r12d
jmp case.0x1800141b4.4
mov ecx, dword [rdi]
lea eax, [rcx - 1]
cmp eax, 2
ja 0x1800145e0
cmp ecx, 3
jne 0x180014496
mov rsi, qword [r13 + 8]
add r13, 8
cmp byte [rsi], 0x2d
jne 0x180014460
cmp byte [rsi + 1], 0x6e
jne 0x180014460
cmp byte [rsi + 2], 0
jne 0x180014460
xor ecx, ecx
mov dword [rsp + 0x40], ecx
lea eax, [rcx + 3]
jmp 0x18001448d
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [0x1800924c8]
lea rdx, str.U9_hBI3XQLOd87XCy9fwQQ
mov rcx, rax
mov r9, rsi
call fcn.180077230
mov eax, dword [rdi]
mov dword [rbp - 0x70], 1
mov rsi, qword [rsp + 0x68]
dec eax
mov dword [rdi], eax
cmp dword [rbp - 0x70], 0
jne 0x1800145e0
mov rcx, qword [r13 + 8]
mov edx, 1
mov qword [rbp - 0x80], rcx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access]
test eax, eax
jne 0x18001459c
mov r9, qword [rsp + 0x78]
lea r11, str.example
mov r8, qword [rbp - 0x78]
mov rdx, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x50]
mov r10d, dword [rsp + 0x40]
dec r14d
lea eax, [r14 + 0x65]
cmp eax, ecx
ja 0x180014195
mov r13, qword [rbp - 0x80]
lea r11, [0x180087828]
mov r9d, dword [rsp + 0x54]
mov ecx, dword [rbp + 0x468]
mov r14, qword [rbp - 0x68]
mov esi, ecx
imul eax, ecx, 0x2f2
cmp esi, eax
ja case.0x1800141b4.28
cmp esi, 0x7638
ja 0x1800148c4
je 0x18001497f
cmp esi, 0x2f88
ja 0x18001480b
je 0x1800146d9
cmp esi, 0x68
je 0x180014667
cmp esi, 0x75
je case.0x1800141b4.28
cmp esi, 0x17f8
jne 0x180014991
mov dword [rbp - 0x50], 0
mov r14, 0xffffffffffffffff
mov qword [rbp - 0x48], 0
nop word [rax + rax]
inc r14
cmp byte [r14 + r13], 0
jne 0x180014570
jmp 0x180014991
mov rcx, qword [rdi]
mov eax, 1
mov dword [rcx], 6
jmp 0x1800149ae
mov eax, 0xd
jmp 0x1800149ae
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r13, qword [rbp - 0x80]
lea rdx, str.GL_APPLE_texture_2D_limited_npot
mov r8, qword [0x1800924c8]
mov rcx, rax
mov r9, r13
call fcn.180077230
mov ecx, dword [rbp + 0x468]
mov r14, qword [rbp - 0x68]
mov dword [rsp + 0x58], 1
mov esi, 0xa558
jmp 0x180014991
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [0x1800924c8]
lea rdx, str.r_das_angegebene_Ziel_erzeugen
mov rcx, rax
call fcn.180077230
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, rax
lea rcx, str.dsSEMV0ZQpyjW3DE4SS4ZQ
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
mov ecx, dword [rbp + 0x468]
mov esi, 0xa558
mov r14, qword [rbp - 0x68]
mov r13, qword [rbp - 0x80]
mov dword [rsp + 0x58], 1
jmp 0x180014991
mov r13, qword [rsp + 0x68]
movzx r9d, byte [rsp + 0x48]
mov r10d, dword [rsp + 0x60]
mov eax, dword [rsp + 0x60]
mov qword [rbp - 0x80], r13
mov dword [rsp + 0x54], r9d
mov dword [rsp + 0x40], r10d
mov dword [rsp + 0x58], eax
jmp 0x1800144fe
lea rdx, [0x180087ed4]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov r15, rax
test rax, rax
jne 0x1800146d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
lea ecx, [r15 + 2]
mov rdi, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [0x1800924c8]
lea rdx, str.layout_location__2__in_vec3_Normal_
mov rcx, rax
mov qword [rsp + 0x20], rdi
mov r9, r13
call fcn.180077230
mov ecx, dword [rbp + 0x468]
mov esi, 0xa558
mov dword [rsp + 0x58], 1
jmp 0x180014991
mov qword [rbp - 0x58], r13
jmp 0x18001498b
cmp r14, 4
jbe 0x180014751
lea r8, [r14 + r13]
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [r8 + rcx - 3]
inc rcx
cmp al, byte [r11 + rcx - 1]
jne 0x18001470b
cmp rcx, 4
jne 0x1800146f0
mov r9b, 0x2c
jmp 0x18001474c
xor eax, eax
lea r13, [0x18008782c]
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [r8 + rax - 3]
inc rax
movzx ecx, byte [rax + r13 - 1]
sub edx, ecx
jne 0x180014739
cmp rax, 4
jne 0x180014720
mov r13, qword [rbp - 0x80]
test edx, edx
movzx r9d, r9b
mov eax, 9
cmove r9d, eax
mov dword [rsp + 0x54], r9d
mov ecx, 2
movsx edi, r9b
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [0x1800924c8]
lea rdx, str.disable_overlay_scrollbar
mov rcx, rax
mov r9d, edi
call fcn.180077230
mov eax, dword [rsp + 0x54]
lea r8, [rbp - 0x58]
mov byte [rsp + 0x48], al
lea rdx, [rsp + 0x68]
lea rax, [0x180055f90]
mov dword [rsp + 0x30], 0xf7
mov qword [rbp - 0x60], rax
lea rcx, [rbp - 0x60]
lea rax, [0x1800568b0]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x68], rax
xor r9d, r9d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call fcn.1800660a0
mov r12, rax
test rax, rax
jne 0x18001498b
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [0x1800924c8]
lea rdx, str.Rename_stack_of_AliasTag_0:
mov rcx, rax
call fcn.180077230
mov ecx, dword [rbp + 0x468]
mov esi, 0xa558
mov dword [rsp + 0x58], 1
jmp 0x180014991
cmp esi, 0x4718
je 0x1800148af
cmp esi, 0x5ea8
jne 0x180014991
lea r8, [0x180056e10]
mov edx, 6
mov rcx, r12
call fcn.180070bb0
lea r8, [0x180055bc0]
mov edx, 0xb
mov rcx, r12
call fcn.180070bb0
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
test eax, eax
jne 0x1800148a5
nop dword [rax + rax]
mov r9, r15
lea rcx, [rbp - 0x20]
mov edx, 1
mov r8d, 0x400
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
lea r9, [rsp + 0x68]
mov r8d, 0x35
lea rdx, [rbp - 0x20]
mov qword [rsp + 0x68], rax
mov rcx, r12
call fcn.18000caf0
test eax, eax
jne 0x1800148a5
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
test eax, eax
je 0x180014860
mov esi, 0x5ea8
jmp 0x18001498b
mov r8d, r10d
mov edx, 1
mov rcx, r12
call fcn.180070bb0
jmp 0x18001498b
cmp esi, 0xd478
ja 0x180014964
je 0x18001494d
cmp esi, 0x8dc8
je 0x18001490a
cmp esi, 0xa558
je 0x1800145d6
cmp esi, 0xbce8
jne 0x180014991
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x18001498b
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18001498b
xor edx, edx
mov qword [rsp + 0x68], 0
lea r9, [rsp + 0x68]
mov rcx, r12
lea r8d, [rdx + 0x35]
call fcn.18000caf0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, dword [rbp - 0x50]
lea rdx, str._Z10native_sinDv4_f
mov r8, qword [0x1800924c8]
mov rcx, rax
call fcn.180077230
jmp 0x18001498b
test r12, r12
je 0x180014991
mov r8d, 0x84
mov rdx, r12
xor ecx, ecx
call fcn.18006eed0
jmp 0x18001498b
cmp esi, 0xec08
je 0x18001497a
cmp esi, 0x10398
jne 0x180014991
mov eax, dword [rsp + 0x58]
jmp 0x1800149ae
test r15, r15
je 0x180014991
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor r15d, r15d
mov ecx, dword [rbp + 0x468]
mov r9d, dword [rsp + 0x54]
lea r11, [0x180087828]
mov r10d, dword [rsp + 0x40]
imul eax, ecx, 0x3a
add esi, eax
jmp 0x180014504
mov eax, ebx
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.180077c10
add rsp, 0x4f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret