Function at 0x1000b7b0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x58
mov dword [ebp - 0x2c], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x28], 0
mov esi, dword [ebp + 0xc]
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 0x1000bb00
test esi, esi
je 0x1000bb37
cmp bx, 2
je 0x1000ba58
cmp bx, 0x17
je 0x1000ba58
mov dword [ebp - 0x30], 0x57
test bx, bx
jne 0x1000ba46
lea eax, [ebp - 0x14]
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], eax
lea eax, [ebp - 0x1c]
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x24]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x2c]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0x10
mov dword [esp + 0x18], 0x20
mov dword [esp + 0x10], 0x18
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xb
mov dword [esp + 4], 0x100126f0
mov dword [esp], 1
call sym._NsiAllocateAndGetTable_52
mov dword [ebp - 0x30], eax
sub esp, 0x34
test eax, eax
jne 0x1000bad5
lea eax, [ebp - 0x10]
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], eax
lea eax, [ebp - 0x18]
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x20]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x28]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0x10
mov dword [esp + 0x18], 0x20
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xb
mov dword [esp + 4], 0x100126d8
mov dword [esp], 1
call sym._NsiAllocateAndGetTable_52
mov dword [ebp - 0x30], eax
sub esp, 0x34
test eax, eax
je 0x1000baef
mov dword [ebp - 0x10], 0
xor eax, eax
add eax, dword [ebp - 0x14]
mov dword [esp + 4], 0
imul eax, eax, 0x58
mov edx, dword fs:[0x18]
add eax, 8
mov dword [esp + 8], eax
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 0x1000bb4b
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
lea ebx, [ecx + edx]
mov dword [eax], ebx
test ecx, ecx
je 0x1000b9b0
xor ebx, ebx
jmp 0x1000b972
mov eax, dword [esi]
mov edx, dword [ebp - 0x2c]
lea ecx, [ebx + ebx*2]
lea ecx, [edx + ecx*8]
imul edx, ebx, 0x58
lea edi, [eax + edx + 8]
mov eax, ebx
mov edx, 2
shl eax, 4
add eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, ebx
add ebx, 1
shl eax, 5
add eax, dword [ebp - 0x24]
mov dword [esp], eax
mov eax, edi
call sym._ipnet_row2_fill
cmp dword [ebp - 0x14], ebx
ja 0x1000b970
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x1000b9fe
xor ebx, ebx
lea esi, [esi]
lea edi, [edi]
mov edx, dword [ebp - 0x14]
mov edi, dword [esi]
mov eax, ebx
mov ecx, dword [ebp - 0x28]
shl eax, 5
add edx, ebx
imul edx, edx, 0x58
add ecx, eax
add eax, dword [ebp - 0x20]
mov dword [esp], eax
lea edi, [edi + edx + 8]
mov edx, ebx
add ebx, 1
shl edx, 4
add edx, dword [ebp - 0x18]
mov eax, edi
mov dword [esp + 4], edx
mov edx, 0x17
call sym._ipnet_row2_fill
cmp dword [ebp - 0x10], ebx
ja 0x1000b9c0
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._NsiFreeTable_16
mov eax, dword [ebp - 0x18]
sub esp, 0x10
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sym._NsiFreeTable_16
sub esp, 0x10
mov eax, dword [ebp - 0x30]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
test bx, 0xfffd
jne 0x1000b8a6
lea eax, [ebp - 0x14]
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], eax
lea eax, [ebp - 0x1c]
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x24]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x2c]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0x10
mov dword [esp + 0x18], 0x20
mov dword [esp + 0x10], 0x18
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xb
mov dword [esp + 4], 0x100126f0
mov dword [esp], 1
call sym._NsiAllocateAndGetTable_52
mov dword [ebp - 0x30], eax
sub esp, 0x34
test eax, eax
je 0x1000badc
mov dword [ebp - 0x14], 0
test bx, bx
je 0x1000b8a6
cmp bx, 0x17
je 0x1000b8a6
mov eax, dword [ebp - 0x10]
jmp 0x1000b925
movzx eax, bx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._u___p_n
mov dword [esp + 8], str.GetIpNetTable2
mov dword [esp + 4], 0x1000f018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
test esi, esi
jne 0x1000b80c
mov dword [ebp - 0x30], 0x57
mov eax, dword [ebp - 0x30]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov dword [ebp - 0x30], 8
jmp 0x1000b9fe