Function at 0x1800047a0
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x150
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x1800f18c0]
xor rax, rsp
mov qword [rsp + 0x148], rax
xor ecx, ecx
call fcn.180087f10
mov rcx, rax
call fcn.180087a50
mov edx, InitCommonControls
lea rcx, [rsp + 0x120]
call fcn.180001470
nop
lea rdx, [rsp + 0x128]
cmp qword [rsp + 0x140], 0x10
cmovae rdx, qword [rsp + 0x128]
lea rcx, [rsp + 0x70]
call fcn.18002b390
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [0x1800f3020]
call fcn.1800054c0
nop
cmp qword [rsp + 0x90], 8
jb 0x180004845
mov rcx, qword [rsp + 0x78]
call fcn.180087ce0
lea rcx, [0x1800f3028]
cmp qword [0x1800f3040], 8
cmovae rcx, qword [0x1800f3028]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [0x1800bbc60]
call fcn.1800015e0
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov rcx, qword [0x1800f5418]
call qword [sym.VKD.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetInstance_struct_HINSTANCE______ptr64_]
lea rcx, [rsp + 0x98]
call qword [sym.VKD.dll_public:_static_class_DuiLib::CDuiString___cdecl_DuiLib::CPaintManagerUI::GetInstancePath_void_]
nop
mov rcx, rax
call qword [sym.VKD.dll_public:_wchar_t_const____ptr64___cdecl_DuiLib::CDuiString::operator_wchar_t_const____ptr64_void_const___ptr64]
mov rcx, rax
call qword [sym.VKD.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourcePath_wchar_t_const____ptr64_]
nop
lea rcx, [rsp + 0x98]
call qword [sym.VKD.dll_public:_void___cdecl_DuiLib::CDuiString::destructor_void____ptr64]
mov ecx, 0x580
call fcn.1800878a0
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1800048fc
mov rcx, rax
call qword [sym.VKD.dll_public:_void___cdecl_DuiLib::CWindowWnd::constructor_void____ptr64]
lea rax, [0x1800bbfa8]
mov qword [rbx], rax
lea rax, [0x1800bbfd8]
mov qword [rbx + 0x20], rax
lea rcx, [rbx + 0x28]
call qword [sym.VKD.dll_public:_void___cdecl_DuiLib::CPaintManagerUI::constructor_void____ptr64]
xor edi, edi
mov dword [rbx + 0x578], edi
jmp 0x180004901
xor edi, edi
mov rbx, rdi
test rbx, rbx
je 0x1800049ca
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x40], 0x80000000
mov dword [rsp + 0x38], 0x80000000
mov dword [rsp + 0x30], 0x80000000
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x8000000
mov r9d, 0x80000000
lea r8, [0x1800bbc64]
xor edx, edx
mov rcx, rbx
call qword [sym.VKD.dll_public:_struct_HWND______ptr64___cdecl_DuiLib::CWindowWnd::Create_struct_HWND______ptr64__wchar_t_const____ptr64__unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU______ptr64____ptr64]
mov rbp, rax
mov ecx, 0x18
call fcn.1800878a0
mov rsi, rax
test rax, rax
je 0x1800049b6
lea r8, [0x1800bbfe8]
mov qword [rax], r8
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
mov dword [rsp + 0x60], edi
lea rax, str.af51219e_61f6_4b09_ade1_5728e841d2ce
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x58]
mov rcx, rsi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
test eax, eax
jne 0x1800049b6
movabs rax, 0x1923498165321943
xor rbp, rax
mov qword [rsp + 0x50], rbp
mov rax, qword [rsi]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [rax + 0x18]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.VKD.dll_public:_void___cdecl_DuiLib::CWindowWnd::ShowWindow_bool__bool____ptr64]
call qword [sym.VKD.dll_public:_static_int___cdecl_DuiLib::CPaintManagerUI::MessageLoop_void_]
lea rcx, [0x1800bbc90]
call fcn.1800015e0
nop
cmp qword [rsp + 0x140], 0x10
jb 0x1800049f3
mov rcx, qword [rsp + 0x128]
call fcn.180087ce0
xor eax, eax
jmp 0x1800049f5
xor eax, eax
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.180087cc0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret