Function at 0x140003490
Capabilities:
Check if file exists
Create directory

Disassembly:
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x28c0
call fcn.140101360
sub rsp, rax
mov rax, qword [0x140173240]
xor rax, rsp
mov qword [rsp + 0x28b0], rax
mov dword [rsp + 0x140], 8
mov dword [rsp + 0x144], operator
lea rcx, [rsp + 0x140]
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov rcx, qword [rsp + 0x28d0]
call qword [sym.imp.mfc140u.dll_COleDispatchImpl::GetTypeInfoCount]
mov qword [rsp + 0x60], 0
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
lea rcx, [rsp + 0x148]
call fcn.140001600
call fcn.140006a20
mov rdx, qword [rax + 0x88]
lea rcx, [rsp + 0x148]
call fcn.1400031e0
nop
lea rax, [rsp + 0xe0]
mov qword [rsp + 0xb0], rax
xor edx, edx
mov rcx, qword [rsp + 0xb0]
call fcn.140005270
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x148]
call fcn.1400cd500
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jl 0x140003596
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x148]
call fcn.140003260
mov eax, dword [rsp + 0x48]
jmp 0x140003d94
mov edx, 8
lea rcx, [rsp + 0x130]
call fcn.140001600
mov ecx, gethostname
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x1400035df
mov edx, 1
mov rcx, qword [rsp + 0x80]
call fcn.140008460
mov qword [rsp + 0x58], rax
jmp 0x1400035e8
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x130]
call fcn.140005230
nop
mov edx, 0x1e0
lea rcx, [rsp + 0x1d0]
call fcn.140001600
lea rcx, [rsp + 0x1d0]
call fcn.1400051b0
nop
mov dword [rsp + 0x1e0], 1
mov dword [rsp + 0x234], 1
lea rax, [rsp + 0xe8]
mov qword [rsp + 0xd0], rax
lea rcx, [rsp + 0x130]
call fcn.1400051f0
mov rdx, rax
mov rcx, qword [rsp + 0xd0]
call fcn.140005230
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x88], rax
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x88]
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x148]
call fcn.1400cd5e0
mov byte [rsp + 0x34], al
lea rcx, [0x140003280]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler]
mov qword [rsp + 0xf0], rax
lea rcx, [0x140003370]
call qword [sym.imp.VCRUNTIME140.dll__set_purecall_handler]
mov qword [rsp + 0xf8], rax
xor ecx, ecx
call qword [sym.imp.mfc140u.dll_AfxClassInit]
lea rdx, [0x140121c08]
mov rcx, qword [rsp + 0x28d0]
call qword [sym.imp.mfc140u.dll_COleControlSite::XOleIPSite::SetFocus]
mov ecx, 0x8006
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
lea rcx, [0x140173848]
call fcn.140008880
mov edx, 0x178
lea rcx, [rsp + 0x3b0]
call fcn.140001600
xor edx, edx
lea rcx, [rsp + 0x3b0]
call fcn.140006c50
nop
lea rcx, [rsp + 0x180]
call qword [sym.imp.mfc140u.dll_CColorDialog::CColorDialog]
nop
lea rdx, [rsp + 0x180]
mov rcx, qword [rsp + 0x28d0]
call qword [sym.imp.mfc140u.dll_CMFCPrintPreviewToolBar::OnToolHitTest]
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x138]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
nop
lea rdx, [rsp + 0x138]
lea rcx, [0x1405fdae8]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
lea rax, [rsp + 0x24a0]
mov rdi, rax
xor eax, eax
mov ecx, 0x410
rep stosb byte [rdi], al
mov r8d, 0x208
lea rdx, [rsp + 0x24a0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
nop
lea rax, [rsp + 0x24a0]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x40], 0xffffffffffffffff
inc qword [rsp + 0x40]
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
cmp word [rax + rcx*2], 0
jne 0x1400037c1
mov rax, qword [rsp + 0x40]
mov dword [rsp + 0x30], eax
jmp 0x1400037ef
mov eax, dword [rsp + 0x30]
dec eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jle 0x14000386d
movsxd rax, dword [rsp + 0x30]
movzx eax, word [rsp + rax*2 + 0x24a0]
cmp eax, 0x5c
jne 0x140003839
movsxd rax, dword [rsp + 0x30]
shl rax, 1
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0x410
jae 0x140003822
jmp 0x140003828
call fcn.140100fc8
nop
xor eax, eax
mov rcx, qword [rsp + 0x68]
mov word [rsp + rcx + 0x24a0], ax
jmp 0x14000386d
movsxd rax, dword [rsp + 0x30]
shl rax, 1
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0x410
jae 0x140003853
jmp 0x140003859
call fcn.140100fc8
nop
xor eax, eax
mov rcx, qword [rsp + 0x70]
mov word [rsp + rcx + 0x24a0], ax
jmp 0x1400037e5
lea rdx, [rsp + 0x24a0]
lea rcx, [0x1405fd9d0]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rdx, [rsp + 0x24a0]
lea rcx, [0x1405fd9d8]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rcx, [rsp + 0x120]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rdx, [0x1405fd9d8]
lea rcx, [rsp + 0x120]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
lea rdx, str.MDVRPlayer.dat
lea rcx, [rsp + 0x120]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator_]
mov edx, 0x104
lea rcx, [rsp + 0x120]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
lea r8, [0x140121c48]
mov rdx, rax
lea rcx, [0x1401753f0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
je 0x140003a2d
xor r8d, r8d
lea rdx, [0x140121c50]
lea rcx, [0x1405fdae8]
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
cmp eax, 0xffffffff
jne 0x14000395d
xor r8d, r8d
lea rdx, [0x140121c60]
lea rcx, [0x1405fdae8]
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
cmp eax, 0xffffffff
jne 0x14000395d
xor r8d, r8d
lea rdx, str.grec
lea rcx, [0x1405fdae8]
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
cmp eax, 0xffffffff
je 0x1400039b8
lea rcx, [rsp + 0x530]
call fcn.1400089c0
nop
mov edx, 0x104
lea rcx, [0x1405fdae8]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov rdx, rax
lea rcx, [rsp + 0x530]
call fcn.1400089d0
lea rcx, [rsp + 0x530]
call fcn.140008b40
mov rdx, rax
lea rcx, [0x140173848]
call fcn.140008930
nop
lea rcx, [rsp + 0x530]
call fcn.1400082e0
nop
mov dword [rsp + 0x50], 0
lea rcx, [rsp + 0x120]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x138]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x180]
call qword [sym.imp.mfc140u.dll_CAnimationVariable::CAnimationVariable]
nop
lea rcx, [rsp + 0x3b0]
call fcn.140003db0
nop
lea rcx, [rsp + 0x1d0]
call fcn.140005150
nop
lea rcx, [rsp + 0x130]
call fcn.140005200
nop
lea rcx, [rsp + 0x148]
call fcn.140003260
mov eax, dword [rsp + 0x50]
jmp 0x140003d94
lea rcx, str.TLMDVRPlayer
call qword [sym.imp.glog.dll_void___cdecl_google::InitGoogleLogging_char_const____ptr64_]
nop
lea rax, [rsp + 0x100]
mov qword [rsp + 0x98], rax
lea rcx, [0x1405fd9d8]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov edx, eax
lea rcx, [0x1405fd9d8]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov rdx, rax
mov rcx, qword [rsp + 0x98]
call fcn.1400053e0
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x160]
call fcn.140007d00
nop
mov edx, 0xffffffff
lea rcx, [0x1405fd9d8]
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
lea rdx, str.log_
lea rcx, [rsp + 0x160]
call fcn.140005470
nop
lea rcx, [rsp + 0x160]
call fcn.140001eb0
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x140003aff
lea rcx, [rsp + 0x160]
call fcn.140001eb0
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
nop
lea rcx, [rsp + 0x160]
call fcn.140001eb0
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.glog.dll_void___cdecl_google::SetLogDestination_int__char_const____ptr64_]
lea rdx, [0x1405fd9d0]
lea rcx, [rsp + 0x128]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
nop
lea rdx, [0x140121c98]
lea rcx, [rsp + 0x128]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator_]
lea rdx, [0x140121c9c]
lea rcx, [0x1405fd9d0]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator_]
lea rdx, [0x140121ca0]
lea rcx, [rsp + 0x128]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator_]
mov edx, 0x104
lea rcx, [rsp + 0x128]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov rcx, rax
call qword [sym.imp.DuiLib_u.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourcePath_wchar_t_const____ptr64_]
xor edx, edx
lea rcx, str.Skin.tb
call qword [sym.imp.DuiLib_u.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourceZip_wchar_t_const____ptr64__bool_]
lea rdx, [rsp + 0x24a0]
lea rcx, [0x1405fdb20]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rdx, [rsp + 0x24a0]
lea rcx, [0x1405fdb28]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rdx, str.CongfigSysTemConfig.ini
lea rcx, [0x1405fdb28]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator_]
mov edx, 0x104
lea rcx, [0x1405fdb28]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov rdx, rax
mov rcx, qword [rsp + 0x28d0]
call fcn.140004aa0
mov dword [0x1405fda08], 0
mov eax, dword [0x1405fd9e8]
mov dword [0x1401753f8], eax
lea rdx, [0x140121cf8]
lea rcx, [0x1405fdb20]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator_]
nop
lea rcx, [0x1405fdb20]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator__]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x140003c53
lea rcx, [0x1405fdb20]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator__]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rdx, [0x140121d04]
lea rcx, [0x1405fdb20]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator_]
mov rcx, qword [rsp + 0x28d0]
call fcn.140003f90
xor ecx, ecx
call qword [sym.imp.ole32.dll_OleInitialize]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
lea rdx, str.LanguageSvrLanguage.ini
lea rcx, [0x1405fd9d0]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator]
call fcn.140006a00
mov rcx, rax
call qword [sym.imp.DuiLib_u.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetInstance_struct_HINSTANCE______ptr64_]
mov edx, 0x1ae0
lea rcx, [rsp + 0x9c0]
call fcn.140001600
lea rcx, [rsp + 0x9c0]
call fcn.14000c3c0
nop
mov qword [rsp + 0x20], 0
mov r9d, 0x100
mov r8d, 3
mov dl, 1
lea rcx, [rsp + 0x9c0]
call fcn.140008d90
call qword [sym.imp.DuiLib_u.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::MessageLoop_void_]
mov qword [rsp + 0x78], 1
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0x9c0]
call fcn.14000c4f0
nop
lea rcx, [rsp + 0x128]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x160]
call fcn.140001f00
nop
lea rcx, [rsp + 0x120]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x138]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x180]
call qword [sym.imp.mfc140u.dll_CAnimationVariable::CAnimationVariable]
nop
lea rcx, [rsp + 0x3b0]
call fcn.140003db0
nop
lea rcx, [rsp + 0x1d0]
call fcn.140005150
nop
lea rcx, [rsp + 0x130]
call fcn.140005200
nop
lea rcx, [rsp + 0x148]
call fcn.140003260
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x28b0]
xor rcx, rsp
call fcn.140100c60
add rsp, 0x28c0
pop rdi
ret