Function at 0x1000b090
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov edi, dword [ebp + 8]
test byte [0x10013318], 8
jne 0x1000b300
mov dword [edi], 0
mov dword [esp], 0x10013300
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ebx, dword [0x1001c02c]
sub esp, 4
test ebx, ebx
je 0x1000b141
mov eax, dword [ebx]
mov edx, dword [ebx + 8]
add ebx, 8
lea ecx, [eax + eax*4]
shl ecx, 2
cmp ebx, edx
jne 0x1000b0ed
jmp 0x1000b13d
mov esi, dword [edx + 0x18]
test esi, esi
jne 0x1000b116
mov edx, dword [edx]
cmp edx, ebx
je 0x1000b13d
mov esi, dword [edx + 0x14]
test esi, esi
je 0x1000b0e0
cmp word [esi], 0
je 0x1000b340
mov eax, esi
add eax, 2
cmp word [eax], 0
jne 0x1000b100
sub eax, esi
mov esi, dword [edx + 0x18]
lea ecx, [ecx + eax + 2]
test esi, esi
je 0x1000b0e7
cmp word [esi], 0
je 0x1000b338
mov eax, esi
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x1000b128
sub eax, esi
mov edx, dword [edx]
lea ecx, [ecx + eax + 2]
cmp edx, ebx
jne 0x1000b0ed
test ecx, ecx
jne 0x1000b16c
xor ebx, ebx
mov dword [esp], 0x10013300
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
test byte [0x10013318], 8
jne 0x1000b2c8
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov dword [esp + 8], ecx
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 0x1000b3e1
mov edx, dword [0x1001c02c]
mov eax, dword [ebp + 0xc]
mov ecx, dword [edx]
add edx, 8
mov dword [edi], ecx
mov eax, dword [eax]
lea ecx, [ecx + ecx*4]
mov esi, dword [edx]
lea ebx, [eax + ecx*4]
cmp esi, edx
je 0x1000b141
mov dword [ebp - 0x10], 0
jmp 0x1000b1fc
mov dword [edi + 0xc], 0
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x1000b27b
mov dword [edi + 0x10], 0
mov eax, dword [0x1001c02c]
mov esi, dword [esi]
add dword [ebp - 0x10], 1
add eax, 8
cmp esi, eax
je 0x1000b141
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edi, dword [ebp - 0x10]
lea edx, [edi + edi*4]
lea edi, [eax + edx*4]
mov eax, dword [esi + 8]
mov dword [edi], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 8], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1000b1c8
test byte [0x10013318], 8
jne 0x1000b390
mov dword [edi + 0xc], ebx
mov ecx, dword [esi + 0x14]
xor eax, eax
nop
movzx edx, word [ecx + eax]
mov word [ebx + eax], dx
add eax, 2
test dx, dx
jne 0x1000b240
cmp word [ebx], 0
je 0x1000b3c9
mov eax, ebx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x1000b260
sub eax, ebx
add eax, 2
add ebx, eax
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1000b1da
test byte [0x10013318], 8
jne 0x1000b350
mov dword [edi + 0x10], ebx
mov ecx, dword [esi + 0x18]
xor eax, eax
movzx edx, word [ecx + eax]
mov word [ebx + eax], dx
add eax, 2
test dx, dx
jne 0x1000b290
cmp word [ebx], 0
je 0x1000b3d5
mov eax, ebx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x1000b2b0
sub eax, ebx
add eax, 2
add ebx, eax
jmp 0x1000b1e1
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.____0x_08lx_n
mov dword [esp + 8], str.EnumerateSecurityPackagesW
mov dword [esp + 4], 0x10013318
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.__p___p__n
mov dword [esp + 0x14], eax
mov dword [esp + 8], str.EnumerateSecurityPackagesW
mov dword [esp + 4], 0x10013318
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x1000b0a9
xor eax, eax
jmp 0x1000b133
xor eax, eax
jmp 0x1000b10b
call sym._wine_dbgstr_wn.constprop.0_2
mov dword [esp + 0xc], str.Comment__ld____s_n
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], str.EnumerateSecurityPackagesW
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x10013318
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x1000b288
call sym._wine_dbgstr_wn.constprop.0_2
mov dword [esp + 0xc], str.Name__ld____s_n
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], str.EnumerateSecurityPackagesW
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x10013318
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x1000b236
mov eax, 2
add ebx, eax
jmp 0x1000b270
mov eax, 2
add ebx, eax
jmp 0x1000b1e1
mov ebx, 0x80090300
jmp 0x1000b143