Function at 0x10010920
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x28
mov ebx, dword [ebp + 8]
test byte [0x10013350], 8
jne 0x10010b48
test ebx, ebx
je 0x10010b88
mov dword [esp], ebx
call sym._SECUR32_findPackageA
mov edi, eax
test eax, eax
je 0x10010b88
mov eax, dword [eax + 0x14]
test eax, eax
je 0x10010b08
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
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 dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [ebp - 0x10], eax
sub esp, 0x20
lea edx, [eax + 0x14]
mov eax, dword [edi + 0x18]
xor ebx, ebx
test eax, eax
je 0x100109ff
mov dword [ebp - 0x14], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
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 dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov edx, dword [ebp - 0x14]
sub esp, 0x20
mov ebx, eax
add edx, eax
mov dword [esp + 8], edx
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.ntdll.dll_RtlAllocateHeap]
mov ecx, dword [ebp + 0xc]
sub esp, 0xc
mov dword [ecx], eax
test eax, eax
je 0x10010b92
mov esi, dword [edi + 8]
lea edx, [eax + 0x14]
mov dword [eax], esi
mov esi, dword [edi + 0xc]
mov dword [eax + 4], esi
mov esi, dword [edi + 0x10]
mov dword [eax + 8], esi
mov esi, dword [edi + 0x14]
mov dword [eax + 0xc], esi
mov ecx, dword [edi + 0x18]
mov dword [eax + 0x10], ecx
mov esi, dword [edi + 0x14]
test esi, esi
je 0x10010b38
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x10], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov edx, dword [ebp - 0x10]
sub esp, 0x20
add edx, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x10010b20
mov dword [eax + 0x10], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [edi + 0x18]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
xor eax, eax
sub esp, 0x20
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov dword [ebp - 0x10], 0
mov edx, 0x14
jmp 0x100109a8
mov dword [eax + 0x10], 0
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov dword [eax + 0xc], 0
jmp 0x10010aad
mov eax, ebx
call sym._wine_dbgstr_an.constprop.0_3
mov esi, dword [ebp + 0xc]
mov dword [esp + 0xc], str._s__p_n
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
mov dword [esp + 8], str.QuerySecurityPackageInfoA
mov dword [esp + 4], 0x10013350
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
jmp 0x10010939
mov eax, 0x80090305
jmp 0x10010af8
mov eax, 0x80090300
jmp 0x10010af8