Function at 0x42cdf0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x18
mov eax, dword [0x707bbc]
test eax, eax
je 0x42d0e8
mov ebx, dword fs:[0x18]
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 4], 0
mov dword [esp], 0
call eax
sub esp, 8
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x56a
xor eax, eax
test esi, esi
sete al
mov dword [esp + 4], str.Expected_failure_n
mov dword [esp], eax
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x56b
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], 0x58fed8
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebx + 0x34], 0x57
sete al
mov dword [esp], eax
call fcn.00427ef0
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 4], 1
mov dword [esp], 0
call dword [0x707bbc]
sub esp, 8
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x571
xor eax, eax
test esi, esi
sete al
mov dword [esp + 4], str.Expected_failure_n
mov dword [esp], eax
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x572
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], 0x58fed8
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebx + 0x34], 0x57
sete al
mov dword [esp], eax
call fcn.00427ef0
mov dword [esp + 8], 4
mov ecx, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov dword [ebp - 0x14], ecx
call ecx
mov dword [ebx + 0x34], 0xdeadbeef
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [0x707bbc]
sub esp, 8
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x57e
xor eax, eax
test esi, esi
sete al
mov dword [esp + 4], str.Expected_failure_n
mov dword [esp], eax
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x57f
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], 0x58fed8
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebx + 0x34], 0x57
sete al
mov dword [esp], eax
call fcn.00427ef0
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp], edi
mov dword [esp + 4], 1
call dword [0x707bbc]
sub esp, 8
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x585
xor eax, eax
cmp esi, 1
sete al
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [esp + 4], 0x58ff03
call fcn.00427ef0
mov dword [esp + 8], edi
mov edx, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov dword [ebp - 0x10], edx
call edx
lea eax, [esi*4]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov ecx, dword [ebp - 0x14]
call ecx
mov dword [ebx + 0x34], 0xdeadbeef
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [0x707bbc]
sub esp, 8
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x58d
xor eax, eax
cmp esi, 1
sete al
mov dword [esp + 8], esi
mov dword [esp + 4], 0x58ff03
mov dword [esp], eax
call fcn.00427ef0
cmp esi, 1
mov edx, dword [ebp - 0x10]
je 0x42d0b0
mov dword [esp + 8], edi
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 edx
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0x592
mov ebx, dword [ebx + 0x20]
call fcn.00427180
mov eax, dword [edi]
mov dword [esp + 4], 0x58ff18
mov dword [esp + 8], ebx
cmp eax, ebx
mov dword [esp + 0xc], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
mov edx, dword [ebp - 0x10]
jmp 0x42d085
mov eax, 0x564
call fcn.00427180
mov dword [esp], str.GetConsoleProcessList_is_not_available_n
call fcn.00427ec0
jmp 0x42d0a5