Function at 0x44a260
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46e1f2
push eax
mov dword fs:[0], esp
sub esp, 0x210
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, dword [esi + 0xdc]
cmp eax, ebx
je 0x44a5a9
push 0xb004
push str.ItemEngi.dll
call eax
add esp, 8
cmp eax, ebx
mov dword [0x4d7620], eax
jne 0x44a300
push ebx
push 0x4872c8
push str.g_pItemEngine
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
push str.CNewDDZApp::ItemCtlLoad___g_pItemEngineNULL
lea eax, [esp + 0x10]
push 0x4800dc
push eax
mov dword [esp + 0x230], ebx
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esp + 0x224], 0xffffffff
lea ecx, [esp + 0xc]
jmp 0x44a5ee
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x119]
mov byte [esp + 0x118], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x14]
push 0x104
push edx
push ebx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x44a36e
mov edi, dword [sym.imp.MSVCRT.dll__mbsrchr]
lea eax, [esp + 0x14]
push 0x5c
push eax
call edi
add esp, 8
cmp eax, ebx
je 0x44a35b
mov byte [eax], bl
lea ecx, [esp + 0x14]
push 0x5c
push ecx
call edi
add esp, 8
cmp eax, ebx
je 0x44a36e
mov byte [eax + 1], bl
mov eax, dword [0x484b40]
cmp eax, ebx
je 0x44a37c
lea edx, [eax + 0x14]
jmp 0x44a37e
xor edx, edx
mov eax, dword [0x484b44]
cmp eax, ebx
je 0x44a38c
add eax, 0x14
jmp 0x44a38e
xor eax, eax
mov ecx, dword [0x4d7620]
push 0x487b64
push 0x487c88
push 0x487b68
mov edi, dword [ecx]
push edx
push eax
push 0x487c84
push 0x5a
call dword [edi + 0x10]
test eax, eax
jne 0x44a40b
push ebx
push ebx
push str.g_pItemEngine_Initialize_failed
call sub.MFC42.DLL_AfxMessageBox_1
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
push str.CNewDDZApp::ItemCtlLoad___g_pItemEngine_Initialize_failed
lea edx, [esp + 0x10]
push 0x4800dc
push edx
mov dword [esp + 0x230], 1
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x18]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esp + 0x224], 0xffffffff
lea ecx, [esp + 0xc]
jmp 0x44a5ee
lea ecx, [esp + 0x14]
lea edx, [esp + 0x118]
push ecx
push str._sItemDisp.dll
push 0x103
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea eax, [esp + 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [esi + 0xe4], eax
jne 0x44a49f
push ebx
push 0x484a64
push 0x484a4c
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
push str.CNewDDZApp::ItemCtlLoad__
lea ecx, [esp + 0x10]
push 0x4800dc
push ecx
mov dword [esp + 0x230], 2
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x18]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esp + 0x224], 0xffffffff
lea ecx, [esp + 0xc]
jmp 0x44a5ee
push str.CreateObject
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x6000001
mov dword [esi + 0xe8], eax
call eax
push 0x6000002
mov dword [0x4d7618], eax
call dword [esi + 0xe8]
add esp, 8
mov ecx, 0x4a9158
mov dword [0x4d761c], eax
call fcn.0041f800
mov ecx, 0x4a9158
mov esi, eax
call fcn.0041f800
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test eax, eax
je 0x44a536
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
push str.g_Exchange.GetSite_____NULL___________OK
lea eax, [esp + 0x10]
push 0x4800dc
push eax
mov dword [esp + 0x230], 3
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ecx
call edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x224], 0xffffffff
call sub.MFC42.DLL_CString::CString
cmp esi, ebx
je 0x44a5a5
mov ecx, dword [0x4d761c]
push esi
mov edx, dword [ecx]
call dword [edx + 0xc]
mov edx, dword [0x4d761c]
mov ecx, dword [0x4d7620]
push edx
mov edx, dword [0x4d7618]
mov eax, dword [ecx]
push edx
call dword [eax + 0x14]
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
push str.CNewDDZApp::ItemCtlLoad___:_SetChannelInterface
lea eax, [esp + 0x10]
push 0x4800dc
push eax
mov dword [esp + 0x230], 4
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ecx
call edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x224], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, 1
jmp 0x44a5f5
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
push str.CNewDDZApp::ItemCtlLoad___failed___________________1
lea edx, [esp + 0x14]
push 0x4800dc
push edx
mov dword [esp + 0x230], 5
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x1c]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esp + 0x224], 0xffffffff
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
xor al, al
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x21c
ret