Function at 0x70c019d0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [ebp + 0x20]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x20], eax
test byte [0x70c03018], 8
jne 0x70c01c78
test esi, esi
je 0x70c01c60
cmp word [esi], 0
je 0x70c01dc0
mov eax, esi
nop
add eax, 2
cmp word [eax], 0
jne 0x70c01a10
sub eax, esi
cmp eax, 0x200
setg al
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x70c01c60
test al, al
jne 0x70c01c60
cmp dword [ebp + 8], 2
je 0x70c01a49
test byte [0x70c03018], 1
jne 0x70c01d58
xor ebx, ebx
test edi, edi
je 0x70c01aa5
mov dword [ebp + 0x10], esi
mov esi, edx
jmp 0x70c01a67
add ebx, 1
cmp ebx, edi
je 0x70c01aa2
test byte [0x70c03018], 1
je 0x70c01a60
mov eax, dword [esi + 4]
mov dword [esp + 0xc], str.send_option__u_not_supported_n
add ebx, 1
mov dword [esp + 8], 0x70c050c8
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x70c03018
mov dword [esp], 0
call fcn.70c015a0
cmp ebx, edi
jne 0x70c01a67
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0xc0000000
mov dword [esp], str..MountPointManager
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 0x24], eax
sub esp, 0x1c
cmp eax, 0xffffffff
je 0x70c01d40
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ecx]
lea eax, [eax + eax*2]
mov dword [esp + 4], 8
lea edi, [edx + eax*4 + 0x20c]
mov dword [esp + 8], edi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call sub.kernel32.dll_HeapAlloc
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x70c01dc7
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x70c01b6a
mov eax, dword [ebp - 0x20]
lea edx, [ebx + 0x20c]
lea ecx, [eax + 4]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4 + 4]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], ebx
lea esi, [esi]
mov ebx, dword [eax]
add eax, 0x14
add edx, 0xc
mov dword [edx - 0xc], ebx
cmp ecx, eax
jne 0x70c01b58
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 4], eax
xor eax, eax
lea esi, [esi]
movzx edx, word [esi + eax]
mov word [ebx + eax + 8], dx
add eax, 2
test dx, dx
jne 0x70c01b78
mov eax, dword [ebp - 0x24]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x6dc100
mov dword [esp], eax
call sub.kernel32.dll_DeviceIoControl
sub esp, 0x20
test eax, eax
je 0x70c01d90
mov eax, dword [ebx + 4]
test eax, eax
je 0x70c01cf7
mov edi, dword [ebp - 0x20]
xor edx, edx
mov eax, ebx
lea esi, [ebx + 0x20c]
mov ecx, dword [ebp + 0x28]
mov ebx, edx
mov edx, eax
add edi, 4
jmp 0x70c01c13
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
add ecx, dword [esi + 8]
add ebx, 1
add esi, 0xc
add edi, 0x14
cmp dword [edx + 4], ebx
jbe 0x70c01cf0
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x70c01bfe
mov eax, dword [esi]
mov dword [edi + 4], 0
mov dword [edi], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x70c01bf0
mov eax, edx
add eax, dword [esi + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
mov dword [esp + 8], eax
mov dword [ebp - 0x1c], ecx
call sub.ucrtbase.dll_memcpy
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov dword [edi + 8], ecx
mov eax, dword [esi + 8]
mov dword [edi + 0xc], eax
jmp 0x70c01bfe
lea esp, [ebp - 0xc]
mov esi, 0x57
pop ebx
mov eax, esi
pop esi
pop edi
pop ebp
ret 0x2c
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x24], edx
call fcn.70c01690
mov ebx, eax
mov eax, esi
call fcn.70c01690
mov ecx, dword [ebp + 0x2c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xc], str.__08x___p___s___p___u___u___p___p___s__n
mov dword [esp + 8], 0x70c050c8
mov dword [esp + 4], 0x70c03018
mov dword [esp], 3
call fcn.70c015a0
mov edx, dword [ebp - 0x24]
jmp 0x70c019fb
mov eax, ecx
mov ebx, edx
sub eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x2c]
xor esi, esi
mov dword [ecx], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call sub.kernel32.dll_HeapFree
mov eax, dword [ebp - 0x24]
sub esp, 0xc
mov dword [esp], eax
call sub.kernel32.dll_CloseHandle
mov eax, esi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x2c
mov eax, dword fs:[0x18]
mov esi, dword [eax + 0x34]
lea esp, [ebp - 0xc]
pop ebx
mov eax, esi
pop esi
pop edi
pop ebp
ret 0x2c
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], str.unsupported_flags__08x_n
mov dword [esp + 8], 0x70c050c8
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x70c03018
mov dword [esp], 0
mov dword [ebp - 0x24], edx
call fcn.70c015a0
mov edx, dword [ebp - 0x24]
jmp 0x70c01a49
mov eax, dword fs:[0x18]
mov esi, dword [eax + 0x34]
cmp esi, 0xea
jne 0x70c01cfe
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
sub eax, edi
add eax, dword [ebx]
mov dword [ecx], eax
jmp 0x70c01cfe
xor eax, eax
jmp 0x70c01a23
mov esi, 0xe
jmp 0x70c01cfe