Function at 0x18007eeb0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], r9
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov edi, dword [rsp + 0xa0]
mov r14, rcx
mov rax, r9
mov r13, rdx
lea ecx, [rdi + 0xbd]
mov dword [rsp + 0xa0], ecx
mov ebx, dword [rsp + 0xa0]
cmp edi, ecx
jae 0x18007f0ec
mov rbp, qword [rsp + 0x40]
mov r12, qword [rsp + 0x40]
mov r15d, dword [rsp + 0xa0]
mov rsi, qword [rsp + 0x40]
cmp edi, 0xdf
ja 0x18007efb2
je 0x18007efa1
cmp edi, 0x19
je 0x18007ef65
cmp edi, 0x24
je 0x18007f10c
cmp edi, 0x2e
je 0x18007f0ec
cmp edi, 0x32
jne 0x18007f0e1
movsxd rdx, dword [rax]
lea rcx, [0x1800cf480]
mov rax, qword [0x1800dd4e8]
mov rdx, qword [rax + rdx*8]
mov rdx, qword [rdx + 8]
call fcn.1800c03a0
jmp 0x18007f0d2
mov rcx, r13
mov dword [rsp + 0x30], 0
call qword [r14 + 0x120]
xor edx, edx
lea r9, [rsp + 0x30]
div dword [r14 + 0x60]
mov r8d, 0x77
mov rcx, r14
mov dword [rsp + 0x38], edx
lea rdx, [rsp + 0x38]
call fcn.1800b2760
mov rbx, rax
jmp 0x18007f0d2
mov rax, qword [r14]
mov ebp, dword [rax + 0x30]
inc ebp
imul ebp, dword [rax + 0x28]
jmp 0x18007f0d2
mov eax, edi
sub eax, 0xf4
je 0x18007f0aa
sub eax, 0x15
je 0x18007f011
sub eax, 0x15
je 0x18007efe3
cmp eax, 0x15
jne 0x18007f0d9
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, r15d
jmp 0x18007f0ee
mov rcx, qword [r14]
mov edx, dword [rcx + 0x28]
mov r8d, dword [rcx + 0x30]
mov rcx, qword [rcx + 0x38]
imul r8d, edx
add rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [rsp + 0xa0]
xor r15d, r15d
mov edi, 0x11e
jmp 0x18007f0d9
cmp r12, 0xffffffffffffffff
jne 0x18007f031
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rsp + 0xa0]
mov edi, 0x11e
mov r15d, dword [rax]
jmp 0x18007f0d9
cmp r12, rbp
je 0x18007f046
mov r15d, 0x7f2bb724
mov edi, 0x11e
jmp 0x18007f0d9
mov rax, qword [r14]
mov edx, 8
mov rcx, qword [rax + 0x20]
mov rax, rsi
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x18007f055
jmp 0x18007f0d2
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x18007f188
mov ecx, dword [r13]
mov r8d, ebp
mov rdx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
movsxd r12, eax
mov ecx, dword [rsp + 0xa0]
mov rax, qword [rsp + 0x98]
add edi, 0x15
cmp edi, ecx
jb 0x18007ef14
mov eax, ebx
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rcx, qword [r14]
mov rax, qword [rcx + 0x20]
test byte [rax + 0x64], 0x10
je 0x18007f17e
mov eax, dword [r13]
lea r8, [rsp + 0xa0]
mov qword [rsp + 0x30], rcx
mov r9d, 0x4c
lea rcx, [rsp + 0x30]
mov dword [rsp + 0xa0], eax
xor edx, edx
mov qword [rsp + 0x20], 0
call fcn.180056fc0
mov ecx, dword [r13]
lea r8, [rsp + 0x38]
mov dword [rsp + 0x38], ecx
mov edx, 0x8d
mov rcx, qword [r14]
mov ebx, eax
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x40]
call fcn.1800b42e0
cmp bx, ax
je 0x18007f17e
xor eax, eax
jmp 0x18007f0ee
mov eax, 1
jmp 0x18007f0ee
mov eax, 0xc
jmp 0x18007f0ee