Function at 0x40ddd0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c28f9
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
push edi
mov eax, dword [0x50d024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0x10]
mov edi, dword [eax + 4]
mov esi, dword [ebp + 0xc]
mov dword [ebp + 0x10], esi
push ecx
cmp edi, dword [eax + 8]
je 0x40e023
lea edx, [ecx + 0x18]
mov dword [ebp - 0x10], edx
cmp esi, edi
jne 0x40de5e
mov ecx, edi
mov dword [ebp + 0x10], edi
call fcn.00406970
mov dword [ebp - 4], 2
lea ecx, [edi + 0x18]
push dword [ebp - 0x10]
call fcn.00406970
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add dword [eax + 4], 0x30
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x48]
mov ecx, eax
mov dword [ebp - 0x18], eax
call fcn.00406970
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x30]
push dword [ebp - 0x10]
call fcn.00406970
mov dword [ebp - 4], 8
lea esi, [edi - 0x30]
movups xmm0, xmmword [esi]
xor eax, eax
mov dword [ebp - 0x10], edi
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 0xb
mov dword [edi + 0x18], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
movups xmm0, xmmword [esi + 0x18]
movups xmmword [edi + 0x18], xmm0
movq xmm0, qword [esi + 0x28]
movq qword [edi + 0x28], xmm0
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 7
mov word [esi + 0x18], ax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
add dword [eax + 4], 0x30
cmp dword [ebp + 0x10], esi
je 0x40df6d
mov eax, esi
sub edi, 0x30
sub esi, 0x30
mov dword [ebp - 0x14], eax
cmp edi, esi
je 0x40df30
mov ecx, edi
call fcn.00409da0
movups xmm0, xmmword [esi]
mov eax, dword [ebp - 0x14]
xor ecx, ecx
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [eax - 0x20], 0
mov dword [eax - 0x1c], 7
mov word [esi], cx
nop dword [eax]
add eax, 0xffffffe8
lea ecx, [edi + 0x18]
cmp ecx, eax
je 0x40df68
call fcn.00409da0
mov eax, dword [ebp - 0x14]
xor ecx, ecx
movups xmm0, xmmword [eax - 0x18]
movups xmmword [edi + 0x18], xmm0
movq xmm0, qword [eax - 8]
movq qword [edi + 0x28], xmm0
mov dword [eax - 8], 0
mov dword [eax - 4], 7
mov word [eax - 0x18], cx
cmp esi, dword [ebp + 0x10]
jne 0x40def1
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x48]
cmp esi, eax
je 0x40dfa3
mov ecx, esi
call fcn.00409da0
movups xmm0, xmmword [ebp - 0x48]
xor eax, eax
mov word [ebp - 0x48], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x38]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
lea edi, [esi + 0x18]
lea eax, [ebp - 0x30]
cmp edi, eax
je 0x40dfe0
mov ecx, edi
call fcn.00409da0
movups xmm0, xmmword [ebp - 0x30]
xor eax, eax
mov word [ebp - 0x30], ax
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x20]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
nop dword [eax]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x48]
mov dword [ebp + 0x10], eax
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0x30]
call fcn.00409da0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00409da0
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
push esi
mov ecx, eax
call fcn.0040e320
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc