Function at 0x47c090
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68be40
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x7851cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
xorps xmm0, xmm0
mov dword [ebp - 0x2c], eax
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov eax, 0x3a98
mov dword [ebp - 4], edi
xor esi, esi
mov dword [ebp - 0x20], 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 0x47c258
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 0x47c135
push dword [ebp - 0x24]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
inc esi
cmp esi, 3
jae 0x47c242
mov eax, dword [ebp - 0x20]
jmp 0x47c0e3
test eax, eax
jne 0x47c230
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov esi, dword [eax + 0x10]
test esi, esi
je 0x47c222
nop
mov eax, dword [esi + 0xc]
cmp word [eax], 2
jne 0x47c168
test eax, eax
je 0x47c168
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edi, eax
test edi, edi
je 0x47c214
mov eax, edi
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47c187
sub eax, edx
lea ecx, [ebp - 0x44]
push eax
push edi
call fcn.0045e120
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
cmp eax, dword [ebp - 0x14]
je 0x47c1cd
movups xmm0, xmmword [ebp - 0x44]
mov dword [eax + 0x10], 0
mov byte [ebp - 0x44], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x34]
movq qword [eax + 0x10], xmm0
mov eax, 0xf
add dword [ebp - 0x18], 0x18
jmp 0x47c1dd
lea ecx, [ebp - 0x44]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0047ac60
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x47c214
mov ecx, dword [ebp - 0x44]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x47c20a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47c2a6
push edx
push ecx
call fcn.0062706d
add esp, 8
mov esi, dword [esi + 8]
test esi, esi
jne 0x47c150
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 8]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x47c143
push dword [ebp - 0x24]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x14]
mov dword [esi], eax
mov dword [esi + 8], ecx
jmp 0x47c26c
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.0045f300
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0062702c
mov esp, ebp
pop ebp
ret
call fcn.00646804
int3