Function at 0x14007c2a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rsi, rcx
mov r8, qword [rcx + 0xa8]
mov eax, dword [r8 + 8]
dec eax
test eax, 0xfffffff6
je 0x14007c5b3
lea rax, [rbp - 0x68]
mov qword [rbp - 0x78], rax
xor r15d, r15d
mov dword [rbp - 0x70], r15d
mov dword [rbp - 0x6c], 0x104
mov word [rbp - 0x68], r15w
lea rax, [0x1401b6698]
mov qword [rbp - 0x80], rax
add r8, 0x29c
lea rdx, str._sConfig_
lea rcx, [rbp - 0x80]
call fcn.140003670
mov rcx, qword [rbp - 0x78]
call fcn.140011450
lea r8, str.Extract_license
lea rdx, str.Install
lea rcx, [0x1402284e0]
call fcn.140091190
lea r12, [0x1401b66b8]
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 0xffffffffffffffff
xor r14b, r14b
mov r8, qword [rsi + 0xa8]
add r8, 0x29c
lea rdx, str._sConfig_terminal.lic
lea rcx, [rbp - 0x80]
call fcn.140003670
mov rbx, qword [rbp - 0x78]
mov rcx, qword [rsp + 0x78]
cmp rcx, 0xffffffffffffffff
je 0x14007c393
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, 0xffffffffffffffff
mov qword [rsp + 0x78], rcx
test rbx, rbx
je 0x14007c3ca
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [r9 + 3]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, rax
mov qword [rsp + 0x78], rax
cmp rcx, 0xffffffffffffffff
je 0x14007c503
mov rdi, qword [rsi + 0xb0]
movzx eax, word [rdi + 0x1e]
test ax, ax
je 0x14007c484
cmp eax, dword [rdi + 0x70]
jne 0x14007c484
lea rdx, [rdi + 8]
mov eax, r15d
mov dword [rbp + 0x1d0], eax
test rdx, rdx
je 0x14007c430
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x1d0]
mov r8d, 0x58
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14007c42a
mov eax, r15d
mov dword [rbp + 0x1d0], eax
jmp 0x14007c430
mov eax, dword [rbp + 0x1d0]
lock add qword [0x1401f3d68], rax
cmp dword [rbp + 0x1d0], 0x58
jne 0x14007c484
mov ebx, r15d
cmp dword [rdi + 0x70], ebx
jbe 0x14007c46f
nop dword [rax]
mov ecx, ebx
shl rcx, 4
add rcx, qword [rdi + 0x68]
lea rdx, [rsp + 0x70]
call fcn.14001b190
test al, al
je 0x14007c484
inc ebx
cmp ebx, dword [rdi + 0x70]
jb 0x14007c450
mov r14b, 1
lea rcx, [rsi + 0x8f0]
mov rdx, qword [rbp - 0x78]
call fcn.14001c880
jmp 0x14007c4e7
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
lea rax, [0x14021a0b0]
mov qword [rsp + 0x48], rax
lea rax, [0x140219fb0]
mov qword [rsp + 0x40], rax
lea rax, str.Install_Fail_License_Extract
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], r15
lea rax, [0x140214c7a]
mov qword [rsp + 0x20], rax
lea r9, [0x140214c2a]
lea r8, [0x140214b2a]
mov edx, 1
lea rcx, [0x140214a00]
call fcn.140058730
mov rcx, qword [rsp + 0x78]
cmp rcx, 0xffffffffffffffff
je 0x14007c566
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x78], 0xffffffffffffffff
jmp 0x14007c566
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
lea rax, [0x14021a0b0]
mov qword [rsp + 0x48], rax
lea rax, [0x140219fb0]
mov qword [rsp + 0x40], rax
lea rax, str.Install_Fail_License_Open
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], r15
lea rax, [0x140214c7a]
mov qword [rsp + 0x20], rax
lea r9, [0x140214c2a]
lea r8, [0x140214b2a]
mov edx, 1
lea rcx, [0x140214a00]
call fcn.140058730
lea rax, str.done
lea r9, str.failed
test r14b, r14b
cmovne r9, rax
lea r8, str.Extract_license__s
lea rdx, str.Install
lea rcx, [0x1402284e0]
call fcn.140091190
nop
mov qword [rsp + 0x70], r12
mov rcx, qword [rsp + 0x78]
cmp rcx, 0xffffffffffffffff
je 0x14007c5ad
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
movzx eax, r14b
jmp 0x14007c5b5
mov al, 1
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret