Function at 0x1007e22e
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dc145
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10145188]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp - 4], 0
mov ebx, 8
cmp eax, 4
ja case.default.0x1007e141
jmp dword [eax*4 + 0x1007e2bc]
lea ecx, [ebp - 0x10]
call dword [0x100ec970]
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x14]
cmp dword [ebp + 0x28], ebx
jae 0x1007e160
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x10]
push str.uiMainWindow
push eax
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov ecx, dword [ebp - 0x10]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0x10]
push edx
push 1
call dword [sym.imp.Common.dll_int___cdecl_COMMON::WriteLog_int__wchar_t_const__]
mov edi, dword [esi + 0x20]
lea eax, [esi + 0x10]
add esp, 8
cmp dword [eax + 0x14], ebx
jb 0x1007e199
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 0x24]
lea ecx, [ebp + 0x14]
call fcn.100168f0
test eax, eax
jne 0x1007e28a
push eax
push eax
push eax
push str.LOAD_ERROR
lea ecx, [esi - 0x38c]
call dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::GetRoot_void_const]
push eax
lea ecx, [esi - 0x38c]
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_]
jmp 0x1007e28a
lea ecx, [ebp - 0x10]
call dword [0x100ec970]
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x14]
cmp dword [ebp + 0x28], ebx
jae 0x1007e1eb
lea eax, [ebp + 0x14]
push eax
push 0x100fb65c
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov ecx, dword [ebp - 0x10]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0x10]
push edx
jmp 0x1007e27f
lea ecx, [ebp - 0x10]
call dword [0x100ec970]
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0x14]
cmp dword [ebp + 0x28], ebx
jae 0x1007e226
lea eax, [ebp + 0x14]
push eax
push 0x100fb684
jmp 0x1007e1f1
lea ecx, [ebp - 0x10]
call dword [0x100ec970]
mov byte [ebp - 4], 4
mov eax, dword [ebp + 0x14]
cmp dword [ebp + 0x28], ebx
jae 0x1007e246
lea eax, [ebp + 0x14]
push eax
push 0x100fb6a4
jmp 0x1007e1f1
lea ecx, [ebp - 0x10]
call dword [0x100ec970]
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x10]
push 0x100fb6b8
push ecx
mov byte [ebp - 4], 5
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov edx, dword [ebp - 0x10]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x10]
push eax
push 1
call dword [sym.imp.Common.dll_int___cdecl_COMMON::WriteLog_int__wchar_t_const__]
add esp, 8
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
cmp dword [ebp + 0x28], ebx
jb 0x1007e2a5
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.mfc100u.dll_delete_1]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28