Function at 0x4636f9
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48d38a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x23c
push edi
mov dword [ebp - 0x240], ecx
mov eax, dword [ebp - 0x240]
cmp dword [eax + 0xdc], 0
je 0x463b74
push 0xb004
push str.ItemEngi.dll
mov ecx, dword [ebp - 0x240]
call dword [ecx + 0xdc]
add esp, 8
mov dword [0x4f7218], eax
cmp dword [0x4f7218], 0
jne 0x4637c2
push 0
push 0x4d5888
push str.g_pItemEngine
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x228]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 0
push str.CNewDDZApp::ItemCtlLoad___g_pItemEngineNULL
push 0x4a3a1c
lea edx, [ebp - 0x228]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x228]
call fcn.00402e50
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call sub.MFC42.DLL_CString::CString
xor al, al
jmp 0x463bc5
mov byte [ebp - 0x114], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x21c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x21b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x118], 0
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x463869
push 0x5c
lea ecx, [ebp - 0x114]
push ecx
call fcn.004031a0
add esp, 8
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
je 0x46383f
mov edx, dword [ebp - 0x118]
mov byte [edx], 0
push 0x5c
lea eax, [ebp - 0x114]
push eax
call fcn.004031a0
add esp, 8
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
je 0x463869
mov ecx, dword [ebp - 0x118]
mov byte [ecx + 1], 0
mov dword [ebp - 0x224], 0x5a
mov ecx, 0x4c8d68
call fcn.00404a50
mov dword [ebp - 0x10], eax
cmp dword [0x4a3f98], 0
je 0x46389a
mov edx, dword [0x4a3f98]
add edx, 0x14
mov dword [ebp - 0x244], edx
jmp 0x4638a4
mov dword [ebp - 0x244], 0
cmp dword [0x4a3f9c], 0
je 0x4638bd
mov eax, dword [0x4a3f9c]
add eax, 0x14
mov dword [ebp - 0x248], eax
jmp 0x4638c7
mov dword [ebp - 0x248], 0
push 0x4a773c
push 0x4a7860
push 0x4a7740
mov ecx, dword [ebp - 0x244]
push ecx
mov edx, dword [ebp - 0x248]
push edx
push 0x4a785c
mov eax, dword [ebp - 0x224]
push eax
mov ecx, dword [0x4f7218]
mov edx, dword [ecx]
mov ecx, dword [0x4f7218]
call dword [edx + 0x10]
test eax, eax
jne 0x463969
push 0
push 0
push str.g_pItemEngine_Initialize_failed
call sub.MFC42.DLL_AfxMessageBox_1
lea ecx, [ebp - 0x22c]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 1
push str.CNewDDZApp::ItemCtlLoad___g_pItemEngine_Initialize_failed
push 0x4a3a90
lea eax, [ebp - 0x22c]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x22c]
call fcn.00402e50
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call sub.MFC42.DLL_CString::CString
xor al, al
jmp 0x463bc5
lea ecx, [ebp - 0x114]
push ecx
push str._sItemDisp.dll
push 0x103
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 0x240]
mov dword [ecx + 0xe4], eax
mov edx, dword [ebp - 0x240]
cmp dword [edx + 0xe4], 0
jne 0x463a1c
push 0
push 0x4a3ab8
push 0x4a3ac0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x230]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 2
push str.CNewDDZApp::ItemCtlLoad__
push 0x4a3b08
lea eax, [ebp - 0x230]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x230]
call fcn.00402e50
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call sub.MFC42.DLL_CString::CString
xor al, al
jmp 0x463bc5
push str.CreateObject
mov ecx, dword [ebp - 0x240]
mov edx, dword [ecx + 0xe4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x240]
mov dword [ecx + 0xe8], eax
push 0x6000001
mov edx, dword [ebp - 0x240]
call dword [edx + 0xe8]
add esp, 4
mov dword [0x4f7210], eax
push 0x6000002
mov eax, dword [ebp - 0x240]
call dword [eax + 0xe8]
add esp, 4
mov dword [0x4f7214], eax
mov ecx, 0x4c8d30
call fcn.0042aa94
mov dword [ebp - 0x220], eax
mov ecx, 0x4c8d30
call fcn.0042aa94
test eax, eax
je 0x463adf
lea ecx, [ebp - 0x234]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 3
push str.g_Exchange.GetSite_____NULL___________OK
push 0x4a3b5c
lea ecx, [ebp - 0x234]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x234]
call fcn.00402e50
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0x220], 0
je 0x463b70
mov edx, dword [ebp - 0x220]
push edx
mov eax, dword [0x4f7214]
mov edx, dword [eax]
mov ecx, dword [0x4f7214]
call dword [edx + 0xc]
mov eax, dword [0x4f7214]
push eax
mov ecx, dword [0x4f7210]
push ecx
mov edx, dword [0x4f7218]
mov eax, dword [edx]
mov ecx, dword [0x4f7218]
call dword [eax + 0x14]
lea ecx, [ebp - 0x238]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 4
push str.CNewDDZApp::ItemCtlLoad___:_SetChannelInterface
push 0x4a3ba4
lea ecx, [ebp - 0x238]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x238]
call fcn.00402e50
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call sub.MFC42.DLL_CString::CString
mov al, 1
jmp 0x463bc5
lea ecx, [ebp - 0x23c]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 5
push str.CNewDDZApp::ItemCtlLoad___failed___________________1
push 0x4a3bf4
lea edx, [ebp - 0x23c]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x23c]
call fcn.00402e50
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x23c]
call sub.MFC42.DLL_CString::CString
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret