Function at 0x416db0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x45370b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
push ebp
mov ebp, ecx
push esi
push edi
xor esi, esi
mov ecx, 0x1d
xor eax, eax
lea edi, [ebp + 0x2f98]
mov dword [ebp + 0x35e8], esi
mov dword [ebp + 0x35e4], esi
mov dword [ebp + 0x35f0], esi
mov dword [ebp + 0x35ec], esi
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CStdioFile::CStdioFile
mov eax, dword [0x48ec18]
mov dword [esp + 0x130], esi
cmp eax, esi
jle 0x416f66
push esi
push esi
push 0x48ec1c
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CStdioFile::Open
test eax, eax
je 0x416e34
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CStdioFile::Close
cmp dword [0x48ec18], esi
jle 0x416f66
cmp dword [esp + 0x14], esi
jne 0x416f66
call sub.MagicShow.dll_Ordinal_2
mov ebx, dword [0x48f130]
cmp dword [ebx + 8], esi
jne 0x416f44
cmp dword [ebx + 4], esi
jne 0x416f06
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x24], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [esp + 0x24]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x24]
push 0x5c
push edx
call dword [sym.imp.MSVCRT.dll__mbsrchr]
add esp, 8
cmp eax, esi
je 0x416eac
mov byte [eax + 1], 0
mov edi, str...LogicAvMgrGm.dll
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x24]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [ebx + 4], eax
jne 0x416f04
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.ERROR:_Load_advertisement_manager_for_game_DLL_fail._Path:
call edi
lea ecx, [esp + 0x24]
push ecx
call edi
xor esi, esi
jmp 0x416f0c
xor esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebx + 4]
cmp eax, esi
je 0x416f44
push str.CreateObject
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x416f3d
push 0x1f001
call eax
add esp, 4
cmp eax, esi
je 0x416f36
mov dword [ebx + 8], eax
jmp 0x416f44
push str.ERROR:_Cannt_create_Advertisement_Manager_Object._n
jmp 0x416f42
push str.ERROR:_Cannt_find_CreateObject___in_Advertisement_Manager_DLL._n
call edi
mov ebx, dword [ebx + 8]
cmp ebx, esi
je 0x416f66
cmp dword [0x48ec18], esi
jle 0x416f66
mov edx, dword [ebx]
push esi
push esi
push esi
push 2
push 0x32
push str.DDP_Startup
mov ecx, ebx
call dword [edx + 0x14]
lea ecx, [ebp + 4]
call fcn.0041a7d0
mov ecx, 0x48b238
call fcn.0042dd90
mov eax, dword [0x48f138]
push 3
push 0xc
lea ecx, [eax + 0x34]
call fcn.00403df0
lea edx, [ebp + 0x300c]
mov ecx, 0xd
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
mov dword [edx], 0xffffffff
mov dword [esp + 0x130], 0xffffffff
call fcn.004328ec
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x124
ret