Function at 0x4aca90
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov esi, ecx
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x55cce0
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
vxorps xmm0, xmm0, xmm0
vmovups xmmword [esi], xmm0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov ecx, esi
call fcn.004213f0
lea ecx, [esi + 0x18]
vxorps xmm0, xmm0, xmm0
vmovups xmmword [esi + 0x18], xmm0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [ebp - 0x54], ecx
call fcn.004213f0
mov dword [ebp - 0x28], esi
add esi, 0x30
movzx eax, byte [ebp - 0x20]
mov byte [esp], al
lea eax, [ebp - 0x2c]
mov dword [esp + 8], eax
lea eax, [ebp - 0x24]
mov dword [esp + 4], eax
mov ecx, esi
call fcn.004a0e70
sub esp, 0xc
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x50], esi
mov dword [esp], esi
call fcn.004a0ae0
mov esi, dword [ebp - 0x28]
mov dword [esi + 0x30], eax
lea ecx, [esi + 0x38]
vxorps xmm0, xmm0, xmm0
vmovups xmmword [esi + 0x38], xmm0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
mov dword [ebp - 0x4c], ecx
call fcn.004213f0
lea ecx, [esi + 0x50]
vxorps xmm0, xmm0, xmm0
vmovups xmmword [esi + 0x50], xmm0
mov dword [esi + 0x64], 0
mov dword [esi + 0x60], 0
mov dword [ebp - 0x48], ecx
call fcn.004213f0
mov dword [esi + 0x68], 0xffffffff
lea ecx, [esi + 0x6c]
vxorps xmm0, xmm0, xmm0
vmovups xmmword [esi + 0x6c], xmm0
mov dword [esi + 0x80], 0
mov dword [esi + 0x7c], 0
mov dword [ebp - 0x44], ecx
call fcn.004213f0
mov dword [esi + 0x84], 0xffffffff
lea ecx, [esi + 0x88]
vxorps xmm0, xmm0, xmm0
vmovups xmmword [esi + 0x88], xmm0
mov dword [esi + 0x9c], 0
mov dword [esi + 0x98], 0
mov dword [ebp - 0x40], ecx
call fcn.004213f0
lea ecx, [esi + 0xa0]
vxorps xmm0, xmm0, xmm0
vmovups xmmword [esi + 0xa0], xmm0
mov dword [esi + 0xb4], 0
mov dword [esi + 0xb0], 0
mov dword [ebp - 0x3c], ecx
call fcn.004213f0
add esi, 0xb8
movzx eax, byte [ebp - 0x20]
mov byte [esp], al
lea eax, [ebp - 0x2c]
mov dword [esp + 8], eax
lea eax, [ebp - 0x24]
mov dword [esp + 4], eax
mov ecx, esi
call fcn.004a07d0
sub esp, 0xc
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x38], esi
mov dword [esp], esi
call fcn.004a0ae0
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0xb8], eax
add ecx, 0xc0
mov dword [ebp - 0x10], 2
lea eax, [ebp - 0x2c]
mov dword [esp], eax
mov dword [ebp - 0x34], ecx
call fcn.004ae0f0
sub esp, 4
mov edi, dword [ebp - 0x28]
lea eax, [edi + 0xc8]
mov dword [ebp - 0x30], eax
mov eax, dword [0x5984b0]
mov ecx, dword [0x5984b4]
lea edx, [eax + 1]
imul eax, edx
not eax
or eax, 0xfffffffe
cmp eax, 0xffffffff
sete byte [ebp - 0x24]
cmp ecx, 0xa
setl byte [ebp - 0x20]
mov esi, 0x808df789
mov eax, 0xf18d3fec
mov edx, 0xa82e9e28
nop
cmp esi, 0xf18d3feb
jg 0x4accd0
cmp esi, 0x808df789
je 0x4acd05
cmp esi, 0xa82e9e28
jne 0x4accb0
jmp 0x4acd8f
cmp esi, 0xf18d3fec
je 0x4acd2e
cmp esi, 0xaf8ef4b
jne 0x4accb0
mov dword [edi + 0xc8], 0
mov dword [edi + 0xcc], 0
mov dword [edi + 0xd0], 0
mov esi, 0xf18d3fec
jmp 0x4accb0
movzx ecx, byte [ebp - 0x24]
mov bh, byte [ebp - 0x20]
mov bl, cl
xor bl, bh
test bh, bh
mov esi, 0xaf8ef4b
cmovne esi, eax
test cl, cl
mov ecx, 0xaf8ef4b
cmove esi, ecx
test bl, bl
mov edi, dword [ebp - 0x28]
cmovne esi, eax
jmp 0x4accb0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov ecx, dword [0x5984b0]
mov edi, dword [0x5984b4]
lea esi, [ecx + 1]
imul esi, ecx
mov ecx, esi
xor ecx, 0xfffffffe
test ecx, esi
sete bl
cmp edi, 0xa
setl bh
xor bh, bl
mov ebx, 0xaf8ef4b
cmovne ebx, edx
test ecx, esi
mov esi, ebx
cmove esi, edx
cmp edi, 0xa
cmovge esi, ebx
mov edi, dword [ebp - 0x28]
jmp 0x4accb0
mov eax, dword [ebp - 0x2c]
lea ecx, [edi + 0xd4]
mov dword [ebp - 0x10], 3
call fcn.0045fb10
mov ebx, dword [ebp - 0x28]
mov dword [ebx + 0x134], 0
mov dword [ebx + 0x15c], 0
mov eax, dword [0x598490]
mov ecx, dword [0x598494]
lea edx, [eax + 1]
imul edx, eax
not edx
or edx, 0xfffffffe
cmp edx, 0xffffffff
sete dl
sete byte [ebp - 0x20]
mov esi, 0x661e7c0
mov edi, 0x6b22bd37
cmove edi, esi
cmp ecx, 0xa
mov eax, 0x6b22bd37
setl byte [ebp - 0x2c]
setl dh
cmovge edi, eax
xor dh, dl
cmovne edi, esi
mov esi, 0x1437e71f
mov edx, 0xa0a6691a
mov eax, ebx
nop dword [eax + eax]
cmp esi, 0x1437e71e
jg 0x4ace30
cmp esi, 0xa0a6691a
je 0x4ace6a
cmp esi, 0x661e7c0
jne 0x4ace10
jmp 0x4ace89
cmp esi, 0x6b22bd37
je 0x4ace78
cmp esi, 0x1437e71f
jne 0x4ace10
movzx ebx, byte [ebp - 0x20]
movzx ecx, byte [ebp - 0x2c]
mov bh, cl
xor bh, bl
test cl, cl
mov esi, 0x6b22bd37
cmovne esi, edx
test bl, bl
mov eax, 0x6b22bd37
cmove esi, eax
test bh, bh
mov eax, dword [ebp - 0x28]
cmovne esi, edx
jmp 0x4ace10
mov dword [eax + 0x184], 0
mov esi, edi
jmp 0x4ace10
mov dword [eax + 0x184], 0
mov esi, 0xa0a6691a
jmp 0x4ace10
mov dword [eax + 0x188], 0x14
mov dword [eax + 0x18c], 0
mov dword [eax + 0x1b4], 0
mov byte [eax + 0x1b8], 0
mov dword [eax + 0x1bc], 0
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret