Function at 0x401190
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x330
mov eax, dword [0x5eae84]
xor eax, esp
mov dword [esp + 0x32c], eax
cmp byte [0x641069], 1
push esi
push edi
jne 0x401216
push str._warn_
lea eax, [esp + 0x234]
push 0x80
push eax
call dword [sym.imp.MSVCR110.dll_strcpy_s]
add esp, 0xc
lea eax, [esp + 0x236]
push str.ignore_call_SoundSystem::Initialize._SoundSystem_already_initialized
push 0x7a
push eax
call dword [sym.imp.MSVCR110.dll_sprintf_s]
add esp, 0xc
mov word [esp + eax + 0x236], 0xa
lea eax, [esp + 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
or al, 0xff
pop edi
pop esi
mov ecx, dword [esp + 0x32c]
xor ecx, esp
call fcn.0057d22e
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.MSVCR110.dll_sprintf_s]
push str.sdlibapi_lib_ver_14.7.7.A
lea eax, [esp + 0x2b4]
push 0x80
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0xc
mov word [esp + eax + 0x2b0], 0xa
lea eax, [esp + 0x2b0]
push eax
call edi
inc dword [0x64109c]
push 0x641198
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xorps xmm0, xmm0
movlpd qword [0x641070], xmm0
mov byte [0x641069], 0
mov byte [0x641068], 0
mov ecx, 2
mov byte [0x64106a], 0
mov dword [0x5eaeb0], 0xffffffff
mov dword [0x5eafc0], 0x401000
mov dword [0x5eafb8], 0x401080
mov dword [0x5eafbc], 0x401100
mov dword [0x5eaeb4], 0x401180
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call fcn.00407b00
test al, al
jns 0x40135f
push str._warn_
lea eax, [esp + 0x134]
push 0x80
push eax
call dword [sym.imp.MSVCR110.dll_strcpy_s]
add esp, 0xc
lea eax, [esp + 0x136]
push str._Error__SoundSystem::Initialize__CoreSystem::Initialize_failed
push 0x7a
push eax
call esi
mov word [esp + eax + 0x142], 0xa
add esp, 0xc
lea eax, [esp + 0x130]
push eax
call edi
or al, 0xff
pop edi
pop esi
mov ecx, dword [esp + 0x32c]
xor ecx, esp
call fcn.0057d22e
mov esp, ebp
pop ebp
ret
call fcn.00408eb0
test al, al
jns 0x4013b5
push str._warn_
lea eax, [esp + 0x34]
push 0x80
push eax
call dword [sym.imp.MSVCR110.dll_strcpy_s]
add esp, 0xc
lea eax, [esp + 0x36]
push str.DelegateManager::Initialize_failed
push 0x7a
push eax
call esi
mov word [esp + eax + 0x42], 0xa
add esp, 0xc
lea eax, [esp + 0x30]
push eax
call edi
or al, 0xff
pop edi
pop esi
mov ecx, dword [esp + 0x32c]
xor ecx, esp
call fcn.0057d22e
mov esp, ebp
pop ebp
ret
call fcn.00409da0
test al, al
jns 0x401417
push str._warn_
lea eax, [esp + 0xb4]
push 0x80
push eax
call dword [sym.imp.MSVCR110.dll_strcpy_s]
add esp, 0xc
lea eax, [esp + 0xb6]
push str.ActionManager::Initialize_failed
push 0x7a
push eax
call esi
mov word [esp + eax + 0xc2], 0xa
add esp, 0xc
lea eax, [esp + 0xb0]
push eax
call edi
or al, 0xff
pop edi
pop esi
mov ecx, dword [esp + 0x32c]
xor ecx, esp
call fcn.0057d22e
mov esp, ebp
pop ebp
ret
push ecx
call fcn.004098f0
lea ecx, [esp + 0xc]
call fcn.00408090
test al, al
jns 0x401483
push str._warn_
lea eax, [esp + 0x1b4]
push 0x80
push eax
call dword [sym.imp.MSVCR110.dll_strcpy_s]
add esp, 0xc
lea eax, [esp + 0x1b6]
push str.CategoryManager::Initialize_failed
push 0x7a
push eax
call esi
mov word [esp + eax + 0x1c2], 0xa
add esp, 0xc
lea eax, [esp + 0x1b0]
push eax
call edi
or al, 0xff
pop edi
pop esi
mov ecx, dword [esp + 0x32c]
xor ecx, esp
call fcn.0057d22e
mov esp, ebp
pop ebp
ret
call fcn.004077b0
mov ecx, dword [esp + 0x334]
pop edi
pop esi
mov dword [0x641070], eax
xor ecx, esp
mov dword [0x641074], edx
mov byte [0x641069], 1
xor al, al
call fcn.0057d22e
mov esp, ebp
pop ebp
ret