Function at 0x10024ed0
Capabilities:
Get local ipv4 addresses
Get mac address on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008aad0
mov eax, dword fs:[0]
push eax
sub esp, 0x550
mov eax, dword [0x100a70c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x55c], ecx
push 0x288
push 0
mov dword [ebp - 0x550], 0
mov dword [ebp - 0x548], 0x288
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call edi
mov dword [ebp - 0x544], eax
test eax, eax
je 0x10024f7e
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea ecx, [ebp - 0x548]
push ecx
push eax
call esi
cmp eax, 0x6f
jne 0x10024f9b
push dword [ebp - 0x544]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x548]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call edi
mov edi, eax
mov dword [ebp - 0x544], edi
test edi, edi
jne 0x10024fa1
xor eax, eax
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.10063277
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x544]
lea eax, [ebp - 0x548]
push eax
push edi
call esi
test eax, eax
jne 0x10025291
mov dword [ebp - 0x53c], edi
cmp dword [ebp - 0x544], eax
je 0x100252a1
lea eax, [edi + 8]
mov dword [ebp - 0x54c], eax
test eax, eax
je 0x10025151
push 0x168
lea eax, [ebp - 0x47c]
mov ecx, 0x28
mov esi, str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
lea edi, [ebp - 0x51c]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.10065890
add esp, 0xc
mov dword [ebp - 0x538], 0
lea eax, [ebp - 0x538]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x51c]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10025033
xor eax, eax
jmp 0x1002514b
push 0x104
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.10065890
push dword [ebp - 0x54c]
lea eax, [ebp - 0x120]
push str._sConnection
push eax
call fcn.10026530
add esp, 0x18
mov dword [ebp - 0x540], 0
lea eax, [ebp - 0x540]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x538]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100250a2
push dword [ebp - 0x538]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x1002514b
lea eax, [ebp - 0x554]
mov dword [ebp - 0x558], 1
push eax
lea eax, [ebp - 0x314]
mov dword [ebp - 0x554], 0xfa
push eax
lea eax, [ebp - 0x558]
push eax
push 0
push str.PnPInstanceId
push dword [ebp - 0x540]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100250fc
push dword [ebp - 0x538]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x540]
call esi
xor eax, eax
jmp 0x1002514b
push 3
lea eax, [ebp - 0x314]
push 0x10098adc
push eax
call fcn.10073e84
add esp, 0xc
test eax, eax
je 0x10025130
push 3
lea eax, [ebp - 0x314]
push 0x10098ae4
push eax
call fcn.10073e84
add esp, 0xc
test eax, eax
jne 0x100250e2
push dword [ebp - 0x538]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x540]
call esi
mov eax, 1
mov edi, dword [ebp - 0x53c]
test eax, eax
je 0x1002527b
lea edx, [edi + 0x1b0]
mov dword [ebp - 0x524], 0
mov ecx, edx
mov dword [ebp - 0x520], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x534], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10025182
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x534]
call fcn.10003170
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x534]
cmp dword [ebp - 0x520], 0xf
mov edx, dword [ebp - 0x534]
cmova ecx, edx
mov dword [ebp - 0x54c], edx
cmp dword [ebp - 0x524], 7
jne 0x100251da
cmp dword [ecx], 0x2e302e30
jne 0x100251da
cmp word [ecx + 4], 0x2e30
jne 0x100251da
cmp byte [ecx + 6], 0x30
je 0x10025242
xor esi, esi
cmp dword [edi + 0x190], esi
jbe 0x10025238
nop dword [eax]
nop dword [eax + eax]
xorps xmm0, xmm0
mov word [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
movzx eax, byte [edi + esi + 0x194]
push eax
push str._.2X
lea eax, [ebp - 0x1c]
push 0xa
push eax
call fcn.10002970
mov ecx, dword [ebp - 0x55c]
lea eax, [ebp - 0x1c]
add esp, 0x10
push eax
call fcn.10003060
inc esi
cmp esi, dword [edi + 0x190]
jb 0x100251f0
mov edx, dword [ebp - 0x54c]
mov dword [ebp - 0x550], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x520]
cmp eax, 0xf
jbe 0x1002527b
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10025271
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100252ac
push ecx
push edx
call fcn.100635d4
add esp, 8
mov edi, dword [edi]
mov dword [ebp - 0x53c], edi
test edi, edi
jne 0x10024fc5
mov edi, dword [ebp - 0x544]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x550]
jmp 0x10024f80
call fcn.1006dc9f
int3