Function at 0x1800105d0
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
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov rax, qword [0x180089b10]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r10, r9
mov qword [rbp - 0x61], r9
mov edi, r8d
mov dword [rbp - 0x71], r8d
mov r13, rdx
mov r15, rcx
movdqa xmm0, xmmword [0x18007f320]
movdqa xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x29], 0
movdqa xmm1, xmm0
movdqa xmmword [rbp + 7], xmm0
mov byte [rbp - 9], 0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
xor esi, esi
mov qword [rbp - 0x31], rsi
mov r12d, r8d
imul eax, r8d, 0x654
mov dword [rbp - 0x49], eax
mov r14, qword [rbp - 0x61]
cmp r8d, eax
ja 0x1800109cc
lea rdx, [0x180060c80]
lea r8, [0x18006f510]
lea rcx, [0x18006f540]
lea rax, [0x180061340]
cmp r12d, 0xe253
ja 0x18001093b
je 0x180010935
cmp r12d, 0x670a
ja 0x18001089d
je 0x180010825
mov eax, r12d
sub eax, 0xf2
je 0x18001076b
sub eax, 0x19
je 0x180010733
cmp eax, 0xd
jne 0x1800109b7
xor r8d, r8d
mov edx, 0x107
mov rcx, r15
call fcn.18002d540
test al, al
je 0x1800108fc
mov ebx, 0x95
mov rdi, qword [rbp - 0x61]
cmp ebx, 0x95
je 0x1800106ed
cmp ebx, 0x4cd4
je case.0x180010a3d.14
jmp 0x18001071d
mov r9d, reloc.SHELL32.dll_SHSetInstanceExplorer
mov r8, r15
xor edx, edx
xor ecx, ecx
call fcn.180036890
test al, al
je 0x180010762
mov qword [rsp + 0x20], rsi
mov r9, qword [rdi]
xor edx, edx
xor ecx, ecx
mov r8d, 0xd1
call fcn.180012f00
mov byte [rbp - 0x79], al
add ebx, 0x4c3f
cmp ebx, 0x987e
jbe 0x1800106d7
mov edi, dword [rbp - 0x71]
jmp 0x1800108fc
mov r8, r15
mov edx, reloc.SHELL32.dll_SHSetFolderPathW
lea rcx, [rbp - 0x29]
call fcn.18000ebe0
test al, al
je 0x180010762
lea r8, [rbp - 0x41]
lea rdx, [rbp - 9]
mov ecx, 0x6d
call fcn.180012660
test al, al
jne 0x1800108fc
mov byte [rbp - 0x79], 0
jmp case.0x180010a3d.14
mov r9, r15
mov edx, 1
lea r8d, [rdx + 3]
lea rcx, [rbp - 0x4d]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rdi, rax
cmp rax, 4
je 0x18001081d
mov ebx, 0x11c
cmp ebx, 0x11c
je 0x1800107a9
cmp ebx, 0x4fe0
je case.0x180010a3d.14
jmp 0x18001080b
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
test eax, eax
je 0x1800107e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
mov dword [rbp - 0x59], ecx
xor edx, edx
lea r8d, [rdx + 0x6b]
lea rcx, [rbp - 0x59]
call fcn.1800390d0
mov r9, rax
lea r8, str.NVPTXISD::Tex3DS32FloatGrad
mov edx, pe_nt_image_headers64
mov rcx, r13
call fcn.18006f620
jmp 0x180010807
mov dword [rsp + 0x20], edi
mov r9d, 4
lea r8, str.null_stats_field_in_GpuService_GetVideoMemoryUsageStats_ResponseParams
mov edx, pe_nt_image_headers64
mov rcx, r13
call fcn.18006f620
mov qword [rbp - 0x79], rsi
add ebx, 0x4ec4
cmp ebx, 0x9d88
jbe 0x180010793
mov edi, dword [rbp - 0x71]
jmp 0x1800108fc
lea rdi, [0x1800885f0]
nop dword [rax]
mov ebx, ILFree
mov eax, ebx
sub eax, 0x97
je 0x180010850
cmp eax, 0x37
jne 0x180010873
cmp dword [rbp - 0x51], 0
je 0x180010873
xor ebx, ebx
jmp 0x180010b3d
lea rax, [rbp - 0x51]
mov qword [rsp + 0x20], rax
mov r9, r13
mov r8d, dword [r10]
mov rdx, r15
mov ecx, dword [rbp - 0x4d]
call qword [rdi]
mov r14, rax
test rax, rax
jne 0x180010890
mov r10, qword [rbp - 0x61]
add ebx, 0x37
cmp ebx, 0x105
jb 0x180010835
inc esi
add rdi, 8
cmp esi, 2
jb 0x180010830
mov edi, dword [rbp - 0x71]
xor esi, esi
jmp 0x1800108fc
mov r12d, 0x1333a
mov edi, dword [rbp - 0x71]
xor esi, esi
jmp 0x1800108fc
cmp r12d, 0x71af
je 0x180010916
cmp r12d, 0x7738
je 0x1800108d6
cmp r12d, 0xcd22
jne 0x1800109b7
lea r8, str.SetGlobalCtkEnabled
mov edx, pe_nt_image_headers64
mov rcx, r13
call fcn.18006f620
mov qword [rbp - 0x79], rsi
jmp 0x1800108fc
mov edx, 0x1d
xor ecx, ecx
call fcn.1800546f0
test al, al
je 0x180010762
mov r8, r15
mov edx, 0xc8
xor ecx, ecx
call fcn.180034800
mov byte [rbp - 0x79], al
lea rcx, [0x18006f540]
lea rdx, [0x180060c80]
lea r8, [0x18006f510]
jmp 0x1800109b7
movzx eax, word [r10]
mov word [rbp - 0x69], ax
lea r9, [rbp - 0x41]
lea r8, [rbp - 0x69]
mov rdx, r13
mov ecx, 0x66
call fcn.180044ab0
jmp 0x1800108fc
mov byte [rbp - 0x79], 1
jmp 0x1800109b7
cmp r12d, 0x19952
ja 0x180010975
je 0x18001096f
cmp r12d, 0xed58
je case.0x180010a3d.14
cmp r12d, 0x1333a
je case.0x180010a3d.14
cmp r12d, 0x152f7
je case.0x180010a3d.14
jmp 0x1800109b7
mov qword [r14 + 0x50], r15
jmp 0x1800109b7
cmp r12d, 0x1ff6a
je 0x1800109b0
cmp r12d, 0x26582
je 0x1800109a0
cmp r12d, 0x2cb9a
jne 0x1800109b7
mov qword [r14 + 0x260], rax
mov qword [r14 + 0x268], rsi
jmp 0x1800109b7
mov qword [r14 + 0x248], rdx
mov qword [r14 + 0x258], r8
jmp 0x1800109b7
mov dword [r14 + 0x58], esi
mov qword [r14], rcx
imul eax, edi, 0x6c
add r12d, eax
cmp r12d, dword [rbp - 0x49]
ja 0x1800109cc
mov r10, qword [rbp - 0x61]
jmp 0x180010669
lea r8d, [rdi + 0x78]
cmp edi, r8d
jae case.0x180010a3d.14
lea edx, [rdi - 0xf2]
lea r9, [0x180000000]
lea r10, [0x180060c40]
lea r11, [0x180061a50]
lea rbx, [0x180060c70]
lea rdi, [0x180061a70]
lea rsi, [0x18006f570]
lea r15, [0x180061680]
lea r12, [0x180060da0]
lea r13, [0x180061300]
nop
cmp edx, 0x70
ja case.0x180010a3d.15
movzx eax, byte [r9 + rdx + 0x10c28]
mov ecx, dword [r9 + rax*4 + 0x10be8]
add rcx, r9
jmp rcx
lea rax, [0x180061a90]
mov qword [r14 + 0x280], rax
lea rax, [0x180061aa0]
mov qword [r14 + 0x290], rax
jmp case.0x180010a3d.15
mov qword [r14 + 0x2e8], r10
jmp case.0x180010a3d.15
mov qword [r14 + 0x278], r11
jmp case.0x180010a3d.15
lea rax, [0x180060ca0]
mov qword [r14 + 0x2d8], rax
lea rax, [0x180060cd0]
mov qword [r14 + 0x2e0], rax
jmp case.0x180010a3d.15
lea rax, [0x1800615a0]
mov qword [r14 + 0x2a8], rax
lea rax, [0x180060c50]
mov qword [r14 + 0x2b0], rax
jmp case.0x180010a3d.15
mov qword [r14 + 0x270], rbx
jmp case.0x180010a3d.15
mov qword [r14 + 0x2d0], rdi
jmp case.0x180010a3d.15
lea rax, [0x180060cf0]
mov qword [r14 + 0x2b8], rax
lea rax, [0x180060d70]
mov qword [r14 + 0x2c0], rax
jmp case.0x180010a3d.15
mov qword [r14 + 0x288], rsi
jmp case.0x180010a3d.15
mov dword [r14 + 0xe4], 0
mov dword [r14 + 0x84], 1
jmp case.0x180010a3d.15
mov qword [r14 + 0x2a0], r15
jmp case.0x180010a3d.15
mov qword [rbp - 0x79], r14
jmp case.0x180010a3d.15
mov qword [r14 + 0x2c8], r12
jmp case.0x180010a3d.15
mov qword [r14 + 0x298], r13
add edx, 8
lea eax, [rdx + 0xf2]
cmp eax, r8d
jb 0x180010a20
mov rbx, qword [rbp - 0x79]
mov rdi, qword [rbp - 0x41]
test rdi, rdi
je 0x180010bb2
mov rsi, qword [rbp - 0x39]
cmp rdi, rsi
je 0x180010b67
nop
xor edx, edx
mov rcx, rdi
call fcn.180003760
add rdi, 0x20
cmp rdi, rsi
jne 0x180010b50
mov rdi, qword [rbp - 0x41]
mov rdx, qword [rbp - 0x31]
sub rdx, rdi
and rdx, 0xffffffffffffffe0
mov rax, rdi
cmp rdx, 0x1000
jb 0x180010b9a
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180010b9a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.18006f72c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], 0
lea rcx, [rbp - 0x29]
call fcn.180002ee0
mov rax, rbx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.18006fee0
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret