Function at 0x1800089c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x100a0
call fcn.18005d050
sub rsp, rax
mov rax, qword [0x18006af78]
xor rax, rsp
mov qword [rsp + 0x10090], rax
mov ebp, r8d
mov dword [rsp + 0x3c], r8d
mov r8, qword [rsp + 0x10100]
mov r14, rcx
mov qword [rsp + 0x60], r9
mov qword [rsp + 0x58], rdx
lea eax, [rbp + 0xe]
mov qword [rsp + 0x40], r8
mov dword [rsp + 0x38], eax
mov ebx, dword [rsp + 0x38]
cmp ebp, eax
jae case.0x180008a64.208
mov r12, qword [rsp + 0x40]
mov r13, qword [rsp + 0x40]
mov r15, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x30]
xor edi, edi
lea eax, [rbp - 0xc7]
lea r10, [0x180000000]
cmp eax, 0x1f
ja case.0x180008a64.212
movzx eax, byte [r10 + rax + 0x8e10]
mov ecx, dword [r10 + rax*4 + 0x8dd8]
add rcx, r10
jmp rcx
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdx, r13
lea rcx, str.IV__MM_CVTTPD_EPI32
call fcn.18005ca40
jmp case.0x180008a64.212
cmp byte [0x18006b0d1], 0
je case.0x180008a64.212
call qword [0x18006b0c8]
mov byte [0x18006b0d1], 0
jmp case.0x180008a64.212
mov r15d, 1
jmp case.0x180008a64.212
mov edx, dword [r9]
test edx, edx
js 0x180008ac2
inc edx
lea rcx, str.DX11ResourceNV12_AllocateResources
call fcn.18005ca40
lea rdx, [0x1800608f4]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov r12, rax
jmp case.0x180008a64.212
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x180008dd0
cmp dword [rcx], 0x11
jne 0x180008da6
mov ebp, 0x78
nop word [rax + rax]
mov eax, ebp
sub eax, 0x78
je 0x180008c27
cmp eax, 0x4f
jne 0x180008c7b
test rcx, rcx
je 0x180008dd0
mov eax, dword [rcx]
sub eax, 0xb
test eax, 0xfffffffb
je 0x180008c7b
mov esi, 0x63
mov eax, esi
sub eax, 0x63
je 0x180008b6f
cmp eax, 1
jne 0x180008c15
mov eax, ebx
mov rcx, qword [rsp + 0x10090]
xor rcx, rsp
call fcn.18005d0c0
mov rbx, qword [rsp + 0x100f0]
add rsp, 0x100a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, [r14 + 0x178]
mov rax, qword [rdx]
cmp qword [r14 + 0x180], rax
jne 0x180008bd2
mov qword [rsp + 0x20], rdx
lea rcx, [r14 + 0x170]
xor edx, edx
lea r8, [r14 + 0x180]
mov r9d, 0x6b
call fcn.180051b80
test eax, eax
jne 0x180008bd2
mov dword [r14], 1
mov eax, 0xba
cmp eax, 0xba
je 0x180008bc2
cmp eax, 0x8c3a
je case.0x180008a64.208
jmp 0x180008bc4
xor ebx, ebx
add eax, 0x8b80
cmp eax, 0x11700
jbe 0x180008bb2
jmp 0x180008be7
mov rax, qword [r14 + 0x180]
mov dword [rax], reloc.SHELL32.dll_ILClone
add qword [r14 + 0x180], 4
mov r8, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
xor edi, edi
mov qword [rsp + 0x20], rax
mov r9d, 0xf8
mov dword [rsp + 0x50], edi
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x48], edi
mov rcx, r14
call fcn.180051b80
mov ebx, eax
inc esi
cmp esi, 0x65
jb 0x180008b32
mov rcx, qword [rsp + 0x30]
jmp 0x180008c7b
mov rcx, qword [r14 + 0x118]
mov eax, edi
inc qword [r14 + 0x128]
mov r8, r14
mov dword [r14 + 0x130], edi
cmp dword [rcx], 2
sete al
xor r9d, r9d
mov dword [r14 + 0xfc], eax
xor edx, edx
lea rax, [rcx + 0x50]
mov ecx, 0xee
mov qword [r14 + 0x118], rax
call fcn.180053810
mov rcx, rdi
test eax, eax
je 0x180008c76
mov rcx, qword [r14 + 0x118]
mov qword [rsp + 0x30], rcx
add ebp, 0x4f
cmp ebp, 0x116
jb 0x180008b00
mov rsi, qword [rsp + 0x30]
mov ebp, dword [rsp + 0x3c]
jmp case.0x180008a64.212
mov ebx, edi
jmp case.0x180008a64.212
cmp dword [r14 + 0x130], 0
jne 0x180008ccc
xor r9d, r9d
mov r8, r14
xor edx, edx
mov ecx, 0xee
call fcn.180053810
test eax, eax
jne 0x180008ccc
mov rsi, rdi
mov qword [rsp + 0x30], rdi
jmp case.0x180008a64.212
mov rsi, qword [r14 + 0x118]
mov qword [rsp + 0x30], rsi
jmp case.0x180008a64.212
mov r13, rdi
jmp case.0x180008a64.212
mov dword [r14 + 0x188], reloc.SHELL32.dll_ILClone
mov r9, rdx
movups xmm0, xmmword [rsi + 0x20]
lea rdx, [rsp + 0x70]
mov r8, r14
movsd xmm1, qword [rsi + 0x30]
mov ecx, 0x33
movaps xmmword [rsp + 0x70], xmm0
movsd qword [rsp + 0x80], xmm1
call fcn.180053810
mov ebx, eax
jmp case.0x180008a64.212
mov r8, qword [r8]
lea rcx, str._UnnamedClass_0x02f64fe7_120_
call fcn.18005ca40
jmp case.0x180008a64.212
test r15, r15
je case.0x180008a64.212
nop dword [rax]
mov edi, 0x95
mov eax, edi
sub eax, 0x95
je 0x180008d76
sub eax, 1
je 0x180008d6f
cmp eax, 2
jne 0x180008d95
mov rcx, r12
add r13, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
test eax, eax
je 0x180008d95
mov ebp, 0xd9
jmp case.0x180008a64.212
test r15, r15
je case.0x180008a64.204
jmp 0x180008d95
mov r9, r12
lea rcx, [rsp + 0x90]
mov edx, 1
mov r8d, 0x10000
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r15, rax
inc edi
cmp edi, 0x99
jb 0x180008d45
test r15, r15
jne 0x180008d40
jmp case.0x180008a64.212
mov rsi, rcx
inc ebp
mov dword [rsp + 0x3c], ebp
cmp ebp, dword [rsp + 0x38]
jae case.0x180008a64.208
mov rdx, qword [rsp + 0x58]
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x40]
jmp 0x180008a38
mov eax, edi
jmp 0x180008b44