Function at 0x14024ae14
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rax - 0x508]
sub rsp, 0x5e0
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14045cbf0]
xor rax, rsp
mov qword [rbp + 0x4d0], rax
mov r12, rcx
movups xmm0, xmmword [str.Text_Files__.txt_]
movaps xmmword [rbp + 0x480], xmm0
movups xmm1, xmmword [0x140351eb0]
movaps xmmword [rbp + 0x490], xmm1
movups xmm0, xmmword [0x140351ec0]
movaps xmmword [rbp + 0x4a0], xmm0
mov eax, dword [0x140351ed0]
mov dword [rbp + 0x4b0], eax
movzx eax, word [0x140351ed4]
mov word [rbp + 0x4b4], ax
xor eax, eax
mov qword [rbp + 0x4b6], rax
mov qword [rbp + 0x4be], rax
mov rax, qword [0x14048abe8]
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x30], rcx
lea rax, [rbp + 0x480]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x802
lea r9, str.install.txt
lea r8, [0x140351ee8]
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.14001f440
nop
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.14001f614
cmp rax, 1
jne 0x14024b2df
or r15, 0xffffffffffffffff
mov qword [rsp + 0x40], r15
lea edi, [rax + 1]
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8d, 0x40000000
lea rdx, [rbp + 0x26c]
lea rcx, [rsp + 0x40]
call fcn.140021fb8
test eax, eax
je 0x14024b2ce
mov sil, 1
call fcn.1400046d0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x40]
cmp dword [rax + 0x10], 1
jbe 0x14024af84
call fcn.14023ddcc
test al, al
jne 0x14024af84
xor sil, sil
mov eax, 0xfeff
mov word [rsp + 0x50], ax
and dword [rsp + 0x54], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x54]
mov r8d, edi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x48], rdi
xor r13d, r13d
mov rax, qword [r12 + 0x1c0]
sub rax, qword [r12 + 0x1b8]
sar rax, 4
test eax, eax
jle 0x14024b295
lea rdi, [0x140351efc]
xor r9d, r9d
mov r8d, r13d
lea rdx, [rsp + 0x70]
lea rcx, [r12 + 0xf8]
call fcn.140248c7c
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14000c244
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x14024b00c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8b, sil
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.14001fbc0
mov r8b, sil
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14001fc74
mov r9d, 1
mov r8d, r13d
lea rdx, [rsp + 0x78]
lea rcx, [r12 + 0xf8]
call fcn.140248c7c
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14000c244
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x14024b079
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8b, sil
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.14001fbc0
cmp byte [r12 + 0x478], 0
je 0x14024b172
mov r8b, sil
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14001fc74
mov r9d, 2
mov r8d, r13d
lea rdx, [rsp + 0x58]
lea rcx, [r12 + 0xf8]
call fcn.140248c7c
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14000c244
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x14024b0f5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8b, sil
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.14001fbc0
mov r8b, sil
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14001fc74
mov r9d, 3
mov r8d, r13d
lea rdx, [rbp - 0x80]
lea rcx, [r12 + 0xf8]
call fcn.140248c7c
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14000c244
nop
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x14024b160
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8b, sil
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.14001fbc0
mov r8b, sil
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14001fc74
mov r9d, 4
mov r8d, r13d
lea rdx, [rsp + 0x60]
lea rcx, [r12 + 0xf8]
call fcn.140248c7c
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14000c244
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x14024b1cd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8b, sil
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.14001fbc0
cmp byte [r12 + 0x47a], 0
je 0x14024b257
mov r8b, sil
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14001fc74
mov r9d, 5
mov r8d, r13d
lea rdx, [rsp + 0x68]
lea rcx, [r12 + 0xf8]
call fcn.140054710
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14000c244
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x14024b245
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8b, sil
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.14001fbc0
mov r8b, sil
lea rdx, [0x14034fb84]
lea rcx, [rsp + 0x40]
call fcn.14001fc74
inc r13d
mov rax, qword [r12 + 0x1c0]
sub rax, qword [r12 + 0x1b8]
sar rax, 4
cmp r13d, eax
jl 0x14024afc4
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
cmp rbx, r15
je 0x14024b2b1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x40], r15
lea rdx, [rdi - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x14024b2ce
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x40]
cmp rcx, r15
je 0x14024b2df
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14024b2ed
call fcn.1400b80bc
mov rcx, qword [rbp + 0x4d0]
xor rcx, rsp
call fcn.1400be110
lea r11, [rsp + 0x5e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret