Function at 0x7df3a249
Capabilities:
Get process heap flags

Disassembly:
mov ecx, esi
mov dword [ebp + 0x14], ecx
cmp eax, edi
jne 0x7df7762c
mov eax, 0x40000
jmp 0x7df3a38c
push 0x9c
push 0x7de9c7f8
call fcn.7df27eb4
call fcn.7df31dd1
mov dword [ebp - 0x2c], eax
xor edi, edi
mov dword [ebp - 0x1c], edi
cmp dword [0x7df766c4], edi
jne 0x7df7751d
and dword [ebp + 8], 0xf1ffffff
test dword [ebp + 8], 0x10000000
jne 0x7df3a29b
cmp dword [0x7df76740], 2
jge 0x7df7755c
test dword [ebp + 8], 0xfff80f00
jne 0x7df775b9
xor ebx, ebx
push 0x30
push edi
lea eax, [ebp - 0x60]
push eax
call fcn.7df27f20
add esp, 0xc
mov esi, dword [ebp + 0x1c]
cmp esi, edi
jne 0x7df4c2a1
mov ecx, dword [ebp - 0x2c]
test cl, 0x10
jne 0x7df775ea
test cl, 0x20
jne 0x7df775f3
test ecx, 0x200000
jne 0x7df775fc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
test cl, 0x40
jne 0x7df77608
test cl, cl
js 0x7df77614
mov esi, 0x1000
test esi, ecx
jne 0x7df77620
cmp dword [ebp - 0x5c], edi
jne 0x7df3a30a
mov ecx, dword [eax + 0x78]
mov dword [ebp - 0x5c], ecx
cmp dword [ebp - 0x58], edi
jne 0x7df3a315
mov ecx, dword [eax + 0x7c]
mov dword [ebp - 0x58], ecx
cmp dword [ebp - 0x54], edi
jne 0x7df3a323
mov ecx, dword [eax + 0x84]
mov dword [ebp - 0x54], ecx
cmp dword [ebp - 0x50], edi
jne 0x7df3a331
mov eax, dword [eax + 0x80]
mov dword [ebp - 0x50], eax
mov eax, dword [0x7df70090]
cmp eax, edi
je 0x7df4c2c7
cmp dword [ebp - 0x4c], edi
jne 0x7df3a34b
add eax, 0xfffef000
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x48], edi
jne 0x7df4246a
mov dword [ebp - 0x48], 0x7f000
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
cmp ecx, edi
je 0x7df393b0
add ecx, 0xfff
mov edx, 0xfffff000
and ecx, edx
mov dword [ebp + 0x14], ecx
cmp eax, edi
jne 0x7df4959f
lea eax, [ecx + 0xffff]
and eax, 0xffff0000
mov dword [ebp + 0x10], eax
cmp ecx, edi
je 0x7df4247c
cmp eax, edi
je 0x7df4247c
mov ebx, dword [ebp + 8]
test ebx, 0x61000000
jne 0x7df77645
mov dword [ebp + 0x1c], 0x138
test bl, 1
jne 0x7df57a2d
cmp dword [ebp + 0x18], edi
jne 0x7df77668
mov dword [ebp + 0x1c], 0x150
or dword [ebp + 0x18], 0xffffffff
cmp dword [ebp + 0xc], edi
jne 0x7df77676
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x24], edi
cmp dword [ebp - 0x3c], edi
jne 0x7df4247c
call fcn.7df3a1a6
and eax, 0x1f
shl eax, 0x10
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 0x10]
add eax, ecx
mov dword [ebp - 0x28], eax
cmp eax, ecx
jb 0x7df77755
and ebx, 0x40000
neg ebx
sbb ebx, ebx
and ebx, 0x3c
add ebx, 4
push ebx
push 0x2000
lea eax, [ebp - 0x28]
push eax
push edi
lea eax, [ebp - 0x30]
push eax
push 0xffffffffffffffff
call fcn.7df19ab0
test eax, eax
jl 0x7df4247c
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp + 0x10], eax
cmp dword [ebp - 0x24], edi
je 0x7df3a472
push 0x8000
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
push 0xffffffffffffffff
call fcn.7df2cae9
test eax, eax
jl 0x7df3a472
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
add ecx, eax
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x28]
sub ecx, eax
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0x2c], edi
cmp dword [ebp + 0x14], edi
je 0x7df77760
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x20], ebx
jne 0x7df3a4c6
mov eax, dword [ebp + 8]
and eax, 0x40000
neg eax
sbb eax, eax
and eax, 0x3c
add eax, 4
push eax
push esi
lea eax, [ebp + 0x14]
push eax
push 0
lea eax, [ebp - 0x20]
push eax
push 0xffffffffffffffff
call fcn.7df19ab0
test eax, eax
jl 0x7df77768
cmp byte [0x7ffe0380], 0
jne 0x7df7778b
add ebx, dword [ebp + 0x14]
mov esi, dword [ebp - 0x1c]
add esi, 0x138
call fcn.7df31dd1
test eax, 0x800
jne 0x7df777b6
mov edi, dword [ebp + 0x1c]
add edi, 7
and edi, 0xfffffff8
mov eax, edi
shr eax, 3
mov ecx, dword [ebp - 0x1c]
mov word [ecx], ax
mov eax, dword [ebp - 0x1c]
mov byte [eax + 2], 1
mov eax, dword [ebp - 0x1c]
mov byte [eax + 7], 1
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x64], 0xeeffeeff
mov eax, dword [ebp + 8]
and eax, 0xefffffff
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x40], eax
mov eax, dword [ebp - 0x1c]
and dword [eax + 0x5c], 0
push 0x54
push 0
mov eax, dword [ebp - 0x1c]
add eax, 0xdc
push eax
call fcn.7df27f20
add esp, 0xc
push dword [ebp - 0x1c]
call fcn.7df3a155
mov eax, dword [ebp - 0x1c]
test dword [eax + 0x40], 0x8000000
jne 0x7df777e4
mov eax, dword [ebp + 8]
and eax, 0x6001007d
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x44], eax
mov ecx, esi
mov eax, dword [ebp - 0x1c]
sub ecx, eax
mov word [eax + 0x82], cx
mov eax, dword [ebp - 0x1c]
and dword [eax + 0x84], 0
mov eax, dword [ebp - 0x1c]
add eax, 0xc4
mov dword [eax + 4], eax
mov dword [eax], eax
mov eax, dword [ebp - 0x1c]
add eax, 0xa0
mov dword [eax + 4], eax
mov dword [eax], eax
mov eax, dword [ebp - 0x1c]
add eax, 0xa8
mov dword [eax + 4], eax
mov dword [eax], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x90
mov dword [eax + 4], eax
mov dword [eax], eax
cmp dword [ebp + 0x18], 0xffffffff
jne 0x7df3a5c6
mov dword [ebp + 0x18], esi
push 0x80000fa0
push esi
call fcn.7df2c5e8
test eax, eax
jl 0x7df77768
add esi, 0x18
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0xcc], ecx
mov eax, dword [ebp - 0x1c]
or dword [eax + 0x48], 0x80000000
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x10]
add ecx, eax
push ecx
push ebx
push eax
push dword [ebp - 0x2c]
push 0
add edi, 0x438
push edi
push dword [ebp - 0x1c]
push dword [ebp - 0x1c]
call fcn.7df3a91a
test al, al
je 0x7df77803
cmp dword [ebp + 0xc], 0
jne 0x7df7783a
mov dword [esi + 4], 0x80
xor edi, edi
inc edi
mov dword [esi + 8], edi
lea eax, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0xc4
mov dword [esi + 0x18], ecx
add eax, 0x10
mov dword [esi + 0x20], eax
push esi
push dword [ebp - 0x1c]
call fcn.7df3ab29
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov word [ecx + 0x80], ax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x5c]
mov dword [eax + 0x68], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x58]
mov dword [eax + 0x6c], ecx
mov eax, dword [ebp - 0x54]
shr eax, 3
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x70], eax
mov eax, dword [ebp - 0x50]
shr eax, 3
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x74], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 0x7c], ecx
mov eax, dword [ebp - 0x48]
add eax, 7
shr eax, 3
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x60], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x3c]
mov dword [eax + 0xd0], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x58]
xor dword [eax + 0xd0], ecx
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x130], 4
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x134], 0xfe000
test byte [0x7df7674c], 1
jne 0x7df7784f
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
test ebx, 0x10000
jne 0x7df4244e
mov dword [eax + 0x98], 0xf
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x9c], 0xfffffff8
mov eax, dword [ebp - 0x1c]
test byte [eax + 0x40], 0x20
jne 0x7df7785a
push eax
call fcn.7df3a783
mov eax, dword [ebp - 0x1c]
and dword [eax + 0xd4], 0
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov word [ecx + 0xd8], ax
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0xda], 0
test bl, 1
jne 0x7df3a742
test bl, 2
je 0x7df3a742
test byte [0x7df7674c], 1
jne 0x7df3a742
push dword [ebp - 0x1c]
call fcn.7df3a808
mov al, byte [0x7ffe0380]
test al, al
jne 0x7df77869
cmp byte [0x7ffe0386], 0
jne 0x7df77898
mov al, byte [0x7ffe038a]
test al, al
jne 0x7df778a9
mov eax, dword [ebp - 0x1c]
and dword [eax + 0x48], 0x7fffffff
mov eax, dword [ebp - 0x1c]
call fcn.7df27ef9
ret 0x18
mov dword [eax + 0x98], 0x17
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x9c], 0xfffffff0
jmp 0x7df3a6f4
cmp dword [ebp - 0x48], 0x7f000
ja 0x7df3a354
jmp 0x7df3a35b
xor eax, eax
jmp 0x7df3a776
add eax, 0xfff
and eax, edx
mov dword [ebp + 0x10], eax
cmp ecx, eax
jbe 0x7df3a38f
jmp 0x7df7763b
mov dword [ebp - 4], edi
cmp dword [esi], 0x30
jne 0x7df4c2b3
push 0xc
pop ecx
lea edi, [ebp - 0x60]
rep movsd dword es:[edi], dword [esi]
xor edi, edi
mov dword [ebp - 4], 0xfffffffe
cmp ebx, edi
jge 0x7df3a2b7
jmp 0x7df4247c
push edi
push 0x2c
lea eax, [ebp - 0xac]
push eax
push edi
call fcn.7df19da0
test eax, eax
jl 0x7df4247c
mov eax, dword [ebp - 0x8c]
mov dword [0x7df70090], eax
jmp 0x7df3a33e