Function at 0x401b60
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov eax, 0x18
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x51c]
push ebx
mov ebx, dword fs:[0x18]
mov edx, ebx
sub esp, 0x54c
mov dword [ebp - 0x51c], 0x18
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x52c], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov edi, eax
mov dword [esp + 8], 1
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.iphlpapi.dll_GetTcpTable]
mov edx, dword [ebp - 0x52c]
sub esp, 0xc
test eax, eax
mov ebx, eax
jne 0x401df0
mov ecx, eax
mov eax, dword [edi]
lea ebx, [edi + 4]
test eax, eax
je 0x401dbb
mov dword [ebp - 0x52c], edi
lea esi, [esi]
mov eax, dword [ebx]
cmp eax, 0xb
ja 0x401da5
mov edx, 0xfffff6df
bt edx, eax
jb 0x401da5
mov eax, dword [ebx + 4]
mov dword [ebp - 0x530], ecx
lea edi, [ebp - 0x4d8]
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_htonl]
sub esp, 4
movzx edx, al
mov dword [esp + 0x18], edx
movzx edx, ah
mov dword [esp + 0x14], edx
mov edx, eax
shr eax, 0x18
shr edx, 0x10
mov dword [esp + 0xc], eax
movzx edx, dl
mov dword [esp + 8], 0x40446c
mov dword [esp + 0x10], edx
lea edx, [ebp - 0x498]
mov dword [esp], edx
mov dword [esp + 4], pe_nt_image_headers32
call dbg.swprintf
movzx eax, word [ebx + 8]
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_htons]
sub esp, 4
movzx eax, ax
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x518]
mov dword [esp + 8], 0x404484
mov dword [esp + 4], 0x20
mov dword [esp], eax
call dbg.swprintf
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_htonl]
sub esp, 4
movzx esi, al
mov dword [esp + 0x18], esi
movzx esi, ah
mov dword [esp + 0x14], esi
mov esi, eax
shr eax, 0x18
shr esi, 0x10
mov dword [esp + 0xc], eax
mov ecx, esi
mov dword [esp + 8], 0x40446c
movzx esi, cl
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp + 0x10], esi
lea esi, [ebp - 0x398]
mov dword [esp], esi
call dbg.swprintf
movzx eax, word [ebx + 0x10]
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_htons]
sub esp, 4
movzx eax, ax
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x404484
mov dword [esp + 4], 0x20
mov dword [esp], edi
call dbg.swprintf
lea edx, [ebp - 0x498]
lea eax, [ebp - 0x518]
mov dword [esp + 8], str._s:_s
mov dword [esp + 0xc], edx
lea edx, [ebp - 0x298]
mov dword [esp], edx
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0xa0
call dbg.swprintf
mov dword [esp + 0xc], esi
lea esi, [ebp - 0x158]
mov dword [esp + 0x10], edi
mov dword [esp + 8], str._s:_s
mov dword [esp + 4], 0xa0
mov dword [esp], esi
call dbg.swprintf
mov eax, dword [ebx]
lea edx, [ebp - 0x298]
mov dword [esp + 0xc], esi
mov dword [esp + 8], edx
shl eax, 5
mov dword [esp + 4], 0x4044ac
add eax, 0x404140
mov dword [esp], str.____6s___22s___22s__s_n
mov dword [esp + 0x10], eax
call dbg.NETSTAT_wprintf
mov ecx, dword [ebp - 0x530]
mov eax, dword [ebp - 0x52c]
add ecx, 1
add ebx, 0x14
cmp ecx, dword [eax]
jb 0x401bf0
mov edi, eax
mov dword [esp + 8], edi
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]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
cmp ebx, 0x7a
jne 0x401ddf
mov eax, dword [ebp - 0x51c]
mov edx, dword [ebp - 0x52c]
jmp 0x401b8a