Function at 0x5ee110
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2024
call fcn.00660af0
mov eax, dword [0x867e6c]
xor eax, esp
mov dword [esp + 0x2020], eax
cmp byte [0x88b625], 0
push ebx
push esi
push edi
je 0x5ee385
push 0x8c0b00
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
push 0x82b0d4
push str.mem_leaks.txt
mov dword [esp + 0x18], 0
call fcn.00644aa4
mov esi, eax
add esp, 8
mov dword [esp + 0x14], esi
test esi, esi
je 0x5ee37a
push 0
call fcn.00644e55
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x2c], edx
call fcn.006449b9
push eax
call fcn.00648fe1
push eax
lea ecx, [esp + 0x38]
push str.Memory_Leak_Report_for__s_n
push ecx
call fcn.006456f4
lea edx, [esp + 0x40]
push edx
push 0x82b0d0
push esi
call fcn.00648cf7
mov esi, dword [sym.imp.kernel32.dll_OutputDebugStringA]
add esp, 0x24
push 0x81da74
call esi
lea eax, [esp + 0x28]
push eax
call esi
mov ecx, dword [0x8c0af8]
mov esi, dword [ecx]
mov edi, dword [0x8c0ae0]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], esi
lea ecx, [ecx]
mov ebx, dword [0x8c0af8]
test edi, edi
je 0x5ee1f2
cmp edi, dword [0x8c0ae0]
je 0x5ee1f7
call fcn.006441b7
cmp esi, ebx
je 0x5ee307
test edi, edi
jne 0x5ee2e7
call fcn.006441b7
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x5ee218
call fcn.006441b7
cmp dword [esi + 0x10], 1
mov ebx, 0x82b104
jg 0x5ee228
mov ebx, 0x81d304
test edi, edi
jne 0x5ee2ee
call fcn.006441b7
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x5ee241
call fcn.006441b7
test edi, edi
jne 0x5ee2f5
call fcn.006441b7
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x5ee25a
call fcn.006441b7
test edi, edi
jne 0x5ee2fc
call fcn.006441b7
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x5ee273
call fcn.006441b7
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x11c]
push ebx
push edx
push eax
lea ecx, [esi + 0x14]
push ecx
lea edx, [esp + 0x38]
push str._s__d__:_Leak__d_byte_s_n
push edx
call fcn.006456f4
add esp, 0x18
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x28]
push ecx
push 0x82b0d0
push edx
call fcn.00648cf7
add esp, 0xc
test edi, edi
jne 0x5ee303
call fcn.006441b7
cmp esi, dword [edi + 0x18]
jne 0x5ee2ca
call fcn.006441b7
mov eax, dword [esi + 0x10]
add dword [esp + 0x10], eax
lea esi, [esp + 0x18]
call fcn.005ee9f0
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
jmp 0x5ee1e0
mov eax, dword [edi]
jmp 0x5ee20e
mov eax, dword [edi]
jmp 0x5ee237
mov eax, dword [edi]
jmp 0x5ee250
mov eax, dword [edi]
jmp 0x5ee269
mov edi, dword [edi]
jmp 0x5ee2c0
lea ecx, [esp + 0x28]
push str.____________________________________________________________n
push ecx
call fcn.006456f4
mov edi, dword [esp + 0x1c]
lea edx, [esp + 0x30]
push edx
push 0x82b0d0
push edi
call fcn.00648cf7
mov esi, dword [sym.imp.kernel32.dll_OutputDebugStringA]
add esp, 0x14
lea eax, [esp + 0x28]
push eax
call esi
mov ecx, dword [esp + 0x10]
mov eax, ecx
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
push eax
push ecx
lea ecx, [esp + 0x30]
push str.Total_Unfreed:__d_bytes___dKB__n_n
push ecx
call fcn.006456f4
add esp, 0x10
lea edx, [esp + 0x28]
push edx
call esi
lea eax, [esp + 0x28]
push eax
push 0x82b0d0
push edi
call fcn.00648cf7
add esp, 0xc
push 0x8c0b00
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
mov ecx, dword [esp + 0x202c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00643db8
mov esp, ebp
pop ebp
ret