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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c6da0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x558
mov eax, dword [0x6540c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x568], ecx
push 0x288
push 0
mov dword [ebp - 0x55c], 0
mov dword [ebp - 0x554], 0x288
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call edi
mov dword [ebp - 0x550], eax
test eax, eax
je 0x407782
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea ecx, [ebp - 0x554]
push ecx
push eax
call esi
cmp eax, 0x6f
jne 0x4077a2
push dword [ebp - 0x550]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x554]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call edi
mov edi, eax
mov dword [ebp - 0x550], edi
test edi, edi
jne 0x4077a8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004398fa
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov edi, dword [ebp - 0x550]
lea eax, [ebp - 0x554]
push eax
push edi
call esi
test eax, eax
jne 0x407a93
mov dword [ebp - 0x548], edi
cmp dword [ebp - 0x550], eax
je 0x407aa3
nop dword [eax]
lea eax, [edi + 8]
mov dword [ebp - 0x558], eax
test eax, eax
je 0x40795f
push 0x168
lea eax, [ebp - 0x488]
mov ecx, 0x28
mov esi, str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
lea edi, [ebp - 0x528]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00490360
add esp, 0xc
mov dword [ebp - 0x544], 0
lea eax, [ebp - 0x544]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x528]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40783e
xor eax, eax
jmp 0x407959
push 0x104
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.00490360
add esp, 0xc
lea eax, [ebp - 0x128]
push dword [ebp - 0x558]
push str._sConnection
push eax
call fcn.0040a480
add esp, 0xc
mov dword [ebp - 0x54c], 0
lea eax, [ebp - 0x54c]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x544]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4078b0
push dword [ebp - 0x544]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x407959
lea eax, [ebp - 0x560]
mov dword [ebp - 0x564], 1
push eax
lea eax, [ebp - 0x320]
mov dword [ebp - 0x560], 0xfa
push eax
lea eax, [ebp - 0x564]
push eax
push 0
push str.PnPInstanceId
push dword [ebp - 0x54c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x40790a
push dword [ebp - 0x544]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x54c]
call esi
xor eax, eax
jmp 0x407959
push 3
lea eax, [ebp - 0x320]
push 0x6469ec
push eax
call fcn.004a147b
add esp, 0xc
test eax, eax
je 0x40793e
push 3
lea eax, [ebp - 0x320]
push 0x6469f4
push eax
call fcn.004a147b
add esp, 0xc
test eax, eax
jne 0x4078f0
push dword [ebp - 0x544]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x54c]
call esi
mov eax, 1
mov edi, dword [ebp - 0x548]
test eax, eax
je 0x407a7d
lea edx, [edi + 0x1b0]
mov dword [ebp - 0x530], 0
mov ecx, edx
mov dword [ebp - 0x52c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x540], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407990
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x540]
call fcn.0040a4c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x540]
cmp dword [ebp - 0x52c], 0xf
mov edx, dword [ebp - 0x540]
cmova ecx, edx
mov dword [ebp - 0x558], edx
cmp dword [ebp - 0x530], 7
jne 0x4079e8
cmp dword [ecx], 0x2e302e30
jne 0x4079e8
cmp word [ecx + 4], 0x2e30
jne 0x4079e8
cmp byte [ecx + 6], 0x30
je 0x407a44
xor esi, esi
cmp dword [edi + 0x190], esi
jbe 0x407a3a
xorps xmm0, xmm0
mov word [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
movzx eax, byte [edi + esi + 0x194]
push eax
push str._.2X
lea eax, [ebp - 0x20]
push 0xa
push eax
call fcn.00404d50
mov ecx, dword [ebp - 0x568]
lea eax, [ebp - 0x20]
add esp, 0x10
push eax
call fcn.0040a100
inc esi
cmp esi, dword [edi + 0x190]
jb 0x4079f2
mov edx, dword [ebp - 0x558]
mov dword [ebp - 0x55c], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x52c]
cmp eax, 0xf
jbe 0x407a7d
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x407a73
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407aae
push ecx
push edx
call fcn.00439938
add esp, 8
mov edi, dword [edi]
mov dword [ebp - 0x548], edi
test edi, edi
jne 0x4077d0
mov edi, dword [ebp - 0x550]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x55c]
jmp 0x407784
call fcn.00494baa
int3