Function at 0x40e4b0
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aa4db
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x62d12c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov dword [ebp - 0x838], 0x4000
xor ebx, ebx
mov eax, dword [ebp - 0x838]
push eax
call fcn.0055b249
add esp, 4
mov dword [ebp - 0x834], eax
test eax, eax
je 0x40e541
lea ecx, [ebp - 0x838]
push ecx
push eax
push 0
push 0x10
push 2
call edi
mov esi, eax
cmp esi, 0x6f
jne 0x40e557
mov edx, dword [ebp - 0x834]
push edx
call fcn.0055a19c
inc ebx
add esp, 4
mov dword [ebp - 0x834], 0
cmp ebx, 3
jl 0x40e4f0
jmp 0x40e55d
push str._logIPv4Interfaces__No_memory
push 1
call fcn.005304d0
add esp, 8
xor al, al
jmp 0x40e743
xor edi, edi
cmp esi, edi
je 0x40e587
push esi
push str._logIPv4Interfaces__GetAdapterAddresses_failed_with_result__d
push 1
call fcn.005304d0
mov eax, dword [ebp - 0x834]
add esp, 0xc
test eax, eax
je 0x40e580
push eax
call fcn.0055a19c
add esp, 4
xor al, al
jmp 0x40e743
mov esi, dword [ebp - 0x834]
lea ecx, [ecx]
mov dword [ebp - 0x818], 0xf
mov dword [ebp - 0x81c], edi
mov byte [ebp - 0x82c], 0
mov dword [ebp - 4], edi
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 0x40]
cmp dword [esi], 0x170
push eax
mov eax, dword [esi + 0x24]
push ecx
mov ecx, dword [esi + 0x28]
push edx
mov edx, dword [esi + 4]
push eax
push ecx
push edx
push str.Index_d___S____S__IfType_d_Flags_08x_OperStatus_d
push 0xffffffffffffffff
lea eax, [ebp - 0x810]
push 0x800
push eax
setae bl
call fcn.00559bfd
lea eax, [ebp - 0x810]
add esp, 0x28
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40e5f0
sub eax, edx
push eax
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0x82c]
call fcn.00422130
cmp dword [esi + 0x44], 2
je 0x40e6e0
test bl, bl
je 0x40e661
mov edx, dword [esi + 0xa8]
push edx
push str._IPv4Metric_d
push 0xffffffffffffffff
lea eax, [ebp - 0x810]
push 0x800
push eax
call fcn.00559bfd
lea eax, [ebp - 0x810]
add esp, 0x14
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40e645
sub eax, edx
push eax
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0x82c]
call fcn.00416b30
mov ebx, dword [esi + 0x10]
cmp ebx, edi
je 0x40e6e0
push 6
push str._IPv4
lea ecx, [ebp - 0x82c]
call fcn.00416b30
mov byte [ebp - 0x82d], 1
mov edi, dword [ebx + 0xc]
cmp word [edi], 2
jne 0x40e6d7
cmp byte [ebp - 0x82d], 0
je 0x40e6a0
mov byte [ebp - 0x82d], 0
jmp 0x40e6b2
push 1
push 0x5e7224
lea ecx, [ebp - 0x82c]
call fcn.00416b30
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ecx, eax
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x40e6c1
sub ecx, edi
push ecx
push eax
lea ecx, [ebp - 0x82c]
call fcn.00416b30
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x40e685
xor edi, edi
mov eax, dword [ebp - 0x82c]
mov ebx, 0x10
cmp dword [ebp - 0x818], ebx
jae 0x40e6f9
lea eax, [ebp - 0x82c]
push eax
push str._logIPv4Interfaces___s
push 3
call fcn.005304d0
mov esi, dword [esi + 8]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x818], ebx
jb 0x40e72a
mov eax, dword [ebp - 0x82c]
push eax
call fcn.00558723
add esp, 4
cmp esi, edi
jne 0x40e590
mov ecx, dword [ebp - 0x834]
push ecx
call fcn.0055a19c
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00558b78
mov esp, ebp
pop ebp
ret