Function at 0x1007f576
Capabilities:
Print debug messages

Disassembly:
push 0x224
mov eax, 0x100e3a17
call fcn.10001af6
mov esi, ecx
mov eax, dword [esi + 0x10]
sub eax, 1
je 0x1007f594
sub eax, 3
jne 0x1007f59b
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 ecx, dword [esi + 0xc]
mov edi, 0x100
mov dword [ebp - 0x22c], eax
mov eax, ecx
shr eax, 5
and eax, 0xffffff01
mov byte [ebp - 0x211], 0
mov dword [ebp - 0x224], eax
test edi, ecx
je 0x1007f75a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
mov ecx, dword [esi + 0xc]
test edi, ecx
jne 0x1007f780
jmp 0x1007f75a
cmp byte [ebp - 0x212], 0
je 0x1007f75a
mov edi, dword [ebp - 0x218]
mov eax, dword [ebp - 0x224]
lea ecx, [edi + 0x18]
test al, al
jne 0x1007f610
mov ecx, edi
xor edx, edx
test al, al
cmove edi, edx
add ecx, 8
mov dword [ebp - 0x230], ecx
cmp byte [ebp - 0x211], dl
jne 0x1007f69e
test dword [esi + 0xc], 0x100
je 0x1007f654
test al, al
je 0x1007f647
mov eax, dword [ebp - 0x22c]
cmp dword [edi + 4], eax
jne 0x1007f755
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 0x1007f68b
push ecx
lea ecx, [ebp - 0x21c]
call fcn.10001e74
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 0x10178fec
call dword [eax + 0x24]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
add esp, 0x10
call fcn.1000221e
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x230]
mov byte [ebp - 0x211], 1
test al, al
je 0x1007f6d6
push dword [edi + 0xc]
cmp dword [edi + 8], 0
mov eax, 0x100ea6e8
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_1591
add esp, 0x24
jmp 0x1007f6f9
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_1591
add esp, 0x18
mov edi, 0x100
mov byte [ebp - 0x11], 0
test dword [esi + 0xc], edi
je 0x1007f716
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
jmp 0x1007f75a
push ecx
lea ecx, [ebp - 0x220]
call fcn.10001e74
lea ecx, [ebp - 0x210]
mov dword [ebp - 4], 1
mov eax, dword [vtable.VprocessGlobals.0]
push ecx
push 0
push 0
push 0x10178fec
call dword [eax + 0x24]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
add esp, 0x10
call fcn.1000221e
jmp 0x1007f75a
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 0x1007f5ee
test dword [esi + 0xc], edi
je 0x1007f78c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
call fcn.10001b2d
ret