Function at 0x467cf0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor ebp, ebp
push str.DDRAW.DLL
mov dword [esp + 0x14], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], ebp
call edi
mov esi, eax
cmp esi, ebp
jne 0x467d30
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x88
ret
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DirectDrawCreate
push esi
call ebx
cmp eax, ebp
jne 0x467d61
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.Couldnt_LoadLibrary_DDraw_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x88
ret
lea ecx, [esp + 0x10]
push ebp
push ecx
push ebp
call eax
test eax, eax
jge 0x467d8d
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.Couldnt_create_DDraw_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x88
ret
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
push 0x476d18
mov edx, dword [eax]
push eax
call dword [edx]
test eax, eax
jge 0x467dd0
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.Couldnt_QI_DDraw2_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebp
mov eax, 0x100
pop ebx
add esp, 0x88
ret
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push str.DINPUT.DLL
call edi
mov edi, eax
cmp edi, ebp
jne 0x467e0c
push str.Couldnt_LoadLibrary_DInput_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
pop edi
pop esi
pop ebp
mov eax, 0x200
pop ebx
add esp, 0x88
ret
push str.DirectInputCreateA
push edi
call ebx
test eax, eax
push edi
jne 0x467e49
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
call edi
push esi
call edi
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push str.Couldnt_GetProcAddress_DInputCreate_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebp
mov eax, 0x200
pop ebx
add esp, 0x88
ret
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
call ebx
mov ecx, 0x1b
xor eax, eax
lea edi, [esp + 0x2c]
push 8
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], 0x6c
mov dword [esp + 0x34], 1
mov dword [esp + 0x98], 0x200
mov edx, dword [eax]
push ebp
push eax
call dword [edx + 0x50]
test eax, eax
mov eax, dword [esp + 0x10]
jge 0x467eaf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push esi
call ebx
push str.Couldnt_Set_coop_level_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x88
ret
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ebp
push ecx
lea ecx, [esp + 0x34]
push ecx
push eax
call dword [edx + 0x18]
test eax, eax
jge 0x467ee9
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
push esi
call ebx
push str.Couldnt_CreateSurface_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x88
ret
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
push 0x476cf8
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jge 0x467f1d
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push esi
call ebx
pop edi
pop esi
pop ebp
mov eax, 0x300
pop ebx
add esp, 0x88
ret
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push 0x476ce8
mov edx, dword [eax]
push eax
call dword [edx]
test eax, eax
jge 0x467f51
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
push esi
call ebx
pop edi
pop esi
pop ebp
mov eax, 0x500
pop ebx
add esp, 0x88
ret
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
push ebp
mov dword [esp + 0x1c], ebp
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x18]
push eax
push 0x476c88
push 1
push ebp
push 0x476c98
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x467faa
push str.Couldnt_create_CLSID_DirectMusic_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call ebx
pop edi
pop esi
pop ebp
mov eax, 0x600
pop ebx
add esp, 0x88
ret
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
push str.DirectDrawCreateEx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
jne 0x467fdd
push esi
call ebx
pop edi
pop esi
pop ebp
mov eax, 0x601
pop ebx
add esp, 0x88
ret
push ebp
lea edx, [esp + 0x28]
push 0x476d08
push edx
push ebp
call eax
test eax, eax
jge 0x468002
push esi
call ebx
pop edi
pop esi
pop ebp
mov eax, 0x601
pop ebx
add esp, 0x88
ret
mov eax, dword [esp + 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push str.D3D8.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push esi
cmp edi, ebp
jne 0x468030
call ebx
pop edi
pop esi
pop ebp
mov eax, 0x700
pop ebx
add esp, 0x88
ret
call ebx
push edi
call ebx
pop edi
pop esi
pop ebp
mov eax, 0x800
pop ebx
add esp, 0x88
ret