Function at 0x14002436c
Capabilities:
Delete file
Get file size
Read file on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rbx, r8
mov rdi, rdx
mov r15, rcx
mov rcx, qword [rcx + 0xa0]
xor r13d, r13d
test rcx, rcx
je 0x1400243c1
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.1400e825c
nop
mov rbx, qword [rsp + 0x60]
test rbx, rbx
jne 0x1400243e4
mov r12b, r13b
jmp 0x140024842
mov dword [rsp + 0x40], r13d
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140024c20
nop
mov r12d, 1
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x14002443b
mov ecx, dword [rsp + 0x40]
cmp ecx, 2
jb 0x140024430
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
or r9d, 0xffffffff
mov r8, r14
xor edx, edx
call qword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
sub eax, r12d
cdqe
jmp 0x14002443e
mov rcx, r14
call qword [sym.imp.msvcrt.dll_strlen]
jmp 0x14002443e
mov rax, r13
lea rsi, [rax + 1]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
lea r9, [rsp + 0x38]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetFileTime]
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x34], eax
movabs rax, 0xd6bf94d5e57a42bd
mul qword [rsp + 0x30]
mov rdi, rdx
shr rdi, 0x17
movabs rax, 0x2b6109100
sub rdi, rax
mov byte [rbp - 0x60], r13b
xor eax, eax
mov dword [rbp - 0x5f], eax
mov byte [rbp - 0x5b], al
xor edx, edx
lea r8d, [rax + 0x68]
lea rcx, [rbp - 0x5a]
call sub.msvcrt.dll_memset
movsxd r8, dword [r15 + 0xc0]
mov rdx, qword [r15 + 0xb0]
lea rcx, [rbp - 0x60]
call qword [sym.imp.msvcrt.dll_memcpy]
mov rbx, qword [rsp + 0x50]
mov r8d, ebx
lea rdx, str._8.8lx
lea rcx, [rbp + 0x10]
call qword [sym.imp.msvcrt.dll_sprintf]
mov r13d, 8
mov r8d, r13d
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x2a]
call qword [sym.imp.msvcrt.dll_memcpy]
mov r8d, esi
lea rdx, str._8.8lx
lea rcx, [rbp + 0x10]
call qword [sym.imp.msvcrt.dll_sprintf]
mov r8d, r13d
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 2]
call qword [sym.imp.msvcrt.dll_memcpy]
mov r8d, edi
lea rdx, str._8.8lx
lea rcx, [rbp + 0x10]
call qword [sym.imp.msvcrt.dll_sprintf]
mov r8d, r13d
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x32]
call qword [sym.imp.msvcrt.dll_memcpy]
mov r8d, 0x81ed
lea rdx, str._8.8lx
lea rcx, [rbp + 0x10]
call qword [sym.imp.msvcrt.dll_sprintf]
mov r8d, r13d
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x52]
call qword [sym.imp.msvcrt.dll_memcpy]
mov edi, 0x1f4
mov r8d, edi
lea rdx, str._8.8lx
lea rcx, [rbp + 0x10]
call qword [sym.imp.msvcrt.dll_sprintf]
mov r8d, r13d
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x4a]
call qword [sym.imp.msvcrt.dll_memcpy]
mov r8d, edi
lea rdi, str._8.8lx
mov rdx, rdi
lea rcx, [rbp + 0x10]
call qword [sym.imp.msvcrt.dll_sprintf]
mov r8d, r13d
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x42]
call qword [sym.imp.msvcrt.dll_memcpy]
mov r8d, r12d
mov rdx, rdi
lea rcx, [rbp + 0x10]
call qword [sym.imp.msvcrt.dll_sprintf]
mov r8d, r13d
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x5a]
call qword [sym.imp.msvcrt.dll_memcpy]
mov r8d, r12d
mov rdx, rdi
lea rcx, [rbp + 0x10]
call qword [sym.imp.msvcrt.dll_sprintf]
mov r8d, r13d
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x3a]
call qword [sym.imp.msvcrt.dll_memcpy]
mov r8d, r12d
mov rdx, rdi
lea rcx, [rbp + 0x10]
call qword [sym.imp.msvcrt.dll_sprintf]
mov r8d, r13d
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x22]
call qword [sym.imp.msvcrt.dll_memcpy]
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 0x10]
call qword [sym.imp.msvcrt.dll_sprintf]
mov r8d, r13d
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x1a]
call qword [sym.imp.msvcrt.dll_memcpy]
mov r8d, r12d
mov rdx, rdi
lea rcx, [rbp + 0x10]
call qword [sym.imp.msvcrt.dll_sprintf]
mov r8d, r13d
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x12]
call qword [sym.imp.msvcrt.dll_memcpy]
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 0x10]
call qword [sym.imp.msvcrt.dll_sprintf]
mov r8d, r13d
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0xa]
call qword [sym.imp.msvcrt.dll_memcpy]
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 0x10]
call qword [sym.imp.msvcrt.dll_sprintf]
mov r8d, r13d
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 6]
call qword [sym.imp.msvcrt.dll_memcpy]
lea rdi, [r15 + 0xd8]
mov rax, qword [rdi]
lea r8d, [r13 + 0x66]
lea rdx, [rbp - 0x60]
mov rcx, rdi
call qword [rax + 0x20]
lea rdx, [0x14010ea73]
test r14, r14
cmovne rdx, r14
mov rax, qword [rdi]
mov r8, rsi
mov rcx, rdi
call qword [rax + 0x20]
add rsi, 0x6e
mov r13d, 4
and esi, 3
je 0x140024709
mov r8d, r13d
sub r8, rsi
mov byte [rsp + 0x30], 0
xor eax, eax
mov word [rsp + 0x31], ax
mov byte [rsp + 0x33], al
mov rax, qword [rdi]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [rax + 0x20]
mov edx, 0x80000
lea rcx, [rsp + 0x70]
call fcn.140024ca0
nop
mov rsi, rbx
test rbx, rbx
je 0x1400247ed
mov eax, 0x80000
mov r8d, eax
cmp rsi, rax
cmovb r8d, esi
and dword [rsp + 0x30], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x1400247ed
mov ecx, dword [rsp + 0x30]
test ecx, ecx
je 0x1400247ed
mov rax, qword [rdi]
mov r8d, ecx
mov rdx, qword [rbp - 0x70]
mov rcx, rdi
call qword [rax + 0x20]
mov eax, dword [rsp + 0x30]
sub rsi, rax
mov rcx, qword [r15 + 0xa0]
test rcx, rcx
je 0x1400247bb
mov rax, qword [rcx]
mov rdx, rbx
sub rdx, rsi
mov r8, rbx
call qword [rax + 0x28]
mov rcx, qword [r15 + 0xa0]
mov rax, qword [rcx]
mov edx, dword [rsp + 0x30]
call qword [rax + 0x40]
mov rcx, qword [r15 + 0xa0]
mov rax, qword [rcx]
call qword [rax + 0x48]
test al, al
jne 0x1400247c3
test rsi, rsi
jmp 0x14002471f
xor r12b, r12b
test rsi, rsi
je 0x1400247ed
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [0x14012da68]
cmp qword [r15 + 0x10], 0
cmovne rcx, qword [r15 + 0x10]
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x140024817
and ebx, 3
je 0x140024817
sub r13, rbx
mov byte [rsp + 0x30], 0
xor eax, eax
mov word [rsp + 0x31], ax
mov byte [rsp + 0x33], al
mov rax, qword [rdi]
mov r8, r13
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [rax + 0x20]
nop
lea rax, vtable.micro::utils::QBaseArray.0
mov qword [rsp + 0x70], rax
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140024833
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop
test r14, r14
je 0x140024842
mov rcx, r14
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop
lea rax, vtable.micro::files::QFile.0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x58]
call fcn.1400e8500
mov al, r12b
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140001010
mov rbx, qword [rsp + 0x1b8]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret