Function at 0x1000be10
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov dword [ebp - 0x34], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x30], 0
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
test byte [0x1000f018], 8
jne 0x1000c180
test esi, esi
je 0x1000c1b7
cmp di, 2
je 0x1000c0e0
cmp di, 0x17
je 0x1000c0e0
mov ebx, 0x57
test di, di
jne 0x1000c0cb
lea eax, [ebp - 0x14]
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], eax
lea eax, [ebp - 0x1c]
mov dword [esp + 0x24], eax
lea eax, [ebp - 0x24]
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x2c]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x34]
mov dword [esp + 0x28], 8
mov dword [esp + 0x20], 8
mov dword [esp + 0x18], 0x1c
mov dword [esp + 0x10], 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0x100126f0
mov dword [esp], 1
call sym._NsiAllocateAndGetTable_52
sub esp, 0x34
mov ebx, eax
test eax, eax
jne 0x1000c085
lea eax, [ebp - 0x10]
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], eax
lea eax, [ebp - 0x18]
mov dword [esp + 0x24], eax
lea eax, [ebp - 0x20]
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x28]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x30]
mov dword [esp + 0x28], 8
mov dword [esp + 0x20], 8
mov dword [esp + 0x18], 0x1c
mov dword [esp + 0x10], 0x18
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0x100126d8
mov dword [esp], 1
call sym._NsiAllocateAndGetTable_52
sub esp, 0x34
mov ebx, eax
test eax, eax
jne 0x1000c085
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x14]
mov dword [esp + 4], 0
lea eax, [eax + eax*4]
shl eax, 4
add eax, 8
mov dword [esp + 8], eax
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esi], eax
sub esp, 0xc
test eax, eax
je 0x1000c1c8
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
lea ebx, [ecx + edx]
mov dword [eax], ebx
test ecx, ecx
je 0x1000c021
xor ebx, ebx
jmp 0x1000bfda
mov eax, dword [esi]
lea edi, [ebx + ebx*4]
lea edx, [ebx*8]
mov ecx, ebx
shl edi, 4
shl ecx, 4
add ecx, dword [ebp - 0x34]
lea eax, [eax + edi + 8]
mov edi, dword [ebp - 0x1c]
add edi, edx
add edx, dword [ebp - 0x24]
mov dword [esp + 4], edx
imul edx, ebx, 0x1c
add edx, dword [ebp - 0x2c]
add ebx, 1
mov dword [esp], edx
mov edx, 2
mov dword [esp + 8], edi
call sym._unicast_row_fill
cmp dword [ebp - 0x14], ebx
ja 0x1000bfd8
mov edx, dword [ebp - 0x10]
xor edi, edi
xor ebx, ebx
test edx, edx
je 0x1000c083
mov dword [ebp + 0xc], esi
lea esi, [esi]
mov edx, dword [ebp - 0x30]
lea ecx, [ebx + ebx*2]
mov esi, dword [ebp + 0xc]
lea eax, [ebx*8]
lea ecx, [edx + ecx*8]
mov edx, dword [ebp - 0x14]
mov esi, dword [esi]
add edx, ebx
add ebx, 1
lea edx, [edx + edx*4]
shl edx, 4
lea esi, [esi + edx + 8]
mov edx, dword [ebp - 0x18]
add edx, eax
add eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 8], edx
mov edx, 0x17
add eax, edi
add edi, 0x1c
mov dword [esp], eax
mov eax, esi
call sym._unicast_row_fill
cmp dword [ebp - 0x10], ebx
ja 0x1000c030
xor ebx, ebx
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call sym._NsiFreeTable_16
mov eax, dword [ebp - 0x18]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call sym._NsiFreeTable_16
sub esp, 0x10
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 8
test di, 0xfffd
jne 0x1000bf10
lea eax, [ebp - 0x14]
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], eax
lea eax, [ebp - 0x1c]
mov dword [esp + 0x24], eax
lea eax, [ebp - 0x24]
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x2c]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x34]
mov dword [esp + 0x28], 8
mov dword [esp + 0x20], 8
mov dword [esp + 0x18], 0x1c
mov dword [esp + 0x10], 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0x100126f0
mov dword [esp], 1
call sym._NsiAllocateAndGetTable_52
sub esp, 0x34
mov ebx, eax
test eax, eax
jne 0x1000c085
test di, di
je 0x1000bf10
cmp di, 0x17
jne 0x1000bf84
jmp 0x1000bf10
movzx eax, di
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._u___p_n
mov dword [esp + 8], str.GetUnicastIpAddressTable
mov dword [esp + 4], 0x1000f018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
test esi, esi
jne 0x1000be7a
lea esp, [ebp - 0xc]
mov ebx, 0x57
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov ebx, 8
jmp 0x1000c085