Function at 0x10007bc0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x3c
mov esi, dword [ecx + 4]
mov ebx, dword [ecx]
mov edi, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
movzx eax, word [esi]
test byte [0x1000a040], 1
jne 0x10007c10
cmp dx, ax
je 0x10007c59
movzx edi, dx
cmp ax, 0x40
je 0x10007f90
cmp dx, 0x1f
ja case.0x10007c03.0
jmp dword [edi*4 + 0x1000de28]
movzx ecx, dx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p___p___d___d___d_:_semi_stub__n
mov dword [esp + 8], str.PropVariantChangeType
mov dword [esp + 4], 0x1000a040
mov dword [esp], 0
mov dword [ebp - 0x24], edx
call fcn.10005f80
movzx eax, word [esi]
mov edx, dword [ebp - 0x24]
cmp dx, ax
jne 0x10007bf0
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.ole32.dll_PropVariantCopy
sub esp, 8
mov esi, eax
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov esi, 0x80004005
test byte [0x1000a040], 1
je 0x10007c6a
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.Unhandled_dest_type:__d_n
mov dword [esp + 8], str.PropVariantChangeType
mov dword [esp + 4], 0x1000a040
mov dword [esp], 0
call fcn.10005f80
jmp 0x10007c6a
lea eax, [ebp - 0x20]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym.propsys.dll_PropVariantToStringAlloc
sub esp, 8
mov esi, eax
test eax, eax
js 0x10007c6a
mov edx, 0x1f
mov word [ebx], dx
mov eax, dword [ebp - 0x20]
mov dword [ebx + 8], eax
jmp 0x10007c6a
lea eax, [ebp - 0x20]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym.propsys.dll_PropVariantToStringAlloc
sub esp, 8
mov esi, eax
test eax, eax
js 0x10007c6a
mov ecx, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [ebp - 0x28], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call ecx
sub esp, 0x20
mov dword [ebp - 0x24], eax
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
sub esp, 4
mov edi, eax
test eax, eax
je 0x10008076
mov dword [esp + 0x10], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov ecx, dword [ebp - 0x28]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call ecx
mov eax, 0x1e
mov dword [ebx + 8], edi
mov word [ebx], ax
sub esp, 0x20
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
sub esp, 4
jmp 0x10007c6a
lea eax, [ebp - 0x20]
mov ecx, 1
mov edx, 8
mov dword [esp], eax
mov eax, esi
call fcn.10005fd0
mov esi, eax
test eax, eax
js 0x10007c6a
mov eax, dword [ebp - 0x20]
mov edx, 0x10
mov word [ebx], dx
mov byte [ebx + 8], al
jmp 0x10007c6a
lea eax, [ebp - 0x20]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym.propsys.dll_PropVariantToUInt64
sub esp, 8
mov esi, eax
test eax, eax
js 0x10007c6a
mov ecx, 0x15
mov word [ebx], cx
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
jmp 0x10007c6a
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 8
mov dword [esp], eax
mov eax, esi
call fcn.10005fd0
mov esi, eax
test eax, eax
js 0x10007c6a
mov eax, 0x11
mov word [ebx], ax
mov eax, dword [ebp - 0x20]
mov byte [ebx + 8], al
jmp 0x10007c6a
lea eax, [ebp - 0x20]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym.propsys.dll_PropVariantToUInt16
sub esp, 8
mov esi, eax
test eax, eax
js 0x10007c6a
mov eax, 0x12
mov word [ebx], ax
movzx eax, word [ebp - 0x20]
mov word [ebx + 8], ax
jmp 0x10007c6a
lea eax, [ebp - 0x20]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym.propsys.dll_PropVariantToUInt32
sub esp, 8
mov esi, eax
test eax, eax
js 0x10007c6a
mov eax, 0x13
mov word [ebx], ax
mov eax, dword [ebp - 0x20]
mov dword [ebx + 8], eax
jmp 0x10007c6a
lea eax, [ebp - 0x20]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym.propsys.dll_PropVariantToInt64
sub esp, 8
mov esi, eax
test eax, eax
js 0x10007c6a
mov edi, 0x14
mov word [ebx], di
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
jmp 0x10007c6a
lea eax, [ebp - 0x20]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym.propsys.dll_PropVariantToInt16
sub esp, 8
mov esi, eax
test eax, eax
js 0x10007c6a
mov eax, 2
mov word [ebx], ax
movzx eax, word [ebp - 0x20]
mov word [ebx + 8], ax
jmp 0x10007c6a
lea eax, [ebp - 0x20]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym.propsys.dll_PropVariantToInt32
sub esp, 8
mov esi, eax
test eax, eax
js 0x10007c6a
mov eax, 3
mov word [ebx], ax
mov eax, dword [ebp - 0x20]
mov dword [ebx + 8], eax
jmp 0x10007c6a
lea eax, [ebp - 0x20]
add esi, 8
mov dword [ebp - 0x24], edx
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_FileTimeToSystemTime]
mov edx, dword [ebp - 0x24]
sub esp, 8
cmp dx, 0x1e
je 0x10007ff8
mov esi, 0x80004005
test byte [0x1000a040], 1
je 0x10007c6a
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.Unhandled_target_type:__d_n
mov dword [esp + 8], str.PROPVAR_ConvertFILETIME
mov dword [esp + 4], 0x1000a040
mov dword [esp], 0
call fcn.10005f80
jmp 0x10007c6a
mov dword [esp + 8], 0x40
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 dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebx + 8], eax
sub esp, 0xc
test eax, eax
je 0x10008080
movzx edx, word [ebp - 0x12]
mov dword [esp + 4], str._04d__02d__02d:_02d:_02d:_02d._03d
xor esi, esi
mov dword [esp], eax
mov dword [esp + 0x20], edx
movzx edx, word [ebp - 0x14]
mov dword [esp + 0x1c], edx
movzx edx, word [ebp - 0x16]
mov dword [esp + 0x18], edx
movzx edx, word [ebp - 0x18]
mov dword [esp + 0x14], edx
movzx edx, word [ebp - 0x1a]
mov dword [esp + 0x10], edx
movzx edx, word [ebp - 0x1e]
mov dword [esp + 0xc], edx
movzx edx, word [ebp - 0x20]
mov dword [esp + 8], edx
call fcn.10005e60
jmp 0x10007c6a
mov esi, 0x8007000e
jmp 0x10007dbd
mov esi, 0x8007000e
jmp 0x10007c6a