Function at 0x1401d1c00
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor ebp, ebp
mov rdi, r9
mov rsi, r8
mov r14d, edx
mov r15, rcx
mov dword [r8], ebp
cmp byte [rsp + 0x90], bpl
jne 0x1401d1e01
cmp byte [rcx + 0x19], 2
je 0x1401d1e01
mov dword [rax + 0x28], edx
mov ecx, 0x400000
lea edx, [rbp + 1]
mov r12d, ebp
mov r13b, 4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov r14, rax
test rax, rax
je 0x1401d1cad
cmp byte [r15 + 0x19], 2
jne 0x1401d1cb5
mov ecx, dword [rsi]
mov eax, dword [rsp + 0x90]
mov dword [rcx + r14], eax
add dword [rsi], 4
mov eax, dword [rsi]
test eax, eax
je 0x1401d1c9f
mov ecx, eax
mov edx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov r8d, dword [rsi]
mov rdx, r14
mov rcx, rax
mov rbp, rax
call sub.VCRUNTIME140.dll_memcpy
test r14, r14
je 0x1401d1cad
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, rbp
jmp 0x1401d1ea4
cmp byte [0x1411dd01b], bpl
je 0x1401d1cd6
test r12b, r12b
je 0x1401d1cc8
test r12d, r12d
jne 0x1401d1cd6
call qword [sym.imp.Qt5Core.dll_public:_static_class_QCoreApplication____ptr64___cdecl_QCoreApplication::instance_void_]
mov ecx, ebp
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QCoreApplication::processEvents_class_QFlags_enum_QEventLoop::ProcessEventsFlag__]
mov edx, dword [rsp + 0x90]
inc r12d
lea eax, [rdx - 2]
cmp eax, 0xfffffffc
ja 0x1401d1c7b
cmp edx, dword [r15 + 0x2a4]
ja 0x1401d1c7b
mov eax, dword [rsi]
mov ecx, eax
test eax, eax
je 0x1401d1d3d
mov edi, ebp
mov ebx, ebp
nop dword [rax]
cmp byte [0x1411dd01b], bpl
je 0x1401d1d26
test bl, bl
je 0x1401d1d11
test ebx, ebx
jne 0x1401d1d26
call qword [sym.imp.Qt5Core.dll_public:_static_class_QCoreApplication____ptr64___cdecl_QCoreApplication::instance_void_]
mov ecx, ebp
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QCoreApplication::processEvents_class_QFlags_enum_QEventLoop::ProcessEventsFlag__]
mov edx, dword [rsp + 0x90]
mov eax, edi
inc ebx
add edi, 4
cmp dword [rax + r14], edx
je 0x1401d1c7b
mov ecx, dword [rsi]
cmp edi, ecx
jb 0x1401d1d00
movzx eax, r13b
shl eax, 0x14
cmp ecx, eax
jae 0x1401d1d50
mov eax, ecx
mov dword [rax + r14], edx
jmp 0x1401d1d90
add r13b, 2
mov edx, 1
movzx ecx, r13b
shl rcx, 0x14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov r8d, dword [rsi]
mov rdx, r14
mov rcx, rax
mov rbx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [rsi]
mov r14, rbx
mov eax, dword [rsp + 0x90]
mov dword [rcx + rbx], eax
add dword [rsi], 4
mov ecx, dword [r15 + 0x2a0]
imul ecx, dword [r15 + 0x10]
mov edx, dword [rsp + 0x90]
shl ecx, 9
lea eax, [rdx*4]
cmp eax, ecx
jae 0x1401d1c7b
mov rcx, qword [r15 + 0x60]
lea r8, [rsp + 0x34]
mov eax, edx
xor r9d, r9d
shl rax, 2
mov edx, eax
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rcx, qword [r15 + 0x60]
lea r9, [rsp + 0x80]
mov r8d, 4
mov qword [rsp + 0x20], rbp
lea rdx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x1401d1cb5
mov ecx, dword [rcx + 0x10]
mov rax, rdi
shl ecx, 9
cqo
idiv rcx
test rdx, rdx
lea ecx, [rax + 1]
cmove ecx, eax
xor edx, edx
mov eax, ecx
div dword [r15 + 0x2b0]
test edx, edx
lea ecx, [rax + 1]
cmove ecx, eax
test ecx, ecx
je 0x1401d1ea2
mov edx, 4
mov r13d, ecx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov r12, rax
test rax, rax
je 0x1401d1ea2
mov ebx, ebp
test rdi, rdi
jle 0x1401d1e9d
lea r13, [r13*4]
cmp byte [0x1411dd01b], bpl
je 0x1401d1e73
test bl, bl
je 0x1401d1e65
test ebx, ebx
jne 0x1401d1e73
call qword [sym.imp.Qt5Core.dll_public:_static_class_QCoreApplication____ptr64___cdecl_QCoreApplication::instance_void_]
mov ecx, ebp
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QCoreApplication::processEvents_class_QFlags_enum_QEventLoop::ProcessEventsFlag__]
mov eax, dword [rsi]
cmp rax, r13
jae 0x1401d1e9d
mov dword [rax + r12], r14d
inc ebx
add dword [rsi], 4
inc r14d
mov eax, dword [r15 + 0x10]
imul eax, dword [r15 + 0x2b0]
shl eax, 9
sub rdi, rax
test rdi, rdi
jg 0x1401d1e54
mov rax, r12
jmp 0x1401d1ea4
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret