Function at 0x421c50
Capabilities:
Extract resource via kernel32 functions
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472d44
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x4a4300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x400], ecx
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0x400]
call sym.microClientTemplate.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x40c], eax
mov eax, dword [ebp - 0x40c]
and eax, 0xff3fffff
mov dword [ebp - 0x40c], eax
mov eax, dword [ebp - 0x40c]
or eax, 0x4000000
or eax, 0x2000000
push eax
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0x400]
call sym.microClientTemplate.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x400]
call sym.microClientTemplate.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x20
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 0
mov ecx, dword [ebp - 0x400]
call sym.microClientTemplate.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp - 0x400]
push dword [eax + 4]
mov ecx, dword [ebp - 0x400]
add ecx, 0x2c
call sym.microClientTemplate.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::Init_struct_HWND____
cmp dword [ebp - 0x400], 0
je 0x421d42
mov eax, dword [ebp - 0x400]
add eax, 0x24
mov dword [ebp - 0x420], eax
jmp 0x421d49
and dword [ebp - 0x420], 0
push dword [ebp - 0x420]
mov ecx, dword [ebp - 0x400]
add ecx, 0x2c
call sym.microClientTemplate.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::AddPreMessageFilter_class_DuiLib::IMessageFilterUI__
lea ecx, [ebp - 0x1ec]
call sym.microClientTemplate.exe_public:_void___thiscall_DuiLib::CDialogBuilder::constructor_void_
and dword [ebp - 4], 0
lea eax, [ebp - 0xa4]
push eax
call sym.microClientTemplate.exe_public:_static_class_DuiLib::CDuiString___cdecl_DuiLib::CPaintManagerUI::GetInstancePath_void_
pop ecx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2f4]
push eax
mov eax, dword [ebp - 0x400]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x400]
call dword [eax + 0x20]
mov dword [ebp - 0x460], eax
mov eax, dword [ebp - 0x460]
mov dword [ebp - 0x438], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x438]
call sym.microClientTemplate.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
lea ecx, [ebp - 0xa4]
call sym.microClientTemplate.exe_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2f4]
call sym.microClientTemplate.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
lea ecx, [ebp - 0xa4]
call sym.microClientTemplate.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call sym.microClientTemplate.exe_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourcePath_wchar_t_const__
pop ecx
mov eax, dword [ebp - 0x400]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x400]
call dword [eax + 0x2c]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 2
je 0x421e11
cmp dword [ebp - 0x41c], 4
je 0x421e68
jmp 0x421fed
push 1
lea eax, [ebp - 0x3fc]
push eax
mov eax, dword [ebp - 0x400]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x400]
call dword [eax + 0x30]
mov dword [ebp - 0x440], eax
mov eax, dword [ebp - 0x440]
mov dword [ebp - 0x448], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x448]
call sym.microClientTemplate.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call sym.microClientTemplate.exe_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourceZip_wchar_t_const___bool_
pop ecx
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3fc]
call sym.microClientTemplate.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
jmp 0x421fed
cmp dword [sym.microClientTemplate.exe_unsigned_char__DuiLib::WindowImplBase::m_lpResourceZIPBuffer], 0
jne 0x421fda
push 0x478ec4
mov eax, dword [ebp - 0x400]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x400]
call dword [eax + 0x34]
movzx eax, ax
push eax
call sym.microClientTemplate.exe_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x404], eax
cmp dword [ebp - 0x404], 0
jne 0x421eda
and dword [ebp - 0x450], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call sym.microClientTemplate.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call sym.microClientTemplate.exe_public:_void___thiscall_DuiLib::CDialogBuilder::destructor_void_
mov eax, dword [ebp - 0x450]
jmp 0x422234
push dword [ebp - 0x404]
call sym.microClientTemplate.exe_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
jne 0x421f37
push dword [ebp - 0x404]
call dword [sym.imp.KERNEL32.dll_FreeResource]
and dword [ebp - 0x458], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call sym.microClientTemplate.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call sym.microClientTemplate.exe_public:_void___thiscall_DuiLib::CDialogBuilder::destructor_void_
mov eax, dword [ebp - 0x458]
jmp 0x422234
push dword [ebp - 0x404]
call sym.microClientTemplate.exe_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [sym.microClientTemplate.exe_unsigned_long_int_DuiLib::WindowImplBase::m_dwResourceZIPSize], eax
cmp dword [sym.microClientTemplate.exe_unsigned_long_int_DuiLib::WindowImplBase::m_dwResourceZIPSize], 0
jne 0x421f87
and dword [ebp - 0x428], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call sym.microClientTemplate.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call sym.microClientTemplate.exe_public:_void___thiscall_DuiLib::CDialogBuilder::destructor_void_
mov eax, dword [ebp - 0x428]
jmp 0x422234
push dword [sym.microClientTemplate.exe_unsigned_long_int_DuiLib::WindowImplBase::m_dwResourceZIPSize]
call fcn.0040d073
pop ecx
mov dword [ebp - 0x454], eax
mov eax, dword [ebp - 0x454]
mov dword [sym.microClientTemplate.exe_unsigned_char__DuiLib::WindowImplBase::m_lpResourceZIPBuffer], eax
cmp dword [sym.microClientTemplate.exe_unsigned_char__DuiLib::WindowImplBase::m_lpResourceZIPBuffer], 0
je 0x421fce
push dword [sym.microClientTemplate.exe_unsigned_long_int_DuiLib::WindowImplBase::m_dwResourceZIPSize]
push dword [ebp - 0x424]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [sym.microClientTemplate.exe_unsigned_char__DuiLib::WindowImplBase::m_lpResourceZIPBuffer]
call fcn.004614c0
add esp, 0xc
push dword [ebp - 0x404]
call dword [sym.imp.KERNEL32.dll_FreeResource]
push dword [sym.microClientTemplate.exe_unsigned_long_int_DuiLib::WindowImplBase::m_dwResourceZIPSize]
push dword [sym.microClientTemplate.exe_unsigned_char__DuiLib::WindowImplBase::m_lpResourceZIPBuffer]
call sym.microClientTemplate.exe_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourceZip_void___unsigned_int_
pop ecx
pop ecx
and dword [ebp - 0x408], 0
mov eax, dword [ebp - 0x400]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x400]
call dword [eax + 0x2c]
cmp eax, 3
jne 0x4220bd
lea eax, [ebp - 0x270]
push eax
mov eax, dword [ebp - 0x400]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x400]
call dword [eax + 0x24]
mov dword [ebp - 0x430], eax
mov eax, dword [ebp - 0x430]
mov dword [ebp - 0x434], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x434]
call sym.microClientTemplate.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.00462cd7
pop ecx
push eax
lea ecx, [ebp - 0x44c]
call fcn.00409de1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x270]
call sym.microClientTemplate.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
cmp dword [ebp - 0x400], 0
je 0x422083
mov eax, dword [ebp - 0x400]
add eax, 0x28
mov dword [ebp - 0x418], eax
jmp 0x42208a
and dword [ebp - 0x418], 0
push 0
mov eax, dword [ebp - 0x400]
add eax, 0x2c
push eax
push dword [ebp - 0x418]
push 0x478ed4
push dword [ebp - 0x44c]
lea ecx, [ebp - 0x1ec]
call sym.microClientTemplate.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CDialogBuilder::Create_class_DuiLib::STRINGorID__wchar_t_const___class_DuiLib::IDialogBuilderCallback___class_DuiLib::CPaintManagerUI___class_DuiLib::CControlUI__
mov dword [ebp - 0x408], eax
jmp 0x42215a
cmp dword [ebp - 0x400], 0
je 0x4220d7
mov eax, dword [ebp - 0x400]
add eax, 0x28
mov dword [ebp - 0x410], eax
jmp 0x4220de
and dword [ebp - 0x410], 0
push 0
mov eax, dword [ebp - 0x400]
add eax, 0x2c
push eax
push dword [ebp - 0x410]
push 0
lea eax, [ebp - 0x378]
push eax
mov eax, dword [ebp - 0x400]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x400]
call dword [eax + 0x24]
mov dword [ebp - 0x43c], eax
mov eax, dword [ebp - 0x43c]
mov dword [ebp - 0x45c], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x45c]
call sym.microClientTemplate.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push ecx
mov ecx, esp
mov dword [ebp - 0x464], esp
push eax
call fcn.004215e1
lea ecx, [ebp - 0x1ec]
call sym.microClientTemplate.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CDialogBuilder::Create_class_DuiLib::STRINGorID__wchar_t_const___class_DuiLib::IDialogBuilderCallback___class_DuiLib::CPaintManagerUI___class_DuiLib::CControlUI__
mov dword [ebp - 0x408], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x378]
call sym.microClientTemplate.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
cmp dword [ebp - 0x408], 0
jne 0x4221af
push 0x10
push str.Duilib
push 0x478eec
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [ebp - 0x408]
mov ecx, dword [ebp - 0x400]
add ecx, 0x2c
call sym.microClientTemplate.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::AttachDialog_class_DuiLib::CControlUI__
cmp dword [ebp - 0x400], 0
je 0x4221dd
mov eax, dword [ebp - 0x400]
add eax, 0x20
mov dword [ebp - 0x414], eax
jmp 0x4221e4
and dword [ebp - 0x414], 0
push dword [ebp - 0x414]
mov ecx, dword [ebp - 0x400]
add ecx, 0x2c
call sym.microClientTemplate.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::AddNotifier_class_DuiLib::INotifyUI__
mov eax, dword [ebp - 0x400]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x400]
call dword [eax + 0x18]
and dword [ebp - 0x42c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call sym.microClientTemplate.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call sym.microClientTemplate.exe_public:_void___thiscall_DuiLib::CDialogBuilder::destructor_void_
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004607fb
mov esp, ebp
pop ebp
ret 0x10