Function at 0x7df3b6d8
Capabilities:
Get process heap flags

Disassembly:
xor edx, edx
cmp ecx, edx
jne 0x7df6858b
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp + 0x10]
dec eax
je 0x7df55491
dec eax
je 0x7df56b0d
dec eax
jne 0x7df3bc47
mov dword [ebp - 0x24], 0xc0000204
cmp dword [ebp - 0x38], edx
je 0x7df3b89e
mov dword [ebp - 0x3c], edx
jmp 0x7df3bb69
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp + 0x10]
dec eax
je 0x7df55491
jmp 0x7df3bc3d
push 0x70
push 0x7de9c4b8
call fcn.7df27eb4
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x44], esi
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x19], 0
and dword [ebp - 0x40], 0
and dword [ebp - 4], 0
mov ebx, dword [ebp + 0x14]
not ebx
test bl, 0x10
je 0x7df3b75e
cmp eax, 1
jb 0x7df3b75e
cmp eax, 3
ja 0x7df3b75e
jne 0x7df60922
movzx eax, word [esi + 8]
movzx edi, ax
mov dword [ebp - 0x34], edi
mov eax, dword [esi]
cmp eax, 0x10
je 0x7df551e3
cmp eax, 0x18
je 0x7df551e3
test eax, 0xffff0000
jne 0x7df61260
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push dword [ebp + 8]
call fcn.7df3b8b5
or dword [ebp + 0x14], eax
test dword [ebp + 0x14], 0x40000
jne 0x7df3d785
lea eax, [ebp - 0x68]
push eax
push 2
push 1
push dword [ebp + 8]
call fcn.7df29546
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x7df57b52
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x28], 0xeeee
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov edi, 0x80000
mov ebx, dword [ebp - 0x44]
test ecx, ecx
je 0x7df3b82f
mov edx, dword [ebp + 0x10]
dec dword [ebp + 0x10]
test edx, edx
je 0x7df68583
cmp dword [ebp + 0x10], 0
je 0x7df3bb42
mov ebx, dword [ebp - 0x44]
cmp dword [ebp - 0x38], 0
jne 0x7df3bb54
movzx edx, word [ecx + 0xc]
lea eax, [ecx + 0x10]
mov dword [ebp - 0x60], eax
test dword [esi], 0xffff0000
jne 0x7df3b7e5
movzx edx, dx
lea eax, [eax + edx*8]
mov dword [ebp - 0x60], eax
movzx edx, word [ecx + 0xe]
test dx, dx
je 0x7df3af2b
cmp dword [ebp - 0x38], 0
jne 0x7df3b816
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x48]
push ecx
push dword [esi]
push eax
push dword [ebp - 0x4c]
push edx
call fcn.7df3ba5c
add esi, 4
mov dword [ebp + 0xc], esi
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x3c]
jmp 0x7df3b799
test byte [ebp + 0x14], 0x20
je 0x7df3b7f4
xor ecx, ecx
mov dword [ebp - 0x48], ecx
mov edx, dword [eax]
mov dword [ebp - 0x28], edx
mov eax, dword [eax + 4]
add eax, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x7df35b8a
test byte [ebp + 0x14], 2
jne 0x7df35b8a
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, dword fs:[0x18]
cmp dword [eax + 0xfe0], 0
je 0x7df4a2c9
mov eax, dword fs:[0x18]
cmp dword [eax + 0xfe0], 0
je 0x7df3b89a
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xfe0]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xfe0]
mov edx, dword [ebp - 0x3c]
mov dword [eax + 4], edx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xfe0]
mov dword [eax + 8], ecx
and dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x24]
call fcn.7df27ef9
ret 0x14
cmp dword [ebp - 0x30], 3
jne 0x7df3b7b9
mov dword [ebp - 0x38], ecx
jmp 0x7df3b7b9
movzx eax, word [ebx + 8]
mov dword [ebp - 0x34], eax
test eax, 0x3ff
push 0
pop eax
sete al
mov byte [ebp - 0x19], al
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
inc dword [ebp - 0x2c]
cmp eax, 0xc
ja 0x7df5662d
jmp dword [eax*4 + 0x7deb1c80]
dec eax
je 0x7df56b0d
dec eax
je 0x7df3bc53
mov dword [ebp - 0x24], 0xc000000d
jmp 0x7df3b89e
mov dword [ebp - 0x24], 0xc0000204
jmp 0x7df3b89e
mov dword [ebp - 0x24], 0xc000008a
test dword [ebp + 0x14], 0x20000
jne 0x7df3b89e
mov eax, dword [esi]
mov dword [ebp - 0x80], eax
cmp dword [ebp + 0x10], 2
jb 0x7df60929
mov eax, dword [esi + 4]
mov dword [ebp - 0x7c], eax
cmp dword [ebp + 0x10], 3
jne 0x7df60930
mov eax, dword [esi + 8]
mov dword [ebp - 0x78], eax
test byte [ebp + 0x14], 0x41
jne 0x7df3ddb3
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 3
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 8]
call fcn.7df3dabf
mov dword [ebp - 0x24], eax
jmp 0x7df3b89e
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x74], eax
jmp 0x7df3d7c8
mov eax, dword fs:[0x18]
mov dword [ebp - 0x54], eax
mov esi, dword fs:[0x18]
push 0xc
push 0
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call fcn.7df28026
mov dword [esi + 0xfe0], eax
jmp 0x7df3b859