Function at 0x7ac03270
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov eax, 0x20
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov word [ebp - 0x2e], ax
mov eax, dword [ebx + 0x4b4]
test eax, eax
je 0x7ac032bb
mov edx, dword [eax]
mov dword [esp + 0xc], 0xffffffff
mov ecx, dword [esi + 0x1c]
mov dword [esp], eax
mov dword [esp + 8], ecx
lea ecx, [esi + 8]
mov dword [esp + 4], ecx
call dword [edx + 0x18]
sub esp, 0x10
test eax, eax
jne 0x7ac03413
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
mov edx, eax
mov dword [ebp - 0x2c], eax
or edx, ecx
mov dword [ebp - 0x28], ecx
jne 0x7ac03300
mov eax, dword [esi + 0x18]
test eax, eax
je 0x7ac03300
mov edx, dword [eax]
lea ecx, [ebp - 0x2c]
mov dword [esp + 4], 1
mov dword [esp + 8], ecx
mov dword [esp], eax
call dword [edx + 0x48]
sub esp, 0xc
test eax, eax
jns 0x7ac03300
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
jne 0x7ac03420
mov edi, dword [ebx + 0xc]
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.7ac2eac0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x10]
cmp dword [eax + 4], ecx
je 0x7ac03458
mov dword [esp], ebx
call fcn.7ac031b0
lea eax, [ebp - 0x2e]
mov dword [esp + 4], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 1
mov dword [esp + 8], eax
mov dword [esp], ebx
call fcn.7ac2b860
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
mov edi, eax
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]
sub esp, 0xc
mov ecx, eax
test eax, eax
je 0x7ac03469
lea eax, [eax + 8]
mov dword [esp + 8], 7
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [ebp - 0x40], ecx
call fcn.7ac2a220
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov dword [ecx + 0x40], edi
mov dword [edi + 0x28], ecx
mov dword [ecx + 0x2c], eax
mov eax, edi
mov dword [ecx + 0x30], edx
jmp 0x7ac033d7
mov edx, dword [eax + 0x28]
test edx, edx
jne 0x7ac03440
mov dword [esp], eax
call fcn.7ac2ae00
test eax, eax
jne 0x7ac033d0
mov edx, dword [ebx + 0x538]
mov eax, dword [edi + 0x28]
mov dword [eax], edx
lea edx, [ebx + 0x538]
mov dword [eax + 4], edx
mov edx, dword [ebx + 0x538]
mov dword [edx + 4], eax
mov dword [ebx + 0x538], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.7ac2e940
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ebp - 0x24]
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov dword [esp], ebx
call fcn.7ac2b310
jmp 0x7ac0330f
mov ecx, dword [edx]
mov eax, dword [edi + 0x28]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [edx]
mov dword [ecx + 4], eax
mov dword [edx], eax
jmp 0x7ac03406
mov ecx, dword [eax + 0x14]
cmp dword [eax + 8], ecx
jne 0x7ac0332d
jmp 0x7ac03335
test byte [0x7ac3e018], 4
je 0x7ac03496
mov dword [esp + 0xc], str.Fail_to_allocate_re_object._n
mov dword [esp + 8], str.create_re_object
mov dword [esp + 4], 0x7ac3e018
mov dword [esp], 2
call fcn.7ac01490
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov dword [edi + 0x28], 0
mov dword [0x2c], eax
mov dword [0x30], edx
ud2