Function at 0x1005db20
Capabilities:
Link many functions at runtime
Print debug messages
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov byte [ebp - 1], 1
mov dword [ebp - 8], 0
push str.Debug_Init
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1005db54
mov ecx, dword [ebp - 8]
mov dword [0x100fa7e0], ecx
jmp 0x1005db7e
mov byte [ebp - 1], 0
push 0x100d44b0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0x100d44d4
push str.dll_not_found_api____Debug_Init_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0xffffffffffffffff
call fcn.100ad872
push str.Debug_UnInit
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1005dba0
mov eax, dword [ebp - 8]
mov dword [0x100fa7e4], eax
jmp 0x1005dbca
mov byte [ebp - 1], 0
push 0x100d4534
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0x100d44d4
push str.dll_not_found_api____Debug_UnInit_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0xffffffffffffffff
call fcn.100ad872
push str.Debug_IsInit
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1005dbed
mov edx, dword [ebp - 8]
mov dword [0x100fa7e8], edx
jmp 0x1005dc17
mov byte [ebp - 1], 0
push 0x100d45b0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0x100d44d4
push str.dll_not_found_api____Debug_IsInit_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0xffffffffffffffff
call fcn.100ad872
push str.Debug_LogSetEnable
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1005dc3a
mov ecx, dword [ebp - 8]
mov dword [0x100fa7ec], ecx
jmp 0x1005dc64
mov byte [ebp - 1], 0
push 0x100d4634
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0x100d44d4
push str.dll_not_found_api____Debug_LogSetEnable_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0xffffffffffffffff
call fcn.100ad872
push str.Debug_LogGetEnable
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1005dc86
mov eax, dword [ebp - 8]
mov dword [0x100fa7f0], eax
jmp 0x1005dcb0
mov byte [ebp - 1], 0
push 0x100d46c8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0x100d44d4
push str.dll_not_found_api____Debug_LogGetEnable_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0xffffffffffffffff
call fcn.100ad872
push str.Debug_LogSetLevel
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1005dcd3
mov edx, dword [ebp - 8]
mov dword [0x100fa7f4], edx
jmp 0x1005dcfd
mov byte [ebp - 1], 0
push 0x100d4760
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0x100d44d4
push str.dll_not_found_api____Debug_LogSetLevel_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0xffffffffffffffff
call fcn.100ad872
push str.Debug_LogGetLevel
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1005dd20
mov ecx, dword [ebp - 8]
mov dword [0x100fa7f8], ecx
jmp 0x1005dd4a
mov byte [ebp - 1], 0
push 0x100d47ec
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0x100d44d4
push str.dll_not_found_api____Debug_LogGetLevel_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0xffffffffffffffff
call fcn.100ad872
push str.Debug_LogA
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1005dd6c
mov eax, dword [ebp - 8]
mov dword [0x100fa7fc], eax
jmp 0x1005dd96
mov byte [ebp - 1], 0
push 0x100d4874
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0x100d44d4
push str.dll_not_found_api____Debug_LogA_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0xffffffffffffffff
call fcn.100ad872
push str.Debug_LogW
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1005ddb9
mov edx, dword [ebp - 8]
mov dword [0x100fa800], edx
jmp 0x1005dde3
mov byte [ebp - 1], 0
push 0x100d48e8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0x100d44d4
push str.dll_not_found_api____Debug_LogW_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0xffffffffffffffff
call fcn.100ad872
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret