Function at 0x180026340
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbx, qword [rsp + 0x80]
lea r14d, [rdx + 7]
mov dword [rsp + 0x20], r14d
mov r15d, edx
mov r13, rcx
cmp edx, r14d
jae 0x180026456
mov rsi, qword [rsp + 0x80]
lea r12d, [rdx - 0xde]
mov ebp, dword [rsp + 0x78]
lea rdx, [0x180000000]
nop
cmp r12d, 0xb
ja case.0x1800263a5.2
mov ecx, dword [rdx + r12*4 + 0x265e4]
add rcx, rdx
jmp rcx
test r13, r13
je 0x1800265aa
mov edx, 4
lea rcx, [rsp + 0x80]
mov r9, r13
lea r8d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
test rax, rax
je 0x1800265aa
mov r8d, 3
lea rdx, [0x18007b56c]
lea rcx, [rsp + 0x80]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x1800265aa
cmp byte [rsp + 0x83], 1
jne 0x1800265aa
mov r9, r13
lea edx, [rax + 0x68]
lea r8d, [rax + 1]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
test rax, rax
je 0x1800265aa
mov eax, dword [rsi + 8]
mov dword [rsp + 0x78], eax
mov eax, dword [rsi + 0xc]
mov dword [rsp + 0x88], eax
mov ebp, dword [rsp + 0x78]
nop word [rax + rax]
lea rdx, [0x180000000]
inc r15d
inc r12d
cmp r15d, r14d
jb 0x180026390
mov rax, rbx
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movsxd rdi, ebp
lea rcx, [rdi*8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsi + 0x30], rax
test rax, rax
je 0x1800265aa
lea rdi, [rdi*4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsi + 0x38], rax
test rax, rax
je 0x1800265a0
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsi + 0x40], rax
test rax, rax
jne 0x180026440
mov edi, 0x122
mov eax, edi
sub eax, 0x121
je 0x180026456
cmp eax, 1
jne 0x1800264ee
mov rcx, qword [rsi + 0x38]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsi + 0x30]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor ebx, ebx
dec edi
cmp edi, 0x120
ja 0x1800264c1
jmp 0x180026440
mov edx, 0x4d
mov rcx, rsi
call fcn.180010640
mov rsi, rax
test rax, rax
je 0x1800265b3
movsxd rbp, dword [rsp + 0x78]
xor edi, edi
test rbp, rbp
jle 0x18002655c
movsxd r14, dword [rsp + 0x88]
shl r14, 2
nop
mov rcx, qword [rsi + 0x30]
mov r9, r13
mov r8d, 1
mov rdx, r14
mov rcx, qword [rcx + rdi*8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
test rax, rax
je 0x1800265ba
inc rdi
cmp rdi, rbp
jl 0x180026530
mov r14d, dword [rsp + 0x20]
mov edx, 0xd9
mov rcx, rsi
call fcn.18000e020
jmp 0x180026431
mov ecx, 0x68
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1800265b3
jmp 0x180026440
movups xmm0, xmmword [r13]
xorps xmm0, xmmword [0x180082cc0]
movups xmmword [r13], xmm0
jmp case.0x1800263a5.2
mov rcx, qword [rsi + 0x30]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
jmp 0x180026459
xor r9d, r9d
mov r8, rsi
xor ecx, ecx
lea edx, [r9 + 0x7b]
call fcn.18003ba00
xor eax, eax
jmp 0x180026459
mov rax, rsi
jmp 0x180026459
mov rax, r13
jmp 0x180026459