Function at 0x14002aec4
Capabilities:
Delete file
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rbp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rsi, r8
mov qword [rsp + 0x70], r8
mov r13, rcx
mov qword [rsp + 0x30], rcx
lea r14, vtable.micro::utils::QString.0
mov qword [rbp - 0x60], r14
xor ebx, ebx
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rbx
mov dword [rbp - 0x20], ebx
mov qword [rbp - 0x18], rbx
mov qword [rbp + 8], rbx
mov qword [rbp + 0x10], rbx
lea rcx, [rsp + 0x38]
call fcn.1400ea694
nop
lea rcx, [r13 + 0x48]
cmp qword [rcx + 8], rbx
jne 0x14002af5a
mov dil, bl
jmp 0x14002af6b
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x38]
call fcn.1400e9958
mov dil, al
mov qword [rsp + 0x38], r14
lea rcx, [rsp + 0x38]
call fcn.1400e712c
test dil, dil
je 0x14002b2e5
mov dword [rbp + 0x50], ebx
xor eax, eax
mov qword [rbp + 0x54], rax
mov qword [rbp + 0x5c], rax
mov qword [rbp + 0x64], rax
mov word [rbp + 0x6c], ax
lea r15, [r13 + 0x20]
mov rax, qword [r15]
xor r8d, r8d
mov rdx, qword [rbp - 0x28]
mov rcx, r15
call qword [rax + 0x30]
test al, al
je 0x14002b2e5
mov rax, qword [r15]
mov r8d, 0x1e
lea rdx, [rbp + 0x50]
mov rcx, r15
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
cmp rax, 0x1e
jne 0x14002b2e5
lea rdx, [0x14012da68]
cmp qword [rsi + 8], rbx
cmovne rdx, qword [rsi + 8]
mov r8d, 0x1000
lea rcx, [rsp + 0x78]
call fcn.1400e825c
nop
cmp qword [rbp - 0x80], rbx
je 0x14002b009
mov rcx, qword [rbp - 0x40]
mov esi, 1
test rcx, rcx
jne 0x14002b011
mov bl, sil
mov sil, bl
jmp 0x14002b2cd
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], rsi
mov r12, rbx
mov qword [rbp + 0x40], rbx
lea rax, vtable.micro::utils::QBuffer.0
mov qword [rbp + 0x20], rax
mov qword [rsp + 0x50], rbx
mov r14, rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
mov rdi, rbx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x48], rax
movzx eax, word [rbp + 0x58]
test ax, ax
jne 0x14002b0e4
mov r14, rcx
test rcx, rcx
je 0x14002b08c
call qword [sym.imp.msvcrt.dll_void____ptr64___cdecl_operator_new___unsigned_long_long_unsigned___int64__]
mov rdi, rax
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.msvcrt.dll_memmove]
xor ecx, ecx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
test rdi, rdi
je 0x14002b2a6
movzx ecx, word [rbp + 0x6a]
movzx edx, word [rbp + 0x6c]
add rcx, qword [rbp - 0x28]
add rdx, 0x1e
add rdx, rcx
movsxd rax, r14d
mov qword [rsp + 0x30], rax
mov rax, qword [r15]
xor r8d, r8d
mov rcx, r15
call qword [rax + 0x30]
test al, al
je 0x14002b2a6
mov rax, qword [r15]
mov r8, qword [rsp + 0x30]
mov rdx, rdi
mov rcx, r15
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
cmp rax, qword [rsp + 0x30]
jmp 0x14002b1e3
cmp ax, 8
jne 0x14002b1ef
mov r13, qword [rbp - 0x38]
test r13, r13
je 0x14002b125
mov rcx, r13
call qword [sym.imp.msvcrt.dll_void____ptr64___cdecl_operator_new___unsigned_long_long_unsigned___int64__]
mov r12, rax
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.msvcrt.dll_memmove]
xor ecx, ecx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x28], r13
mov rcx, qword [rbp - 0x40]
mov qword [rbp + 0x30], r13
mov r14, rcx
test rcx, rcx
je 0x14002b15a
call qword [sym.imp.msvcrt.dll_void____ptr64___cdecl_operator_new___unsigned_long_long_unsigned___int64__]
mov rdi, rax
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.msvcrt.dll_memmove]
xor ecx, ecx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
test r12, r12
je 0x14002b2a6
test rdi, rdi
je 0x14002b2a6
movzx ecx, word [rbp + 0x6a]
movzx edx, word [rbp + 0x6c]
add rcx, qword [rbp - 0x28]
add rdx, 0x1e
add rdx, rcx
movsxd r13, r13d
mov qword [rbp - 0x70], r13
mov rax, qword [r15]
xor r8d, r8d
mov rcx, r15
call qword [rax + 0x30]
test al, al
je 0x14002b2a6
mov rax, qword [r15]
mov r8, r13
mov rdx, r12
mov rcx, r15
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
cmp rax, r13
jne 0x14002b2a6
mov qword [rsp + 0x38], rbx
mov r13, qword [rsp + 0x30]
lea rcx, [r13 + 0xa8]
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9, r12
lea r8, [rsp + 0x38]
mov rdx, rdi
call fcn.1400295d4
test eax, eax
jne 0x14002b2a6
movzx eax, word [rbp + 0x58]
jmp 0x14002b203
cmp ax, 0xc
je 0x14002b2a6
cmp ax, 0xe
je 0x14002b2a6
cmp ax, 0x61
je 0x14002b2a6
cmp ax, 0x62
je 0x14002b2a6
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x30]
mov r8d, r14d
mov rdx, rdi
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.DLL_WriteFile]
movsxd rdx, r14d
mov eax, dword [rsp + 0x30]
cmp rax, rdx
je 0x14002b26b
lea rcx, [rsp + 0x78]
call fcn.1400e8500
mov rcx, qword [rsp + 0x70]
cmp qword [rcx + 8], rbx
lea rax, [0x14012da68]
cmovne rax, qword [rcx + 8]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x14002b2a6
mov rcx, qword [r13 + 0xa0]
test rcx, rcx
je 0x14002b2a9
mov rax, qword [rcx]
mov rdx, qword [rbp - 0x40]
mov r8, rdx
call qword [rax + 0x28]
mov rcx, qword [r13 + 0xa0]
mov rax, qword [rcx]
mov rdx, qword [rbp - 0x40]
call qword [rax + 0x40]
mov rcx, qword [r13 + 0xa0]
mov rax, qword [rcx]
call qword [rax + 0x48]
test al, al
je 0x14002b2a9
mov sil, bl
test rdi, rdi
je 0x14002b2b8
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop
test r12, r12
je 0x14002b2c6
mov rcx, r12
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
lea r14, vtable.micro::utils::QString.0
lea rax, vtable.micro::files::QFile.0
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x78]
call fcn.1400e8500
jmp 0x14002b2e8
mov sil, bl
mov qword [rbp - 0x50], r14
lea rcx, [rbp - 0x50]
call fcn.1400e712c
nop
mov qword [rbp - 0x60], r14
lea rcx, [rbp - 0x60]
call fcn.1400e712c
mov al, sil
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140001010
mov rbx, qword [rsp + 0x1d8]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret