Function at 0x49e839
Capabilities:
Get local ipv4 addresses

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
mov esi, dword [0x4b70c8]
cmp esi, 0x4b70c8
je 0x49e884
test byte [esi + 0x1c], 2
je 0x49e884
cmp byte [esi + 0x19], 5
jb 0x49e884
push ecx
push dword [esi + 0x14]
mov edx, 0x410568
push dword [esi + 0x10]
push 0x1c
pop ecx
call fcn.0041610f
mov esi, dword [0x4b70c8]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ebx, ebx
mov eax, ebx
mov edi, ebx
mov dword [ebp - 4], eax
test edx, edx
jne 0x49e89b
mov edi, 0x80070057
jmp 0x49e9e9
lea eax, [ebp - 4]
mov dword [edx], ebx
push eax
push ebx
push ebx
push 0xe
push ecx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov esi, dword [0x4b70c8]
mov edx, eax
mov dword [ebp - 0x10], 0xa
cmp edx, 0x6f
jne 0x49e938
mov esi, dword [ebp - 8]
push dword [esi]
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
push dword [ebp - 4]
call fcn.004a8468
mov dword [esi], eax
pop ecx
test eax, eax
jne 0x49e919
push 8
pop edx
mov edi, 0x8007000e
mov dword [ebp - 0x14], edx
mov esi, dword [0x4b70c8]
cmp esi, 0x4b70c8
je 0x49e932
test byte [esi + 0x1c], 0x20
je 0x49e932
cmp byte [esi + 0x19], 2
jb 0x49e932
push edi
push dword [esi + 0x14]
mov edx, 0x410568
push dword [esi + 0x10]
push 0x1d
pop ecx
call fcn.0041610f
mov edx, dword [ebp - 0x14]
jmp 0x49e92c
lea ecx, [ebp - 4]
push ecx
push eax
push ebx
push 0xe
push dword [ebp - 0xc]
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov edx, eax
mov esi, dword [0x4b70c8]
sub dword [ebp - 0x10], 1
jne 0x49e8bb
test edx, edx
je 0x49e990
jg 0x49e942
mov edi, edx
jmp 0x49e94b
movzx edi, dx
or edi, 0x80070000
test edi, edi
js 0x49e954
mov edi, 0x80004005
cmp esi, 0x4b70c8
je 0x49e990
test byte [esi + 0x1c], 0x20
je 0x49e990
movzx eax, byte [esi + 0x19]
mov ecx, edi
sar ecx, 0x1f
and ecx, 0xfffffffd
add ecx, 5
cmp eax, ecx
jl 0x49e990
push edx
push edi
push dword [esi + 0x14]
mov edx, 0x410568
push dword [esi + 0x10]
push 0x1e
pop ecx
call fcn.00417822
mov esi, dword [0x4b70c8]
test edi, edi
js 0x49e9d2
mov eax, dword [ebp - 4]
cmp eax, 0x178
jae 0x49e9ce
mov edi, 0x8000ffff
cmp esi, 0x4b70c8
je 0x49e9d2
test byte [esi + 0x1c], 0x20
je 0x49e9d2
cmp byte [esi + 0x19], 2
jb 0x49e9d2
push ecx
push eax
push ecx
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.0049e1b1
mov eax, dword [ebp - 4]
mov esi, dword [0x4b70c8]
test edi, edi
jns 0x49e9e9
mov esi, dword [ebp - 8]
push dword [esi]
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
mov eax, dword [ebp - 4]
mov dword [esi], ebx
mov esi, dword [0x4b70c8]
pop ecx
mov edx, dword [ebp + 8]
test edx, edx
je 0x49e9fe
test edi, edi
jns 0x49e9f6
mov eax, ebx
mov dword [edx], eax
mov esi, dword [0x4b70c8]
cmp esi, 0x4b70c8
je 0x49ea48
test byte [esi + 0x1c], 2
je 0x49ea48
movzx eax, byte [esi + 0x19]
mov ecx, edi
sar ecx, 0x1f
and ecx, 0xfffffffd
add ecx, 5
cmp eax, ecx
jl 0x49ea48
test edx, edx
je 0x49ea27
mov ecx, dword [edx]
jmp 0x49ea29
mov ecx, ebx
mov eax, dword [ebp - 8]
test eax, eax
je 0x49ea32
mov ebx, dword [eax]
push ecx
push ebx
push edi
push dword [esi + 0x14]
mov edx, 0x410568
push dword [esi + 0x10]
push 0x20
pop ecx
call fcn.00417592
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4