Function at 0x1400012d0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0xd8
mov qword [0x140024460], rcx
lea rcx, str.Engine.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x140001576
lea rdx, str.GetDTEngine
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140001576
lea rcx, [0x140024468]
call rax
test eax, eax
jne 0x140001576
mov rcx, qword [0x140024468]
xor r9d, r9d
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + 0x50]
call fcn.1400015d0
test al, al
je 0x14000158f
mov qword [rsp + 0xd0], rbx
xor ebx, ebx
mov dword [rsp + 0xe0], ebx
call fcn.140003510
test eax, eax
je 0x140001410
call fcn.1400033a0
test eax, eax
jne 0x140001410
mov rcx, qword [0x140024468]
lea rdx, [rsp + 0xc8]
mov qword [rsp + 0xc8], rbx
mov rax, qword [rcx]
call qword [rax + 0x68]
mov rcx, qword [rsp + 0xc8]
lea r8, [rsp + 0xc0]
mov qword [rsp + 0xc0], rbx
mov edx, 0x2738
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rdx, qword [rsp + 0xc0]
lea r9d, [rbx + 0x10]
mov rcx, qword [0x140024058]
lea r8, [0x14001e470]
call qword [sym.imp.USER32.dll_MessageBoxW]
lea rcx, [rsp + 0xe0]
call fcn.1400017c0
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0xc8]
test rcx, rcx
je 0x1400013fb
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov eax, 1
mov rbx, qword [rsp + 0xd0]
add rsp, 0xd8
ret
mov rdx, qword [0x140024050]
mov ecx, dword [rdx]
test ecx, ecx
je 0x1400014f0
sub ecx, 1
je 0x140001459
sub ecx, 1
je 0x140001443
sub ecx, 1
je 0x14000144d
cmp ecx, 1
jne 0x1400014fc
call fcn.140003160
jmp 0x1400014f5
cmp dword [rdx + 0x10], 8
jne 0x1400014fc
mov dword [rsp + 0xe0], ebx
jmp 0x1400014fc
cmp dword [rdx + 0x10], 0x58
jne 0x1400014fc
mov eax, dword [rdx + 0x68]
mov r9d, dword [rdx + 0x1c]
mov dword [rsp + 0xb0], eax
mov eax, dword [rdx + 0x60]
mov dword [rsp + 0xa0], eax
mov eax, dword [rdx + 0x5c]
mov dword [rsp + 0x98], eax
mov eax, dword [rdx + 0x58]
mov dword [rsp + 0x90], eax
mov eax, dword [rdx + 0x54]
mov dword [rsp + 0x88], eax
mov eax, dword [rdx + 0x50]
mov dword [rsp + 0x80], eax
mov eax, dword [rdx + 0x4c]
mov dword [rsp + 0x78], eax
mov eax, dword [rdx + 0x40]
mov dword [rsp + 0x60], eax
mov eax, dword [rdx + 0x3c]
mov dword [rsp + 0x58], eax
mov eax, dword [rdx + 0x38]
mov dword [rsp + 0x50], eax
mov eax, dword [rdx + 0x34]
mov dword [rsp + 0x48], eax
mov eax, dword [rdx + 0x30]
mov dword [rsp + 0x40], eax
mov eax, dword [rdx + 0x2c]
mov dword [rsp + 0x38], eax
mov eax, dword [rdx + 0x28]
mov dword [rsp + 0x30], eax
mov eax, dword [rdx + 0x24]
mov dword [rsp + 0x28], eax
mov eax, dword [rdx + 0x20]
mov dword [rsp + 0x20], eax
call fcn.140001f90
jmp 0x1400014f5
call fcn.140001a70
mov dword [rsp + 0xe0], eax
mov rcx, qword [0x140022970]
lea r9, [rsp + 0xc0]
mov r8d, 4
mov dword [rsp + 0xc0], ebx
lea rdx, [rsp + 0xe0]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x140024058]
test rcx, rcx
je 0x14000153d
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, qword [0x140022970]
cmp rcx, 0xffffffffffffffff
je 0x140001564
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov rcx, qword [0x140022970]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140022970], rbx
xor eax, eax
mov rbx, qword [rsp + 0xd0]
add rsp, 0xd8
ret
xor r9d, r9d
lea r8, [0x14001e470]
lea rdx, str.Engine_loading_error._Please_reinstall_the_application.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
add rsp, 0xd8
ret