Function at 0x7dededc4
Capabilities:
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
cmp edi, esi
je 0x7dedefc6
cmp dword [ebp + 0x10], esi
je 0x7dedefc6
push edi
lea eax, [ebp - 0x14]
push eax
call 0x7de31d73
cmp eax, esi
jge 0x7dedee0f
push eax
call 0x7de301ed
push eax
call 0x7de1c2ef
jmp 0x7dedeff6
xor eax, eax
inc eax
cmp word [ebp - 0x14], ax
jbe 0x7dedee29
movzx ecx, word [ebp - 0x14]
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0x5c
mov dword [ebp + 8], eax
je 0x7dedee2c
mov dword [ebp + 8], esi
push 0x80000000
lea eax, [ebp - 0x14]
push eax
call fcn.7dede4f4
test eax, eax
je 0x7dedee45
push 0xc0000022
jmp 0x7dededff
lea eax, [ebp - 0x40]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push edi
call 0x7de3b63a
test al, al
jne 0x7dedee5c
push 3
jmp 0x7dedee05
mov eax, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x10]
cmp ax, si
je 0x7dedee72
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x10], eax
jmp 0x7dedee75
mov dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x38]
push esi
push esi
push 0x60
push 1
mov dword [ebp - 0x54], eax
push 1
lea eax, [ebp - 0x14]
mov dword [ebp - 0x50], eax
push esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x44], eax
push esi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x58]
push eax
push 0x80100080
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x58], 0x18
mov dword [ebp - 0x4c], 0x40
mov dword [ebp - 0x48], esi
mov byte [ebp - 0x28], 1
mov dword [ebp - 0x2c], 2
mov byte [ebp - 0x27], 1
mov dword [ebp - 0x30], 0xc
call 0x7de1a0a4
mov edi, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push esi
push dword [eax + 0x18]
call 0x7de27f85
lea eax, [ebp - 0x40]
push eax
call 0x7de34901
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push esi
push dword [eax + 0x18]
call 0x7de27f85
cmp edi, esi
jge 0x7dedef3a
push edi
call 0x7de301ed
push eax
call 0x7de1c2ef
cmp edi, 0xc0000035
jne 0x7dedef1e
push 0x50
jmp 0x7dedee05
cmp edi, 0xc00000ba
jne 0x7dedeff6
cmp dword [ebp + 8], esi
jne 0x7dedee58
push 5
jmp 0x7dedee05
push esi
call 0x7de1c2ef
mov ebx, dword [ebp - 0xc]
cmp ebx, 0xffffffff
je 0x7dedefcd
lea eax, [ebp - 0x1c]
push eax
push ebx
call fcn.7dedde6a
test eax, eax
je 0x7dedefcd
cmp dword [ebp - 0x18], esi
je 0x7dedef66
push 0x20010300
jmp 0x7dedefc8
mov ecx, dword [ebp + 0xc]
cmp ecx, esi
jne 0x7dedef72
mov ecx, dword [ebp - 0x1c]
jmp 0x7dedef77
cmp ecx, dword [ebp - 0x1c]
jb 0x7dedef5f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ecx
push esi
push dword [eax + 0x18]
call 0x7de28026
mov dword [ebp - 4], eax
cmp eax, esi
je 0x7dedefcd
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp - 4]
mov dword [ebp - 8], esi
push ebx
call fcn.7dede75e
test eax, eax
je 0x7dedefcd
cmp dword [ebp - 8], edi
jne 0x7dedef5f
push esi
push edi
push dword [ebp - 4]
call dword [ebp + 0x10]
mov edi, eax
cmp edi, esi
je 0x7dedefcd
push ebx
call fcn.7dedde20
mov eax, edi
jmp 0x7dedeff8
push 0x57
call 0x7de1c2ef
cmp ebx, esi
je 0x7dedefdc
cmp ebx, 0xffffffff
je 0x7dedefdc
push ebx
call fcn.7dedde20
cmp dword [ebp - 4], esi
je 0x7dedeff6
push dword [ebp - 4]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push dword [eax + 0x18]
call 0x7de27f85
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc