Function at 0x7ac08fa0
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 8], 0x548
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov dword [eax + 0x20], 0
mov ebx, eax
sub esp, 0xc
mov dword [eax + 0x1c], 0
mov eax, dword [esi]
mov dword [esp + 8], ebx
mov dword [esp + 4], sym.riched20.dll_IID_ITextHost2
mov dword [esp], esi
call dword [eax]
sub esp, 0xc
test eax, eax
jne 0x7ac094c0
mov eax, dword [esi]
mov dword [esp], esi
call dword [eax + 8]
or byte [ebx + 4], 4
mov esi, dword [ebx]
sub esp, 4
movzx eax, byte [ebx + 4]
movzx edx, byte [ebp + 0xc]
mov dword [ebx + 0x3c], 0
mov ecx, esi
and edx, 1
and eax, 0xfffffffc
or eax, edx
lea edx, [ebx + 0x10]
mov byte [ebx + 4], al
mov eax, dword [esi]
mov dword [esp + 4], edx
mov dword [esp], 0x1df7
call dword [eax + 0x94]
mov ecx, dword [ebx]
lea edx, [ebx + 0x14]
sub esp, 8
mov eax, dword [ecx]
mov dword [esp], edx
call dword [eax + 0x7c]
sub esp, 4
mov ecx, dword fs:[0x18]
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x30], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
sub esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [esp], 1
call fcn.7ac0f750
mov dword [esp], 6
mov esi, eax
call fcn.7ac0f750
mov edx, dword [ebp - 0x2c]
mov dword [esi + 4], 0
mov dword [esi + 8], eax
mov dword [eax + 4], esi
mov dword [eax + 8], 0
mov dword [esi + 0x128], eax
mov dword [eax + 0x124], esi
mov dword [eax + 0xf0], 0
mov dword [edx + 4], eax
lea eax, [ebx + 0x530]
mov dword [edx], esi
mov dword [edx + 8], 0
mov dword [esp], ebx
mov dword [ebx + 8], edx
mov dword [ebx + 0x534], eax
mov dword [ebx + 0x530], eax
mov dword [ebx + 0x490], 0
mov dword [ebx + 0x48c], 0
mov dword [ebx + 0x34], 0
call fcn.7ac16c10
mov ecx, dword [ebp - 0x30]
mov dword [ebx + 0x18], 4
mov dword [esp + 8], 0x30
mov dword [esp + 4], 0
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
sub esp, 0xc
mov dword [ebx + 0xc], eax
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.7ac01a80
mov eax, dword [ebx + 0xc]
mov edx, dword [eax]
mov dword [eax + 0xc], edx
mov edx, dword [eax + 4]
mov dword [eax + 0x10], edx
mov edx, dword [eax + 8]
mov dword [eax + 0x14], edx
mov eax, dword [ebx + 0xc]
mov edx, dword [eax]
mov dword [eax + 0x18], edx
mov edx, dword [eax + 4]
mov dword [eax + 0x1c], edx
mov edx, dword [eax + 8]
mov dword [eax + 0x20], edx
mov eax, dword [ebx + 0xc]
mov edx, dword [eax + 0xc]
mov dword [eax + 0x24], edx
mov edx, dword [eax + 0x10]
mov dword [eax + 0x28], edx
mov edx, dword [eax + 0x14]
mov dword [eax + 0x2c], edx
lea eax, [ebx + 0x48]
lea edx, [ebx + 0x4e8]
mov dword [ebx + 0x4c], eax
mov dword [ebx + 0x48], eax
lea eax, [ebx + 0x50]
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x38], 0xffffffff
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x4a8], 0x7fff
mov dword [ebx + 0x50], eax
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0x64
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 1
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x6c], 0
mov eax, dword [eax]
mov dword [ebx + 0x4bc], 0
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x74], eax
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0x4ac], 0
mov dword [ebx + 0x4b0], 0
and eax, 1
mov dword [ebx + 0x4b4], 0
add eax, 1
mov dword [ebx + 0x4c0], 0
or eax, 0x28
mov dword [ebx + 0x4c8], 0
mov dword [ebx + 0x524], 0
mov dword [ebx + 0x520], 0
mov dword [ebx + 0x51c], 0
mov dword [ebx + 0x4b8], eax
lea eax, [ebx + 0xd8]
lea esi, [esi]
mov dword [eax + 4], 0
add eax, 0x68
mov dword [eax - 0x60], 0
mov dword [eax - 0x68], 0
cmp edx, eax
jne 0x7ac09288
mov dword [esp], ebx
call fcn.7ac2af20
mov ecx, dword [ebx]
lea edx, [ebp - 0x1c]
mov dword [ebx + 0x4a0], 0
mov dword [ebx + 0x498], 0
mov dword [ebx + 0x49c], 0
mov dword [ebx + 0x494], 0
mov eax, dword [ecx]
mov dword [esp], edx
call dword [eax + 0xa4]
mov edx, eax
sub esp, 4
xor eax, eax
test edx, edx
jne 0x7ac092fc
mov edx, dword [ebp - 0x1c]
xor eax, eax
test edx, edx
setne al
shl eax, 3
mov dword [ebx + 0x4d0], eax
xor eax, eax
mov ecx, dword [ebx]
mov word [ebx + 0x4c4], ax
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0x4d4], 0
test al, 0x10
je 0x7ac09337
mov eax, dword [ecx]
lea edx, [ebx + 0x4c4]
mov dword [esp], edx
call dword [eax + pe_nt_image_headers32]
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx]
sub esp, 4
mov dword [ebx + 0x4dc], 0
and eax, 0x402
mov dword [ebx + 0x4d8], 0
cmp eax, 0x402
mov dword [ebx + 0x4e0], 0x1c
sete al
movzx eax, al
and byte [ebx + 0x518], 0xfc
mov dword [ebx + 0x4a4], eax
mov eax, dword [ebx + 0x14]
mov dword [ebx + 0x4e8], 0
mov dword [ebx + 0x4ec], 0
mov dword [ebx + 0x4f0], 0
mov dword [ebx + 0x4f4], 0
mov dword [ebx + 0x4fc], 0x1c
mov dword [ebx + 0x504], 0
mov dword [ebx + 0x508], 0
mov dword [ebx + 0x50c], 0
mov dword [ebx + 0x510], 0
test ah, 0x20
je 0x7ac0946d
test eax, 0x200000
je 0x7ac09424
mov eax, dword [ecx]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 1
call dword [eax + 0x1c]
mov ecx, dword [ebx]
sub esp, 0x10
mov eax, dword [ecx]
mov dword [esp + 4], 3
mov dword [esp], 1
call dword [eax + 0x18]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx]
sub esp, 8
test eax, 0x100000
je 0x7ac0946d
mov eax, dword [ecx]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [eax + 0x1c]
mov ecx, dword [ebx]
sub esp, 0x10
mov eax, dword [ecx]
mov dword [esp + 4], 3
mov dword [esp], 0
call dword [eax + 0x18]
mov ecx, dword [ebx]
sub esp, 8
mov dword [ebx + 0x528], 0
lea edx, [ebx + 0x52c]
mov dword [ebx + 0x52c], 1
mov eax, dword [ecx]
mov dword [esp], edx
call dword [eax + 0x74]
lea eax, [ebx + 0x538]
sub esp, 4
mov dword [ebx + 0x53c], eax
mov dword [ebx + 0x538], eax
mov dword [esp], 0
call dword [sym.imp.ole32.dll_OleInitialize]
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
and byte [ebx + 4], 0xfb
mov dword [ebx], esi
jmp 0x7ac09015