Function at 0x6f24c420
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [0x6f2668b8]
test eax, eax
je 0x6f24c43e
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
mov edx, dword [0x6f267184]
mov ebx, dword [sym.imp.kernel32.dll_DeleteCriticalSection]
test edx, edx
je 0x6f24c528
mov eax, dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x20], 0
mov ebx, dword [sym.imp.kernel32.dll_DeleteCriticalSection]
mov dword [ebp - 0x28], eax
nop
mov eax, dword [ebp - 0x2c]
add eax, dword [0x6f267180]
mov dword [ebp - 0x24], eax
lea edi, [eax + 0xe0]
add eax, 0x4e0
mov dword [ebp - 0x1c], eax
jmp 0x6f24c4c6
mov eax, dword [esi + 0x10]
test eax, eax
je 0x6f24c4a3
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
mov eax, dword [esi + 0xcc]
add esi, 0xcc
add edi, 4
mov dword [eax + 0x18], 0
mov dword [esp], esi
call ebx
sub esp, 4
cmp dword [ebp - 0x1c], edi
je 0x6f24c4cc
mov esi, dword [edi]
test esi, esi
jne 0x6f24c490
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0xac]
test eax, eax
je 0x6f24c4e4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov edi, dword [ebp - 0x24]
mov eax, dword [edi + 0xa4]
add edi, 0xc8
mov dword [esp], eax
mov eax, dword [ebp - 0x28]
call eax
mov eax, dword [edi]
sub esp, 4
mov dword [eax + 0x18], 0
mov dword [esp], edi
call ebx
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x2c], 0x4e0
sub esp, 4
cmp dword [0x6f267184], eax
ja 0x6f24c470
mov eax, dword [0x6f266d24]
test eax, eax
je 0x6f24c608
mov eax, dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], eax
lea esi, [esi]
nop
mov eax, dword [ebp - 0x2c]
add eax, dword [0x6f266d20]
mov dword [ebp - 0x24], eax
lea edi, [eax + 0xe0]
add eax, 0x4e0
mov dword [ebp - 0x1c], eax
jmp 0x6f24c5a6
mov eax, dword [esi + 0x10]
test eax, eax
je 0x6f24c583
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
mov eax, dword [esi + 0xcc]
add esi, 0xcc
add edi, 4
mov dword [eax + 0x18], 0
mov dword [esp], esi
call ebx
sub esp, 4
cmp dword [ebp - 0x1c], edi
je 0x6f24c5ac
mov esi, dword [edi]
test esi, esi
jne 0x6f24c570
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0xac]
test eax, eax
je 0x6f24c5c4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov edi, dword [ebp - 0x24]
mov eax, dword [edi + 0xa4]
add edi, 0xc8
mov dword [esp], eax
mov eax, dword [ebp - 0x28]
call eax
mov eax, dword [edi]
sub esp, 4
mov dword [eax + 0x18], 0
mov dword [esp], edi
call ebx
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x2c], 0x4e0
sub esp, 4
cmp dword [0x6f266d24], eax
ja 0x6f24c550
mov eax, dword [0x6f267180]
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [0x6f266d20]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [0x6f2668b0]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [0x6f266908]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
mov dword [esp], 0x6f2668bc
call ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret