Function at 0x6f243720
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x48
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov edi, dword [ecx + 8]
test byte [0x6f266058], 8
jne 0x6f243880
mov dword [esp], ebx
call fcn.6f243210
mov ebx, eax
test eax, eax
je 0x6f243860
test byte [0x6f266058], 8
jne 0x6f243920
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], esi
mov dword [esp + 8], 4
mov dword [esp + 4], ebx
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
call dword [ebx + 0xc]
sub esp, 0x14
test byte [0x6f266058], 8
jne 0x6f2438b8
mov eax, ebx
call fcn.6f242af0
test byte [ebx + 4], 1
je 0x6f2437af
test byte [0x6f266058], 1
jne 0x6f2439a0
mov edi, dword [ebx + 8]
mov dword [esp], str.__o
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [section..bss]
sub esp, 4
test eax, eax
je 0x6f2439d0
xor esi, esi
xor edx, edx
jmp 0x6f2437df
mov eax, dword [eax + 0x18]
test eax, eax
je 0x6f2437f3
cmp edi, dword [eax + 8]
jne 0x6f2437d8
test esi, esi
cmove esi, eax
mov eax, dword [eax + 0x18]
add edx, 1
test eax, eax
jne 0x6f2437df
mov dword [ebp - 0x1c], edx
mov dword [esp], str.__o
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov edx, dword [ebp - 0x1c]
sub esp, 4
cmp edx, 1
je 0x6f2439f8
mov edi, dword [sym.imp.kernel32.dll_FreeLibrary]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebx + 8]
mov dword [esp], eax
call edi
sub esp, 4
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, 1
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
test byte [0x6f266058], 4
jne 0x6f243970
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p___08IX___08IX___n
mov dword [esp + 8], str.CloseDriver
mov dword [esp + 4], 0x6f266058
mov dword [esp], 3
call fcn.6f242aa0
jmp 0x6f243749
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 4
mov dword [esp + 0x18], ebx
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0xc], str.After__call32_proc_p_drvrID_08Ix_hDrv_p_wMsg_04x_p1_08Ix_p2_08Ix____08Ix_n
mov dword [esp + 8], str.DRIVER_SendMessage
mov dword [esp + 4], 0x6f266058
mov dword [esp + 0x10], eax
mov dword [esp], 3
call fcn.6f242aa0
mov eax, ebx
call fcn.6f242af0
test byte [ebx + 4], 1
je 0x6f2437af
jmp 0x6f2437a2
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 4
mov dword [esp + 0x18], eax
mov eax, dword [eax + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0xc], str.Before_call32_proc_p_drvrID_08Ix_hDrv_p_wMsg_04x_p1_08Ix_p2_08Ix_n
mov dword [esp + 8], str.DRIVER_SendMessage
mov dword [esp + 4], 0x6f266058
mov dword [esp + 0x10], eax
mov dword [esp], 3
call fcn.6f242aa0
jmp 0x6f243768
mov dword [esp + 0xc], str.Failed_to_close_driver_n
mov dword [esp + 8], str.CloseDriver
mov dword [esp + 4], 0x6f266058
mov dword [esp], 2
call fcn.6f242aa0
xor eax, eax
jmp 0x6f24386f
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.WINE_GDF_SESSION:_Shouldnt_happen___p__n
mov dword [esp + 8], str.CloseDriver
mov dword [esp + 4], 0x6f266058
mov dword [esp], 0
call fcn.6f242aa0
jmp 0x6f2437af
mov dword [esp], str.__o
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov edi, dword [sym.imp.kernel32.dll_FreeLibrary]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 4
jmp 0x6f24381e
test byte [esi + 4], 1
je 0x6f243812
test byte [0x6f266058], 8
jne 0x6f243ada
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 4
mov dword [esp + 4], esi
mov eax, dword [esi + 0x10]
mov dword [esp], eax
call dword [esi + 0xc]
sub esp, 0x14
test byte [0x6f266058], 8
jne 0x6f243a83
mov eax, esi
call fcn.6f242af0
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.kernel32.dll_FreeLibrary]
mov dword [esp], eax
call edi
sub esp, 4
mov dword [esp + 8], esi
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
jmp 0x6f24381e
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 4
mov dword [esp + 0x18], esi
mov eax, dword [esi + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0xc], str.After__call32_proc_p_drvrID_08Ix_hDrv_p_wMsg_04x_p1_08Ix_p2_08Ix____08Ix_n
mov dword [esp + 8], str.DRIVER_SendMessage
mov dword [esp + 4], 0x6f266058
mov dword [esp + 0x10], eax
mov dword [esp], 3
call fcn.6f242aa0
jmp 0x6f243a40
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 4
mov dword [esp + 0x18], esi
mov eax, dword [esi + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0xc], str.Before_call32_proc_p_drvrID_08Ix_hDrv_p_wMsg_04x_p1_08Ix_p2_08Ix_n
mov dword [esp + 8], str.DRIVER_SendMessage
mov dword [esp + 4], 0x6f266058
mov dword [esp + 0x10], eax
mov dword [esp], 3
call fcn.6f242aa0
jmp 0x6f243a0f