Function at 0x460190
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599dd0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x610684]
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 dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], ecx
xor ebx, ebx
mov dword [ebp - 0x4c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ebx
movq qword [ebp - 0x1c], xmm0
xor esi, esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], esi
mov eax, 0x3a98
mov dword [ebp - 4], esi
xor edi, edi
mov dword [ebp - 0x20], eax
nop word [eax + eax]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x46038d
lea ecx, [ebp - 0x20]
push ecx
push eax
push 0
push 0x10
push 2
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
cmp eax, 0x6f
jne 0x460243
push dword [ebp - 0x24]
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call eax
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
inc edi
cmp edi, 3
jae 0x460378
mov eax, dword [ebp - 0x20]
jmp 0x4601f0
test eax, eax
jne 0x460365
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov edi, dword [eax + 0x10]
mov dword [ebp - 0x2c], edi
test edi, edi
je 0x460357
nop
mov eax, dword [edi + 0xc]
cmp word [eax], 2
jne 0x460278
test eax, eax
je 0x460278
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ebx, eax
test ebx, ebx
je 0x460346
cmp byte [ebx], 0
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
jne 0x46029b
xor eax, eax
jmp 0x4602a9
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4602a0
sub eax, edx
push eax
push ebx
lea ecx, [ebp - 0x48]
call fcn.0044f570
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 1
cmp eax, esi
jae 0x460306
mov ecx, eax
mov eax, dword [ebp - 0x1c]
cmp eax, ecx
ja 0x460306
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp esi, dword [ebp - 0x14]
jne 0x4602ec
push 1
lea ecx, [ebp - 0x1c]
call fcn.00452be0
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
lea eax, [edi + edi*2]
lea eax, [ecx + eax*8]
test esi, esi
je 0x460301
push eax
mov ecx, esi
call fcn.00452800
mov edi, dword [ebp - 0x2c]
jmp 0x460327
cmp esi, dword [ebp - 0x14]
jne 0x460318
push 1
lea ecx, [ebp - 0x1c]
call fcn.00452be0
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x460327
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.00452800
add esi, 0x18
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], esi
cmp eax, 0x10
jb 0x460346
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.0044c890
mov edi, dword [edi + 8]
mov dword [ebp - 0x2c], edi
test edi, edi
jne 0x460260
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 8]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x460251
push dword [ebp - 0x24]
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call eax
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
mov dword [ecx + 8], eax
mov eax, ecx
mov dword [ecx + 4], esi
jmp 0x4603c3
mov ebx, dword [ebp - 0x30]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
call fcn.00452580
mov eax, ebx
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.00544516
mov esp, ebp
pop ebp
ret