Function at 0x10068080
Capabilities:
Print debug messages

Disassembly:
push 0x224
mov eax, 0x100e45e1
call fcn.10001b03
mov esi, ecx
mov eax, dword [esi + 0x10]
sub eax, 1
je 0x1006809e
sub eax, 3
jne 0x100680a5
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x54]
and dword [ebp - 0x218], 0
mov ebx, dword [esi]
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov dword [ebp - 0x22c], eax
mov edi, 0x100
mov eax, dword [esi + 0xc]
shr eax, 5
and eax, 0xffffff01
mov byte [ebp - 0x211], 0
mov dword [ebp - 0x224], eax
test dword [esi + 0xc], edi
je 0x10068261
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
test dword [esi + 0xc], edi
jne 0x1006828c
jmp 0x10068261
cmp byte [ebp - 0x212], 0
je 0x10068261
mov edi, dword [ebp - 0x218]
mov eax, dword [ebp - 0x224]
lea ecx, [edi + 0x18]
test al, al
jne 0x10068117
mov ecx, edi
add ecx, 8
xor edx, edx
test al, al
mov dword [ebp - 0x230], ecx
cmove edi, edx
cmp byte [ebp - 0x211], dl
jne 0x100681a5
test dword [esi + 0xc], 0x100
je 0x1006815b
test al, al
je 0x1006814e
mov eax, dword [ebp - 0x22c]
cmp dword [edi + 4], eax
jne 0x1006825c
and dword [edi + 4], edx
push str._r_nGlobal_memory_allocations__not_freed__by_this_request__not_necessarily_a_leak__r_n
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
jmp 0x10068192
push ecx
lea ecx, [ebp - 0x21c]
call fcn.10001e94
xor ecx, ecx
push str._r_nDetected_memory_leaks__r_n
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [vtable.VprocessGlobals.0]
push ecx
push 0x1017e06c
call dword [eax + 0x24]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
add esp, 0x10
call fcn.10002232
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x230]
mov byte [ebp - 0x211], 1
test al, al
je 0x100681dd
push dword [edi + 0xc]
cmp dword [edi + 8], 0
mov eax, 0x100ee700
cmovne eax, dword [edi + 8]
push eax
push 0
push dword [edi + 0x10]
lea eax, [edi + 0x18]
push eax
push dword [edi]
lea eax, [ebp - 0x210]
push str.Memory_leak:__Allocation__08d__Address_0x_08p_total__I64u_bytes__n_____________in__s_at_line__d_n
push 0xffffffffffffffff
push eax
call sym.fpsrvutl.dll_Ordinal_2082
add esp, 0x24
jmp 0x10068200
mov eax, dword [ebp - 0x228]
push 0
add eax, 0xfffffffc
push eax
push ecx
push str.Memory_leak:_Address_0x_08p_approximate_total__I64u_bytes__n
lea eax, [ebp - 0x210]
push 0xffffffffffffffff
push eax
call sym.fpsrvutl.dll_Ordinal_2082
add esp, 0x18
mov edi, 0x100
mov byte [ebp - 0x11], 0
test dword [esi + 0xc], edi
je 0x1006821d
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
jmp 0x10068261
push ecx
lea ecx, [ebp - 0x220]
call fcn.10001e94
lea ecx, [ebp - 0x210]
mov dword [ebp - 4], 1
mov eax, dword [vtable.VprocessGlobals.0]
push ecx
push 0
push 0
push 0x1017e06c
call dword [eax + 0x24]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
add esp, 0x10
call fcn.10002232
jmp 0x10068261
mov edi, 0x100
mov eax, dword [ebx]
lea ecx, [ebp - 0x228]
push ecx
lea ecx, [ebp - 0x218]
push ecx
mov eax, dword [eax + 0x30]
lea ecx, [ebp - 0x212]
push ecx
mov ecx, ebx
call eax
test al, al
jne 0x100680f5
test dword [esi + 0xc], edi
je 0x10068293
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
call fcn.10001b39
ret