Function at 0x7ac05240
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
test byte [0x7ac3e028], 8
jne 0x7ac053c0
mov dword [esp + 8], 0x18
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 dword [sym.imp.kernel32.dll_HeapAlloc]
mov ecx, dword [section..bss]
sub esp, 0xc
mov esi, eax
test ecx, ecx
je 0x7ac054d0
mov eax, dword [ebp + 0xc]
mov dword [esi], 0x7ac43660
xor ebx, ebx
mov dword [esi + 4], 1
mov dword [esp], eax
call fcn.7ac03130
add eax, dword [ebp + 0x10]
mov edi, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
jmp 0x7ac052c3
cmp edi, dword [eax + 0xe4]
jl 0x7ac052cf
add ebx, 1
mov dword [esp], eax
call fcn.7ac14540
test eax, eax
jne 0x7ac052b8
mov edx, dword [ebp + 0x10]
mov dword [esp], 2
mov edi, dword [sym.imp.kernel32.dll_GlobalAlloc]
add edx, ebx
lea eax, [edx + edx + 2]
mov dword [ebp - 0x3c], edx
mov dword [esp + 4], eax
call edi
sub esp, 8
mov ebx, eax
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GlobalLock]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x3c]
sub esp, 4
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 1
mov dword [esp + 8], edx
mov dword [esp], eax
call fcn.7ac09770
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GlobalUnlock]
mov ecx, dword [ebp + 8]
mov dword [esi + 0x10], ebx
mov eax, 0x14
mov dword [esi + 0x14], 0
sub esp, 4
mov dword [esi + 0xc], 1
test byte [ecx + 0x4b8], 2
je 0x7ac0536d
mov dword [esi + 0xc], 2
mov eax, 0x28
mov dword [esp + 4], eax
mov dword [esp], 0x40
call edi
mov edx, 0xd
mov dword [esi + 8], eax
sub esp, 8
mov word [eax], dx
mov dword [eax + 8], 1
mov dword [eax + 4], 0
mov dword [eax + 0x10], 1
mov dword [eax + 0xc], 0xffffffff
mov eax, dword [ebp + 8]
test byte [eax + 0x4b8], 2
jne 0x7ac05410
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.7ac03130
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0xc], str.__p__d__d__n
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.ME_GetDataObject
mov dword [esp + 4], 0x7ac3e028
mov dword [esp], 3
call fcn.7ac043e0
jmp 0x7ac05256
mov dword [esp + 4], 0
mov dword [esp], 2
call edi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
sub esp, 8
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], 2
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], 0x7ac042b0
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.7ac3b390
mov eax, dword [ebp - 0x28]
mov dword [esp + 8], 2
add eax, 1
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GlobalReAlloc]
mov eax, dword [ebp - 0x2c]
mov edx, dword [section..bss]
sub esp, 0xc
mov dword [esi + 0x14], eax
mov eax, dword [esi + 8]
mov word [eax + 0x14], dx
mov eax, dword [esi + 8]
mov dword [eax + 0x1c], 1
mov eax, dword [esi + 8]
mov dword [eax + 0x18], 0
mov eax, dword [esi + 8]
mov dword [eax + 0x24], 1
mov eax, dword [esi + 8]
mov dword [eax + 0x20], 0xffffffff
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0x7ac43406
call dword [sym.imp.user32.dll_RegisterClipboardFormatA]
mov dword [section..bss], eax
sub esp, 4
jmp 0x7ac0528e