Function at 0x1000a8d0
Capabilities:
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x78
test byte [0x1000f018], 8
jne 0x1000ad00
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x1000ad52
lea eax, [ebp - 0x24]
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], eax
lea eax, [ebp - 0x28]
mov dword [esp + 0x24], eax
lea eax, [ebp - 0x2c]
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x30]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x34]
mov dword [esp + 0x28], 0x258
mov dword [esp + 0x20], 0xd8
mov dword [esp + 0x18], 0x444
mov dword [esp + 0x10], 8
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x10012690
mov dword [esp], 1
call sym._NsiAllocateAndGetTable_52
mov dword [ebp - 0x38], eax
sub esp, 0x34
test eax, eax
je 0x1000a978
mov eax, dword [ebp - 0x38]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
imul edx, dword [ebp - 0x24], 0x5a4
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x48], eax
sub esp, 0xc
mov ecx, eax
test eax, eax
je 0x1000af9f
mov edx, dword [ebp - 0x24]
imul eax, edx, 0x178
add eax, ecx
mov dword [ebp - 0x3c], eax
test edx, edx
je 0x1000ab85
mov ecx, dword [ebp - 0x28]
lea ebx, [ebp - 0x20]
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], ecx
add esi, 0x2c
lea esi, [esi]
mov ebx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x4c]
mov dword [esi - 0x2c], 0x178
sub edx, 1
imul ecx, ebx, 0x258
mov dword [ebp - 0x40], ecx
mov ecx, dword [edi + ecx]
mov dword [esi - 0x28], ecx
cmp edx, ebx
jbe 0x1000aa14
lea edx, [esi + 0x14c]
mov dword [esi - 0x24], edx
mov ecx, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x44]
shl ecx, 3
mov dword [esp + 4], ebx
add eax, ecx
mov dword [ebp - 0x50], ecx
mov dword [esp], eax
call sym.iphlpapi.dll_ConvertInterfaceLuidToGuid
mov edi, dword [ebp - 0x3c]
sub esp, 8
mov dword [esp + 4], edi
mov dword [esp], ebx
lea ebx, [edi + 0x28]
mov dword [esp + 8], 0x27
call sym._ConvertGuidToStringA_12.part.0
mov dword [esi - 0x20], edi
mov edx, dword [ebp - 0x40]
mov eax, ebx
add edx, dword [ebp - 0x28]
sub esp, 0xc
add edx, 4
call sym._if_counted_string_copy.constprop.0
mov dword [esi - 8], ebx
imul ebx, dword [ebp - 0x38], 0x444
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], edi
add edi, 0x22a
mov eax, edi
add edx, ebx
add edx, 0x14
call sym._if_counted_string_copy.constprop.0
mov edx, dword [ebp - 0x30]
mov dword [esi - 4], edi
add dword [ebp - 0x3c], 0x42c
add edx, ebx
movzx eax, word [edx + 0x218]
cmp eax, 8
ja 0x1000acf0
mov dword [esi + 8], eax
lea ecx, [edx + 0x21a]
cmp eax, 4
jae 0x1000aca8
test eax, eax
je 0x1000aac9
movzx ebx, byte [edx + 0x21a]
mov byte [esi], bl
test al, 2
jne 0x1000af90
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x40]
add esi, 0x178
imul eax, dword [ebp - 0x38], 0xd8
add eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x10]
add ebx, edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x40], ebx
mov dword [esi - 0x168], ecx
mov edi, dword [ebx + 0x208]
mov dword [esi - 0x164], edi
mov edi, dword [eax]
mov dword [esi - 0x160], edi
mov ecx, dword [eax + 0x18]
mov ebx, dword [eax + 0x1c]
mov dword [esi - 0x114], ecx
mov dword [esi - 0x110], ebx
mov ebx, dword [eax + 0x24]
mov ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x34]
mov dword [esi - 0x108], ebx
mov ebx, dword [ebp - 0x50]
mov dword [esi - 0x10c], ecx
mov ecx, dword [eax + ebx]
mov ebx, dword [eax + ebx + 4]
mov dword [esi - 0xf4], ecx
mov dword [esi - 0xf0], ebx
mov edi, dword [edx]
mov dword [esi - 0xe0], edi
mov edi, dword [edx + 4]
mov dword [esi - 0xdc], edi
mov edi, dword [edx + 8]
mov dword [esi - 0xd8], edi
mov edx, dword [edx + 0xc]
mov ebx, dword [ebp - 0x40]
add dword [ebp - 0x38], 1
mov dword [esi - 0xd4], edx
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebx + 0x214]
mov dword [esi - 0xd0], edx
mov edx, dword [ebp - 0x24]
cmp edx, ecx
ja 0x1000a9e8
test byte [ebp + 0xc], 1
je 0x1000af28
test byte [ebp + 0xc], 0x90
jne 0x1000ad70
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x48]
call sym._dns_info_alloc
mov dword [ebp - 0x38], eax
mov esi, eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call sym._NsiFreeTable_16
sub esp, 0x10
test esi, esi
jne 0x1000ac8c
lea edi, [ebp - 0x20]
mov dword [ebp - 0x20], 0
mov ebx, dword [ebp - 0x48]
xor esi, esi
mov dword [ebp - 0x44], edi
jmp 0x1000abf3
mov esi, dword [ebp - 0x20]
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strlen]
add eax, 2
and eax, 0xfffffffe
lea eax, [esi + eax + 0x178]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcslen]
mov esi, eax
mov eax, dword [ebx + 0x20]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcslen]
lea edx, [esi + eax + 2]
mov eax, dword [ebp - 0x20]
lea eax, [eax + edx*2]
mov dword [ebp - 0x20], eax
mov edx, dword [ebx + 0x28]
test edx, edx
je 0x1000ac4d
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll_wcslen]
mov edx, dword [ebp - 0x20]
lea eax, [edx + eax*2 + 2]
add eax, 7
mov ecx, edi
mov edx, sym._address_entry_size
and eax, 0xfffffff8
mov dword [ebp - 0x20], eax
mov eax, ebx
call sym._address_lists_iterate
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x1000abf0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x20]
test ebx, ebx
je 0x1000ac80
mov ecx, dword [ebp + 0x18]
cmp dword [ecx], eax
jae 0x1000ade0
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x38], 0x6f
mov dword [ecx], eax
mov eax, dword [ebp - 0x48]
call sym._adapters_addresses_free
mov eax, dword [ebp - 0x38]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
mov ebx, dword [edx + 0x21a]
mov edi, esi
mov dword [esi], ebx
mov ebx, dword [ecx + eax - 4]
mov dword [esi + eax - 4], ebx
lea ebx, [esi + 4]
and ebx, 0xfffffffc
sub edi, ebx
add eax, edi
sub ecx, edi
and eax, 0xfffffffc
cmp eax, 4
jb 0x1000aac9
mov dword [ebp - 0x4c], edx
and eax, 0xfffffffc
xor edi, edi
mov edx, dword [ecx + edi]
mov dword [ebx + edi], edx
add edi, 4
cmp edi, eax
jb 0x1000acda
mov edx, dword [ebp - 0x4c]
jmp 0x1000aac9
mov dword [esi + 8], 0
xor eax, eax
jmp 0x1000aaa5
mov eax, dword [ebp + 0x18]
mov dword [esp + 0xc], str.__ld___08lx___p___p___p__n
mov dword [esp + 8], str.GetAdaptersAddresses
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], 0x1000f018
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], 3
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
call sym._wine_dbg_log.constprop.0
mov esi, dword [ebp + 0x18]
test esi, esi
jne 0x1000a8f3
mov dword [ebp - 0x38], 0x57
mov eax, dword [ebp - 0x38]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
cmp dword [ebp + 8], 2
je 0x1000ad97
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x48]
mov edx, 0x17
call sym._gateway_and_prefix_addresses_alloc
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x1000adb2
cmp dword [ebp + 8], 0x17
je 0x1000ab99
mov ecx, dword [ebp + 0xc]
mov edx, 2
mov eax, dword [ebp - 0x48]
call sym._gateway_and_prefix_addresses_alloc
mov dword [ebp - 0x38], eax
test eax, eax
je 0x1000ab99
mov eax, dword [ebp - 0x28]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call sym._NsiFreeTable_16
sub esp, 0x10
jmp 0x1000ac8c
mov ebx, dword [ebp - 0x48]
jmp 0x1000adfc
mov esi, dword [ebp + 0x14]
mov dword [esi + 8], eax
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x1000ac8c
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x14]
mov ecx, 0x5e
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x14]
add eax, 0x178
mov dword [ecx + 0xc], eax
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x3c], eax
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 4], edi
mov edi, dword [ebp - 0x3c]
mov esi, eax
lea eax, [eax + 1]
mov dword [esp], edi
add esi, 2
mov dword [esp + 8], eax
and esi, 0xfffffffe
add esi, edi
call sym._memcpy
mov eax, dword [ebp + 0x14]
mov dword [eax + 0x24], esi
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcslen]
mov edx, dword [ebx + 0x24]
lea edi, [eax + eax + 2]
mov eax, dword [ebp + 0x14]
add esi, edi
mov eax, dword [eax + 0x24]
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [esp], eax
call sym._memcpy
mov eax, dword [ebp + 0x14]
mov dword [eax + 0x20], esi
mov eax, dword [ebx + 0x20]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcslen]
mov edx, dword [ebx + 0x20]
lea edi, [eax + eax + 2]
mov eax, dword [ebp + 0x14]
add esi, edi
mov eax, dword [eax + 0x20]
mov dword [esp + 8], edi
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._memcpy
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x1000aedf
mov eax, dword [ebp + 0x14]
mov dword [eax + 0x28], esi
mov eax, dword [ebx + 0x28]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcslen]
mov edx, dword [ebx + 0x28]
lea edi, [eax + eax + 2]
mov eax, dword [ebp + 0x14]
add esi, edi
mov eax, dword [eax + 0x28]
mov dword [esp + 8], edi
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._memcpy
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x44]
add esi, 7
mov edx, sym._address_entry_copy
and esi, 0xfffffff8
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], eax
mov eax, ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xffffffff
call sym._address_lists_iterate
mov edx, dword [ebx + 8]
mov eax, dword [ebp - 0x18]
test edx, edx
jne 0x1000ade8
jmp 0x1000ac8c
cmp dword [ebp + 8], 2
je 0x1000af70
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x48]
mov edx, 0x17
call sym._unicast_addresses_alloc
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x1000adb2
cmp dword [ebp + 8], 0x17
jne 0x1000af70
test byte [ebp + 0xc], 0x90
je 0x1000ab99
mov ecx, dword [ebp + 0xc]
mov edx, 0x17
jmp 0x1000ad9f
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x48]
mov edx, 2
call sym._unicast_addresses_alloc
mov dword [ebp - 0x38], eax
test eax, eax
je 0x1000ab8f
jmp 0x1000adb2
movzx ecx, word [ecx + eax - 2]
mov word [esi + eax - 2], cx
jmp 0x1000aac9
mov dword [ebp - 0x38], 8
jmp 0x1000adb2