Function at 0x100ea7c0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push esi
push edi
lea edi, [ebp - 0x124]
mov ecx, 0x49
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x10196d40]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, byte [0x101df858]
test eax, eax
je 0x100ea7f9
mov al, 1
jmp 0x100eaa6d
mov esi, esp
push str.debugmenu
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp esi, esp
call fcn.10101c62
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100ea8b8
mov esi, esp
lea ecx, [ebp - 0x11c]
push ecx
push 0x101df858
push 6
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
cmp esi, esp
call fcn.10101c62
mov esi, esp
push 0x104
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp esi, esp
call fcn.10101c62
push 0x5c
lea ecx, [ebp - 0x110]
push ecx
call fcn.100e9100
add esp, 8
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x100ea88b
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 0x124]
mov byte [eax + edx], 0
push str.debugmenu
lea ecx, [ebp - 0x110]
push ecx
call fcn.1010b580
add esp, 8
mov esi, esp
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp esi, esp
call fcn.10101c62
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100ea8c5
xor al, al
jmp 0x100eaa6d
mov esi, esp
push str.DebugMenuAddInt8
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.10101c62
mov dword [0x101df860], eax
mov esi, esp
push str.DebugMenuAddInt16
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.10101c62
mov dword [0x101df864], eax
mov esi, esp
push str.DebugMenuAddInt32
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.10101c62
mov dword [0x101df868], eax
mov esi, esp
push str.DebugMenuAddInt64
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.10101c62
mov dword [0x101df86c], eax
mov esi, esp
push str.DebugMenuAddUInt8
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.10101c62
mov dword [0x101df870], eax
mov esi, esp
push str.DebugMenuAddUInt16
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.10101c62
mov dword [0x101df874], eax
mov esi, esp
push str.DebugMenuAddUInt32
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.10101c62
mov dword [0x101df878], eax
mov esi, esp
push str.DebugMenuAddUInt64
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.10101c62
mov dword [0x101df87c], eax
mov esi, esp
push str.DebugMenuAddFloat32
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.10101c62
mov dword [0x101df880], eax
mov esi, esp
push str.DebugMenuAddFloat64
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.10101c62
mov dword [0x101df884], eax
mov esi, esp
push str.DebugMenuAddCmd
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.10101c62
mov dword [0x101df888], eax
mov esi, esp
push str.DebugMenuEntrySetWrap
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.10101c62
mov dword [0x101df88c], eax
mov esi, esp
push str.DebugMenuEntrySetStrings
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.10101c62
mov dword [0x101df890], eax
mov esi, esp
push str.DebugMenuEntrySetAddress
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.10101c62
mov dword [0x101df894], eax
mov byte [0x101df858], 1
mov edx, dword [ebp - 8]
mov dword [0x101df85c], edx
mov al, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x100eaa9c]
call fcn.10101c0e
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10101c85
add esp, 0x124
cmp ebp, esp
call fcn.10101c62
mov esp, ebp
pop ebp
ret