Function at 0x415200
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x558d30
mov eax, dword fs:[0]
push eax
sub esp, 0x754
mov eax, dword [0x5c100c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x206
lea eax, [ebp - 0x216]
push 0
push eax
call fcn.00429bd0
movups xmm0, xmmword [str.WanNeng]
lea ecx, [ebp - 0x218]
add esp, 0xc
add ecx, 0xfffffffe
movups xmmword [ebp - 0x218], xmm0
nop word [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x415260
mov eax, dword [0x5b6114]
mov dword [ecx], eax
mov eax, dword [0x5b6118]
mov dword [ecx + 4], eax
mov eax, dword [0x5b611c]
mov dword [ecx + 8], eax
mov eax, dword [0x5b6120]
mov dword [ecx + 0xc], eax
mov eax, dword [0x5b6124]
mov dword [ecx + 0x10], eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x760]
call fcn.00422cd4
lea ecx, [ebp - 0x760]
mov dword [ebp - 4], 0
call fcn.00422d1b
test eax, eax
jne 0x4154b7
cmp dword [0x5d60cc], eax
jne 0x4152cc
call fcn.00407a30
cmp dword [0x5d60cc], 0
mov esi, dword [0x5d60cc]
jne 0x4152e0
call fcn.00407a30
cmp dword [0x5d799c], 0
mov edi, dword [0x5d60cc]
jne 0x41530a
push 4
call fcn.00415dc6
mov dword [ebp - 0x758], eax
add esp, 4
mov dword [0x5d799c], eax
mov dword [eax], vtable.CShareConfigManager.0
mov ecx, esi
call fcn.0041ae92
mov ecx, edi
mov esi, eax
call fcn.0041ae86
mov edi, eax
mov eax, dword [0x5d60b8]
test eax, eax
jne 0x41534c
push 0xd8
call fcn.00415dc6
add esp, 4
mov dword [ebp - 0x758], eax
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.004029b0
mov byte [ebp - 4], 0
mov dword [0x5d60b8], eax
push esi
push edi
mov ecx, eax
call fcn.00402b10
cmp dword [0x5d799c], 0
jne 0x415379
push 4
call fcn.00415dc6
mov dword [ebp - 0x758], eax
add esp, 4
mov dword [0x5d799c], eax
mov dword [eax], vtable.CShareConfigManager.0
mov eax, dword [0x5d60b8]
test eax, eax
jne 0x4153a9
push 0xd8
call fcn.00415dc6
add esp, 4
mov dword [ebp - 0x758], eax
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004029b0
mov byte [ebp - 4], 0
mov dword [0x5d60b8], eax
mov ecx, eax
call fcn.00402dc0
push dword [0x5d60d0]
call dword [sym.imp.DuiLib32.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetInstance_struct_HINSTANCE____]
push dword [0x5d60d0]
call fcn.00425622
add esp, 8
push str.Riched20.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.ole32.dll_CoInitialize]
mov edi, eax
push 0
call esi
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
sub esp, 0xc
call fcn.004150c0
push 0
call esi
test eax, eax
js 0x4154b7
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00429bd0
push 0x5b4ddc
lea eax, [ebp - 0x420]
push 0x5b7f2c
push eax
call fcn.00406c50
add esp, 0x18
lea ecx, [ebp - 0x754]
call fcn.004082f0
push 0
push 0x17c
push 0x258
push 0
push 0
push 0x100
push 0x10ce0000
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 3
push eax
push 0
lea ecx, [ebp - 0x754]
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____]
lea ecx, [ebp - 0x754]
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CWindowWnd::CenterWindow_void_]
push 5
lea ecx, [ebp - 0x754]
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.DuiLib32.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::MessageLoop_void_]
call dword [sym.imp.DuiLib32.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::Term_void_]
call fcn.00415100
call dword [sym.imp.ole32.dll_OleUninitialize]
call dword [sym.imp.ole32.dll_CoUninitialize]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x754]
call fcn.004083d0
lea ecx, [ebp - 0x760]
call fcn.00422ce9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00415db5
mov esp, ebp
pop ebp
ret 4