Function at 0x7debd66d
Capabilities:
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
test dword [ebp + 0x10], 0xfffffffc
jne 0x7defbf35
test byte [ebp + 0x10], 2
jne 0x7defbf3f
mov ecx, dword [0x7df70058]
mov edx, dword [ebp + 0xc]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
add ecx, 0x140000
dec edx
imul edx, edx, 0xc
push ebx
push esi
add edx, 0x424
push edx
push ecx
push dword [eax + 0x18]
call fcn.7dea1c26
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x7defbf48
mov ecx, dword fs:[0x18]
lea eax, [esi + 4]
mov dword [esi], ebx
mov dword [eax], ebx
mov dword [esi + 0x10], ebx
push edi
cmp dword [ecx + 0xf9c], ebx
jne 0x7defbf52
test byte [ebp + 0x10], 2
jne 0x7defbfad
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0xc]
push ecx
mov eax, 0x200
push eax
push 2
push 0xffffffffffffffff
mov dword [ebp - 0x34], 0x18
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], 0xc
mov dword [ebp - 0x18], 3
mov byte [ebp - 0x14], 1
mov byte [ebp - 0x13], bl
call fcn.7de93908
mov edi, eax
cmp edi, ebx
jl 0x7debd776
lea eax, [ebp - 8]
push eax
push 2
push ebx
lea eax, [ebp - 0x34]
push eax
push 0x2c
push dword [ebp - 0xc]
call fcn.7de93ac8
mov edi, eax
cmp edi, ebx
jl 0x7debd76e
push 4
lea eax, [ebp - 8]
push eax
push 5
push 0xfffffffffffffffe
call fcn.7de9359c
mov edi, eax
cmp edi, ebx
jl 0x7dec0cc1
mov eax, dword [ebp - 8]
mov dword [esi], eax
push dword [ebp - 0xc]
call fcn.7de935d0
cmp edi, ebx
mov dword [ebp + 0x10], edi
jl 0x7defc068
or dword [esi + 0x10], 1
lea ecx, [esi + 0x14]
mov dword [esi + 8], ecx
mov ecx, dword [ebp + 0xc]
lea eax, [esi + 0x414]
xor edi, edi
mov dword [esi + 0xc], eax
mov dword [eax], ecx
cmp ecx, ebx
jbe 0x7debd7c8
xor eax, eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + edi*4]
mov ecx, dword [esi + 0xc]
mov dword [eax + ecx + 4], edx
xor edx, edx
mov dword [eax + ecx + 8], edx
mov ecx, dword [esi + 0xc]
mov dword [eax + ecx + 0xc], 2
inc edi
add eax, 0xc
cmp edi, dword [ebp + 0xc]
jb 0x7debd7a1
mov eax, 0x400
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 4], eax
push dword [esi + 8]
push eax
push dword [esi + 0xc]
push ebx
push dword [esi]
call fcn.7de93ab0
mov edi, 0xc0000023
mov dword [ebp + 0x10], eax
cmp eax, edi
je 0x7defc005
cmp dword [ebp + 0x10], 0x106
je 0x7dec0ca2
cmp dword [ebp + 0x10], ebx
jl fcn.7defc040
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 1
je 0x7defc039
mov dword [ebp + 0x10], ebx
jmp 0x7debd800
push dword [ebp - 8]
call fcn.7de935d0
jmp 0x7debd76e
invalid
out 0xff, al
inc dword [ebx + 0x7e001878]
or al, ch
push ebx
out 0xff, al
invalid
mov ecx, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
test eax, eax
jle 0x7defbfe9
mov eax, dword [esi + 4]
add eax, edx
mov dword [ebp - 0x18], eax
push dword [ebp - 0x14]
push dword [ecx]
push eax
call fcn.7defb9c6
add esp, 0xc
test eax, eax
jne 0x7defbfe4
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
dec eax
add ecx, 4
mov dword [ebp - 8], eax
test eax, eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0x18]
jg 0x7defbfb9
jmp 0x7defbfe6
mov bl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
add edx, 0x10
mov dword [ebp - 4], edx
sub edi, 1
jne 0x7defbfa2
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
mov ebp, esp
push dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
call dword [ebp + 0xc]
pop ebp
ret 0xc
mov eax, 0x40eca0
ret