Function at 0x1400dd490
Capabilities:
Accept command line arguments

Disassembly:
mov word [rsp + 8], cx
sub rsp, 0x2f8
movzx eax, word [rsp + 0x300]
mov word [rsp + 0x30], ax
movsx eax, word [rsp + 0x30]
add eax, 0x372
movsx ecx, word [rsp + 0x300]
cmp eax, ecx
jge 0x1400dd517
mov dword [rsp + 0x20], PathYetAnotherMakeUniqueName
mov r9w, 0x64
mov r8, qword [section..data]
mov dx, 0x88
mov ecx, ILCreateFromPathW
call fcn.1400dc430
movsx eax, word [rsp + 0x300]
sub eax, 0x1da
mov word [rsp + 0x30], ax
movsx eax, word [rsp + 0x300]
and eax, 0x79c
mov word [rsp + 0x30], ax
lea rcx, [rsp + 0x250]
call qword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
movsx eax, word [rsp + 0x30]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0xf8
je 0x1400dd5af
cmp dword [rsp + 0x44], 0x6e5
je 0x1400dd543
jmp 0x1400dd5fc
movsx eax, word [rsp + 0x300]
mov rcx, qword [rsp + 0x38]
movsx ecx, word [rcx]
xor eax, ecx
mov word [rsp + 0x30], ax
movsx eax, word [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
movsx ecx, word [rcx]
or eax, ecx
movsx ecx, word [rsp + 0x300]
cmp eax, ecx
jl 0x1400dd5ad
lea rcx, [rsp + 0x1c0]
call qword [sym.imp.COMDLG32.dll_PrintDlgExW]
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x38]
movsx eax, word [rax]
movsx ecx, word [rsp + 0x30]
shl eax, cl
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov edx, ILRemoveLastID
mov ecx, 0x63
call fcn.1400dc260
jmp 0x1400dd5fc
movzx eax, word [rsp + 0x30]
mov word [rsp + 0x300], ax
mov rax, qword [rsp + 0x38]
movsx eax, word [rax]
movsx ecx, word [rsp + 0x300]
sar eax, cl
mov word [rsp + 0x30], ax
mov rax, qword [rsp + 0x38]
movsx eax, word [rax]
movsx ecx, word [rsp + 0x300]
sub eax, ecx
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov edx, reloc.SHELL32.dll_ILCreateFromPathW
mov ecx, 0x42
call fcn.1400dc260
mov dword [rsp + 0x40], 0xd2fb
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x38]
movsx eax, word [rax]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0x1f
je 0x1400dd631
cmp dword [rsp + 0x48], 0x1cb
je 0x1400dd6aa
jmp 0x1400dd6cc
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
mov word [rsp + 0x300], ax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0x63fa
je 0x1400dd655
jmp 0x1400dd691
lea rcx, [rsp + 0xa0]
call qword [sym.imp.COMDLG32.dll_PageSetupDlgW]
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0x120]
call qword [sym.imp.COMDLG32.dll_ChooseColorW]
mov dword [rsp + 0x6c], eax
lea rcx, [rsp + 0x170]
call qword [sym.imp.COMDLG32.dll_ReplaceTextW]
mov qword [rsp + 0x80], rax
jmp 0x1400dd6a8
movsx eax, word [rsp + 0x300]
movsx ecx, word [rsp + 0x30]
add eax, ecx
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
jmp 0x1400dd6cc
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
mov word [rsp + 0x20], ax
mov r9d, 0xee
mov r8b, 0x65
mov dl, 0x2d
mov ecx, ILAppendID
call fcn.1400db720
mov byte [rsp + 0x34], 0x37
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0x53a3
je 0x1400dd7d4
cmp dword [rsp + 0x4c], 0xd2fb
je 0x1400dd6f6
jmp 0x1400dd859
mov rax, qword [section..data]
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
movsx eax, word [rax]
movsx ecx, word [rsp + 0x30]
sub eax, ecx
movsx ecx, word [rsp + 0x300]
cmp eax, ecx
je 0x1400dd73f
mov r8w, 0x61
movzx edx, word [rsp + 0x30]
mov cx, 0xe8
call fcn.1400dc650
jmp 0x1400dd7c2
movabs rax, 0x77eca7f43c7d55
mov rcx, qword [rsp + 0x58]
or rcx, rax
mov rax, rcx
cmp rax, qword [section..data]
jne 0x1400dd7c2
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x50], al
cmp byte [rsp + 0x50], 0xd
je 0x1400dd79e
cmp byte [rsp + 0x50], 0x71
je 0x1400dd776
jmp 0x1400dd7b5
mov rax, qword [rsp + 0x38]
movsx eax, word [rax]
movsx ecx, word [rsp + 0x300]
xor eax, ecx
mov word [rsp + 0x30], ax
mov edx, 0x32
mov ecx, 0xa6
call fcn.1400dc260
jmp 0x1400dd7b5
movsx eax, word [rsp + 0x300]
movsx ecx, word [rsp + 0x30]
shl eax, cl
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
movzx eax, word [rsp + 0x30]
mov word [rsp + 0x300], ax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x88], rax
jmp 0x1400dd859
movsx eax, byte [rsp + 0x34]
cmp eax, 0x5b
jge 0x1400dd7ed
mov eax, dword [rsp + 0x40]
add eax, 0xf14a
mov dword [rsp + 0x40], eax
jmp 0x1400dd81f
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x38]
movsx eax, word [rax]
movsx ecx, word [rsp + 0x30]
add eax, ecx
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
movzx eax, word [rsp + 0x30]
mov word [rsp + 0x300], ax
movsx eax, word [rsp + 0x30]
movsx ecx, word [rsp + 0x300]
sub eax, ecx
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
movzx r8d, byte [rsp + 0x34]
mov edx, dword [rsp + 0x40]
mov rcx, qword [section..data]
call fcn.1400dcc30
mov rax, qword [rsp + 0x38]
movsx eax, word [rax]
movsx ecx, word [rsp + 0x300]
and eax, ecx
mov word [rsp + 0x30], ax
mov eax, 0xe8
add rsp, 0x2f8
ret