Function at 0x1000c560
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x98
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
test byte [0x1000f018], 1
jne 0x1000c628
or esi, ebx
mov dword [ebp - 0x64], 0x57
jne 0x1000c5fd
test edi, edi
je 0x1000c610
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x1000c610
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x1000c610
cmp dword [ebp + 0x14], 0x1f4
ja 0x1000c610
lea eax, [ebp - 0x54]
mov ebx, edi
xor esi, esi
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1000c683
mov dword [ebp + 0x10], edi
mov edx, dword [ebp - 0x68]
mov edi, esi
mov esi, dword [ebp + 0x14]
jmp 0x1000c5de
add edi, 1
add ebx, 0x1c
cmp esi, edi
je 0x1000c680
mov eax, ebx
call sym._map_address_6to4
test eax, eax
jne 0x1000c5d0
mov dword [ebp - 0x64], 0x32
test byte [0x1000f018], 1
jne 0x1000c810
mov eax, dword [ebp - 0x64]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
mov dword [ebp - 0x64], 0x57
mov eax, dword [ebp - 0x64]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x10], esi
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0xc], str._src_list__p_src_count__lu_dst_list__p_dst_count__lu_options__lx_pair_list__p_pair_count__p_:_stub_n
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 8], str.CreateSortedAddressPairs
mov dword [esp + 0x1c], eax
mov dword [esp + 4], 0x1000f018
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x1000c582
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], 0
mov ebx, dword fs:[0x18]
shl eax, 6
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x78], eax
sub esp, 0xc
test eax, eax
je 0x1000c9f6
mov dword [esp + 0xc], 0
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call sym.iphlpapi.dll_AllocateAndGetIpAddrTableFromStack
mov dword [ebp - 0x64], eax
sub esp, 0x10
test eax, eax
jne 0x1000c9d0
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x1000c7c3
mov eax, dword [ebp - 0x78]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x5c], eax
lea ebx, [eax + esi*8]
lea eax, [ebp - 0x54]
mov esi, edi
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], eax
lea esi, [esi]
mov eax, dword [ebp - 0x60]
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x68]
mov dword [ebx], eax
lea edi, [eax + 0x1c]
mov eax, esi
call sym._map_address_6to4
test eax, eax
jne 0x1000c840
test byte [0x1000f018], 1
jne 0x1000c8e8
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax]
xor eax, eax
lea ecx, [edx + 4]
mov dword [edx], 0
and ecx, 0xfffffffc
mov dword [edx + 0x18], 0
sub edx, ecx
add edx, 0x1c
and edx, 0xfffffffc
mov dword [ecx + eax], 0
add eax, 4
cmp eax, edx
jb 0x1000c764
mov eax, dword [ebp - 0x5c]
mov edx, 0x17
mov eax, dword [eax]
mov word [eax], dx
mov ecx, dword [ebp - 0x5c]
mov eax, dword [esi]
add esi, 0x1c
add dword [ebp - 0x60], 0x38
mov dword [ecx + 4], edi
add ecx, 8
mov dword [edi], eax
mov eax, dword [esi - 0x18]
mov dword [ebp - 0x5c], ecx
mov dword [edi + 4], eax
mov eax, dword [esi - 0x14]
mov dword [edi + 8], eax
mov eax, dword [esi - 0x10]
mov dword [edi + 0xc], eax
mov eax, dword [esi - 0xc]
mov dword [edi + 0x10], eax
mov eax, dword [esi - 8]
mov dword [edi + 0x14], eax
mov eax, dword [esi - 4]
mov dword [edi + 0x18], eax
cmp ecx, dword [ebp - 0x6c]
jne 0x1000c718
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebp - 0x78]
mov edx, dword [ebp - 0x58]
mov dword [eax], esi
mov eax, dword [ebp + 0x20]
mov esi, dword [ebp + 0x14]
mov dword [eax], esi
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.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x64]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
mov dword [esp + 0xc], str.only_mapped_IPv4_addresses_are_supported_n
mov dword [esp + 8], str.CreateSortedAddressPairs
mov dword [esp + 4], 0x1000f018
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x1000c5fd
mov eax, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x58]
mov eax, dword [eax]
mov dword [esp + 4], 0
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x44]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x50]
mov dword [esp], eax
call sym.iphlpapi.dll_GetBestRoute
sub esp, 0xc
test eax, eax
jne 0x1000c735
mov ecx, dword [ebx]
mov edx, ebx
mov ebx, dword [ebp - 0x34]
add edx, 8
test ecx, ecx
jne 0x1000c89e
jmp 0x1000c735
add eax, 1
add edx, 0x18
cmp eax, ecx
je 0x1000c735
cmp dword [edx], ebx
jne 0x1000c890
mov ecx, dword [ebp - 0x74]
mov ebx, dword [ebp - 0x70]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
mov dword [ebx], 0x17
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0xffff0000
mov edx, dword [eax + 4]
mov word [ebx + 0x14], dx
movzx eax, word [eax + 6]
mov word [ebx + 0x16], ax
jmp 0x1000c77f
xor eax, eax
mov dword [ebp - 0x70], edi
xor ecx, ecx
lea ebx, [ebp - 0x44]
movzx edx, word [esi + eax*2 + 8]
lea edi, [eax + 1]
test dx, dx
jne 0x1000c92b
nop
test eax, eax
je 0x1000c9b8
test ecx, ecx
jne 0x1000c917
mov byte [ebx], 0x3a
mov ecx, 1
add ebx, 1
cmp edi, 7
je 0x1000c957
mov eax, edi
movzx edx, word [esi + eax*2 + 8]
lea edi, [eax + 1]
test dx, dx
je 0x1000c900
mov dword [esp], edx
call dword [sym.imp.ws2_32.dll_ntohs]
sub esp, 4
movzx eax, ax
mov dword [esp], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x100118ee
call sym._sprintf
xor ecx, ecx
add ebx, eax
cmp edi, 7
jne 0x1000c91c
movzx eax, word [esi + 0x16]
mov edi, dword [ebp - 0x70]
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_ntohs]
sub esp, 4
movzx eax, ax
mov dword [esp + 8], eax
mov dword [esp + 4], 0x100118f2
mov dword [esp], ebx
call sym._sprintf
lea eax, [ebp - 0x44]
mov dword [esp + 0xc], str.source_address_for__s_not_found_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.CreateSortedAddressPairs
mov dword [esp + 4], 0x1000f018
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x1000c742
lea eax, [ebx + 1]
mov byte [ebx], 0x3a
mov ebx, eax
test ecx, ecx
je 0x1000c90c
mov eax, edi
jmp 0x1000c91e
mov eax, dword [ebp - 0x78]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x1000c5fd
mov dword [ebp - 0x64], 8
jmp 0x1000c5fd