Function at 0x59b5e0
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 0x59b614
mov ecx, dword [ebp - 8]
mov dword [0x71562c], ecx
jmp 0x59b63e
mov byte [ebp - 1], 0
push 0x6a6af4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0x69b0bc
push str.dll_not_found_api____Debug_Init_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0xffffffffffffffff
call fcn.00616f4b
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 0x59b660
mov eax, dword [ebp - 8]
mov dword [0x715630], eax
jmp 0x59b68a
mov byte [ebp - 1], 0
push 0x6a6b6c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0x69b0bc
push str.dll_not_found_api____Debug_UnInit_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0xffffffffffffffff
call fcn.00616f4b
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 0x59b6ad
mov edx, dword [ebp - 8]
mov dword [0x715634], edx
jmp 0x59b6d7
mov byte [ebp - 1], 0
push 0x6a6be8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0x69b0bc
push str.dll_not_found_api____Debug_IsInit_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0xffffffffffffffff
call fcn.00616f4b
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 0x59b6fa
mov ecx, dword [ebp - 8]
mov dword [0x715638], ecx
jmp 0x59b724
mov byte [ebp - 1], 0
push 0x6a6c6c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0x69b0bc
push str.dll_not_found_api____Debug_LogSetEnable_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0xffffffffffffffff
call fcn.00616f4b
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 0x59b746
mov eax, dword [ebp - 8]
mov dword [0x71563c], eax
jmp 0x59b770
mov byte [ebp - 1], 0
push 0x6a6d00
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0x69b0bc
push str.dll_not_found_api____Debug_LogGetEnable_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0xffffffffffffffff
call fcn.00616f4b
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 0x59b793
mov edx, dword [ebp - 8]
mov dword [0x715640], edx
jmp 0x59b7bd
mov byte [ebp - 1], 0
push 0x6a6d98
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0x69b0bc
push str.dll_not_found_api____Debug_LogSetLevel_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0xffffffffffffffff
call fcn.00616f4b
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 0x59b7e0
mov ecx, dword [ebp - 8]
mov dword [0x715644], ecx
jmp 0x59b80a
mov byte [ebp - 1], 0
push 0x6a6e24
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0x69b0bc
push str.dll_not_found_api____Debug_LogGetLevel_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0xffffffffffffffff
call fcn.00616f4b
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 0x59b82c
mov eax, dword [ebp - 8]
mov dword [0x715648], eax
jmp 0x59b856
mov byte [ebp - 1], 0
push 0x6a6eac
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0x69b0bc
push str.dll_not_found_api____Debug_LogA_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0xffffffffffffffff
call fcn.00616f4b
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 0x59b879
mov edx, dword [ebp - 8]
mov dword [0x71564c], edx
jmp 0x59b8a3
mov byte [ebp - 1], 0
push 0x6a6f20
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0x69b0bc
push str.dll_not_found_api____Debug_LogW_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0xffffffffffffffff
call fcn.00616f4b
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret