Function at 0x1800cfee0
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x3d8]
sub rsp, 0x4c0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x18066dcd8]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov rdi, rcx
xor r14d, r14d
mov dword [rsp + 0x24], r14d
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rsi, rax
test rax, rax
je 0x1800d0255
cmp dword [rsp + 0x20], 2
jl 0x1800d024c
mov rdx, qword [rax + 8]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x1805bf050]
movdqu xmmword [rsp + 0x60], xmm1
mov word [rsp + 0x50], r14w
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], r14w
jne 0x1800cff80
lea rcx, [rsp + 0x50]
call fcn.18007d760
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.18007e500
nop
mov edx, 4
lea rcx, [rsp + 0x30]
call fcn.1800df7e0
lea rcx, [rsp + 0x30]
call fcn.1800e1840
test al, al
je 0x1800d004c
xor edx, edx
mov r8d, 0x412
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
mov r8d, 0x208
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov r8, qword [rsp + 0x40]
test eax, eax
je 0x1800d0028
mov eax, eax
cmp rax, r8
je 0x1800d0028
lea rax, [rbp - 0x70]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1800d0013
lea rcx, [rdi + 0x70]
lea rdx, [rbp - 0x70]
jmp 0x1800d0047
lea rcx, [rdi + 0x70]
lea rax, [rsp + 0x30]
cmp rcx, rax
je 0x1800d004c
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
call fcn.18007d760
mov r8d, dword [rsp + 0x20]
cmp r8d, 3
jl 0x1800d008f
mov rdx, qword [rsi + 0x10]
mov rcx, r14
movzx eax, word [rdx]
cmp ax, 0x30
jb 0x1800d0089
cmp ax, 0x39
ja 0x1800d0089
lea rcx, [rcx + rcx*4]
movzx eax, ax
lea rcx, [rcx - 0x18]
lea rcx, [rax + rcx*2]
add rdx, 2
movzx eax, word [rdx]
cmp ax, 0x30
jae 0x1800d0067
mov dword [rdi + 0xd8], ecx
cmp r8d, 4
jl 0x1800d00bc
mov rdx, qword [rsi + 0x18]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x1800d00a0
lea rcx, [rdi + 0xb8]
call fcn.18007d760
mov r8d, dword [rsp + 0x20]
cmp dword [rdi + 0xd8], 1
jne 0x1800d019a
cmp r8d, 5
jl 0x1800d019a
mov rdx, qword [rsi + 0x20]
mov rcx, r14
movzx eax, word [rdx]
cmp ax, 0x30
jb 0x1800d0105
cmp ax, 0x39
ja 0x1800d0105
lea rcx, [rcx + rcx*4]
movzx eax, ax
lea rcx, [rcx - 0x18]
lea rcx, [rax + rcx*2]
add rdx, 2
movzx eax, word [rdx]
cmp ax, 0x30
jae 0x1800d00e3
mov dword [rdi + 0xb0], ecx
cmp r8d, 6
jl 0x1800d019a
mov rdx, qword [rsi + 0x28]
xor r9d, r9d
lea r8d, [r9 - 1]
lea rcx, [rsp + 0x70]
call fcn.1800e12a0
mov ebx, 1
mov dword [rsp + 0x24], ebx
lea rcx, [rdi + 0x90]
mov rdx, rax
call fcn.18008bec0
and ebx, 0xfffffffe
mov dword [rsp + 0x24], ebx
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x1800d0188
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800d0183
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800d0183
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18042ce14
movdqa xmm0, xmmword [0x1805bf060]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1800d01df
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800d01da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800d01da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18042ce14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r14w
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1800d0238
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800d0233
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800d0233
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18042ce14
movdqa xmm0, xmmword [0x1805bf050]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r14w
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [rdi + 0xd8]
test eax, eax
jne 0x1800d027f
lea rcx, [rdi + 0x120]
lea r8d, [rax + 0x16]
lea rdx, [0x18059e068]
call fcn.18007d760
lea rdx, [0x18059e0a0]
jmp 0x1800d02c7
cmp eax, 1
jne 0x1800d02a4
lea rcx, [rdi + 0x120]
lea r8d, [rax + 0x13]
lea rdx, str.RCPrinterPDFFrameWnd
call fcn.18007d760
lea rdx, str.RCPRINTER_INSTANCE_1D108C18_C565_443E_AC3B_9F9D33E0E2DD
jmp 0x1800d02c7
cmp eax, 2
jne 0x1800d02d9
lea rcx, [rdi + 0x120]
lea r8d, [rax + 0x17]
lea rdx, str.RCPrinterBatchPDFFrameWnd
call fcn.18007d760
lea rdx, str.RCPRINTER_INSTANCE_D3DF828F_E6A7_4259_A272_381CAB5D2D77
mov r8d, 0x39
lea rcx, [rdi + 0x140]
call fcn.18007d760
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.18042cdf0
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret