Function at 0x4ea610
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x15
push 0
push 0
dec ecx
jne 0x4ea619
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x4ea633
add esp, 0xfffffff0
call fcn.00404368
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x4ea8a7
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, ebx
call fcn.00403fc0
mov dword [ebx + 4], esi
mov byte [ebx + 0x2e], 0
mov byte [ebx + 0x2f], 1
mov byte [ebx + 0x2c], 1
mov byte [ebx + 0x2d], 0
lea eax, [ebx + 0x18]
call fcn.00404f20
mov dword [ebx + 0x1c], 0xffffffff
xor eax, eax
mov dword [ebx + 0x20], eax
xor eax, eax
mov dword [ebx + 0x24], eax
mov byte [ebx + 0x30], 1
mov dword [ebx + 0x48], 0xffffffff
mov dword [ebx + 0x4c], 1
lea eax, [ebp - 0x14]
push eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + 8]
dec eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
mov cx, 0xc
mov edx, 1
call fcn.00418e04
lea edx, [ebp - 0x14]
lea eax, [ebx + 8]
call fcn.00412a60
mov byte [ebx + 0x31], 0
lea eax, [ebp - 0x2c]
push eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + 8]
dec eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
mov cx, 0xc
mov edx, 1
call fcn.00418e04
lea edx, [ebp - 0x2c]
lea eax, [ebx + 0x38]
call fcn.00412a60
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x24]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x4ea860
inc edi
xor esi, esi
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x24]
mov edx, esi
call fcn.004e9fdc
movzx eax, byte [eax + 5]
cmp eax, 0x23
ja case.0x4ea72c.0
mov al, byte [eax + 0x4ea733]
jmp dword [eax*4 + 0x4ea757]
lea eax, [ebp - 0x3c]
xor edx, edx
mov cl, 1
call fcn.00416b34
lea ecx, [ebp - 0x3c]
mov edx, esi
mov eax, ebx
call fcn.004eb634
jmp 0x4ea833
lea eax, [ebp - 0x4c]
xor edx, edx
mov cl, 1
call fcn.00416b34
lea ecx, [ebp - 0x4c]
mov edx, esi
mov eax, ebx
call fcn.004eb634
jmp 0x4ea833
lea eax, [ebp - 0x5c]
xor edx, edx
call fcn.00416d24
lea ecx, [ebp - 0x5c]
mov edx, esi
mov eax, ebx
call fcn.004eb634
jmp 0x4ea833
lea eax, [ebp - 0x6c]
xor edx, edx
mov cl, 1
call fcn.00416b34
lea ecx, [ebp - 0x6c]
mov edx, esi
mov eax, ebx
call fcn.004eb634
jmp 0x4ea833
lea edx, [ebp - 0x90]
mov eax, dword [0x4e9a44]
call fcn.004e9dd4
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0x80]
mov eax, dword [0x4e9a44]
call fcn.004e9e68
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
call fcn.00416d88
lea ecx, [ebp - 0x7c]
mov edx, esi
mov eax, ebx
call fcn.004eb634
jmp 0x4ea833
lea eax, [ebp - 0xa0]
xor edx, edx
call fcn.00416d88
lea ecx, [ebp - 0xa0]
mov edx, esi
mov eax, ebx
call fcn.004eb634
push esi
push 1
lea ecx, [ebp - 0xb0]
mov edx, esi
mov eax, ebx
call fcn.004eb648
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebx + 0x38]
push eax
call fcn.004191ac
add esp, 0x10
inc esi
dec edi
jne 0x4ea70c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ea8ae
lea eax, [ebp - 0xb0]
mov edx, dword [0x40112c]
mov ecx, 2
call fcn.00405bcc
lea eax, [ebp - 0x80]
call fcn.00404f20
lea eax, [ebp - 0x7c]
mov edx, dword [0x40112c]
mov ecx, 6
call fcn.00405bcc
lea eax, [ebp - 0x14]
call fcn.00412634
ret