Function at 0x140001310
Capabilities:
Read .ini file

Disassembly:
push rdi
mov eax, 0x2130
call fcn.14000af50
sub rsp, rax
mov qword [rsp + 0xc0], 0xfffffffffffffffe
mov qword [rsp + 0x2148], rbx
mov rax, qword [0x140019008]
xor rax, rsp
mov qword [rsp + 0x2120], rax
mov rbx, rcx
lea rax, vtable.DuplexWizardStartupInit.0
mov qword [rsp + 0x38], rax
lea rax, vtable.WAppStartup.0
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
xor edi, edi
mov qword [rsp + 0x60], rdi
lea ecx, [rdi + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov qword [rsp + 0xc8], rax
test rax, rax
je 0x14000139b
mov rcx, rax
call qword [sym.imp.CrlUtils.dll_public:_void___cdecl_CrlUtils::CommandLine::constructor_void____ptr64]
jmp 0x14000139e
mov rax, rdi
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x80], edi
mov qword [rsp + 0x88], rdi
movdqa xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], rdi
mov qword [rsp + 0xa8], rdi
mov dword [rsp + 0xb0], 0
mov word [rsp + 0xb4], 0
mov byte [rsp + 0xb6], 0
mov byte [rsp + 0xb8], 0
call fcn.140009420
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
nop
lea rcx, [rsp + 0x40]
call fcn.140005480
call qword [sym.imp.CrlUtl.dll_public:_static_class_IGLB_UILanguage____ptr64___cdecl_IGLB_UILanguage::GetInst_void_]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xc8]
call qword [sym.imp.COMCTL32.dll_InitCommonControls]
call qword [sym.imp.CrlUtl.dll_public:_static_class_IGLB_UILanguage____ptr64___cdecl_IGLB_UILanguage::GetInst_void_]
mov r8, qword [rax]
lea rdx, str.PrintWizIntl.dll
mov rcx, rax
call qword [r8 + 0x90]
test rax, rax
je 0x14000158c
mov ecx, 0x104
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [0x14001a110], rax
lea rdi, str.Arial
mov rdx, rdi
sub rax, rdi
nop dword [rax + rax]
movzx ecx, word [rdx]
mov word [rax + rdx], cx
lea rdx, [rdx + 2]
test cx, cx
jne 0x140001470
lea rcx, [rsp + 0x30]
call qword [sym.imp.CrlUtl.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_INIGetCorelPrnIniFile_void_]
nop
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], operator
mov r9, qword [0x14001a110]
mov r8, rdi
lea rdx, str.PrintedFont
lea rcx, str.DupWiz
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov r9, qword [rsp + 0x30]
lea r8, [0x14000d2dc]
lea rdx, [0x14000d2e0]
lea rcx, str.Config
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rcx, [rsp + 0xd0]
call fcn.140001660
nop
mov rdx, qword [rbx + 0x90]
cmp word [rdx], 0
je 0x14000150b
mov r8d, 1
lea rcx, [rsp + 0xd0]
call fcn.140001d60
nop
call qword [sym.imp.CrlUtl.dll_UTLInitialize]
lea rcx, [rsp + 0xd0]
call fcn.140001c60
cmp rax, 0x3025
jne 0x140001546
mov r9, qword [rsp + 0x30]
lea r8, [0x14000d318]
lea rdx, [0x14000d2e0]
lea rcx, str.Config
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rcx, qword [0x14001a110]
test rcx, rcx
je 0x140001558
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call qword [sym.imp.CrlUtl.dll_UTLUninitialize]
call qword [sym.imp.CrlUtl.dll_public:_static_class_IGLB_UILanguage____ptr64___cdecl_IGLB_UILanguage::GetInst_void_]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x98]
jmp 0x140001572
lea rcx, [rsp + 0xd0]
call fcn.140001840
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x40]
call fcn.140005360
xor eax, eax
mov rcx, qword [rsp + 0x2120]
xor rcx, rsp
call fcn.140009ea0
mov rbx, qword [rsp + 0x2148]
add rsp, 0x2130
pop rdi
ret