Function at 0x4a726c
Capabilities:
Get mac address on windows
Get networking parameters

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
mov eax, 0x5df50c
call fcn.0057c5c8
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x2c]
mov word [ebp - 0x18], 8
mov dword [ebp - 4], ecx
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 0x14
push eax
push 0
call sub.iphlpapi.dll_GetNetworkParams
mov ebx, eax
test eax, eax
je 0x4a7303
cmp ebx, 0x6f
je 0x4a7303
push ebx
push 0x5decd6
lea edx, [ebp - 4]
push edx
call fcn.0058fdd4
mov word [ebp - 0x18], 0x20
mov eax, dword [ebp + 8]
add esp, 0xc
lea edx, [ebp - 4]
call fcn.0058fb34
mov eax, dword [ebp + 8]
mov edx, 2
mov word [ebp - 0x18], 0x2c
push eax
lea eax, [ebp - 4]
dec dword [ebp - 0xc]
call fcn.0058fb04
pop eax
mov word [ebp - 0x18], 0x20
inc dword [ebp - 0xc]
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x4a752b
mov ecx, dword [ebp - 0x2c]
push ecx
push 0x40
call sub.kernel32.dll_GlobalAlloc
test eax, eax
jne 0x4a7367
push 0x5decf5
lea eax, [ebp - 4]
push eax
call fcn.0058fdd4
mov word [ebp - 0x18], 0x38
mov eax, dword [ebp + 8]
add esp, 8
lea edx, [ebp - 4]
call fcn.0058fb34
mov eax, dword [ebp + 8]
mov edx, 2
mov word [ebp - 0x18], 0x44
push eax
lea eax, [ebp - 4]
dec dword [ebp - 0xc]
call fcn.0058fb04
pop eax
mov word [ebp - 0x18], 0x38
inc dword [ebp - 0xc]
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x4a752b
xor ecx, ecx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], ecx
push eax
push 0
call sub.iphlpapi.dll_GetAdaptersInfo
mov ebx, eax
test eax, eax
je 0x4a73d8
cmp ebx, 0x6f
je 0x4a73d8
push ebx
push 0x5ded0e
lea edx, [ebp - 4]
push edx
call fcn.0058fdd4
mov word [ebp - 0x18], 0x50
mov eax, dword [ebp + 8]
add esp, 0xc
lea edx, [ebp - 4]
call fcn.0058fb34
mov eax, dword [ebp + 8]
mov edx, 2
mov word [ebp - 0x18], 0x5c
push eax
lea eax, [ebp - 4]
dec dword [ebp - 0xc]
call fcn.0058fb04
pop eax
mov word [ebp - 0x18], 0x50
inc dword [ebp - 0xc]
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x4a752b
mov ecx, dword [ebp - 0x30]
push ecx
push 0x40
call sub.kernel32.dll_GlobalAlloc
mov esi, eax
test eax, eax
jne 0x4a743e
push 0x5ded2c
lea edx, [ebp - 4]
push edx
call fcn.0058fdd4
mov word [ebp - 0x18], 0x68
mov eax, dword [ebp + 8]
add esp, 8
lea edx, [ebp - 4]
call fcn.0058fb34
mov eax, dword [ebp + 8]
mov edx, 2
mov word [ebp - 0x18], 0x74
push eax
lea eax, [ebp - 4]
dec dword [ebp - 0xc]
call fcn.0058fb04
pop eax
mov word [ebp - 0x18], 0x68
inc dword [ebp - 0xc]
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x4a752b
lea ecx, [ebp - 0x30]
push ecx
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
mov ebx, eax
test eax, eax
je 0x4a74a4
push ebx
push 0x5ded45
lea edx, [ebp - 4]
push edx
call fcn.0058fdd4
mov word [ebp - 0x18], pe_nt_image_headers32
mov eax, dword [ebp + 8]
add esp, 0xc
lea edx, [ebp - 4]
call fcn.0058fb34
mov eax, dword [ebp + 8]
mov edx, 2
mov word [ebp - 0x18], 0x8c
push eax
lea eax, [ebp - 4]
dec dword [ebp - 0xc]
call fcn.0058fb04
pop eax
mov word [ebp - 0x18], pe_nt_image_headers32
inc dword [ebp - 0xc]
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x4a752b
mov eax, esi
xor edx, edx
xor ecx, ecx
mov dl, byte [eax + 0x199]
push edx
xor edx, edx
mov cl, byte [eax + 0x198]
push ecx
xor ecx, ecx
mov dl, byte [eax + 0x197]
push edx
xor edx, edx
mov cl, byte [eax + 0x196]
push ecx
lea ecx, [ebp - 4]
mov dl, byte [eax + 0x195]
push edx
movzx eax, byte [eax + 0x194]
push eax
push 0x5ded66
push ecx
call fcn.0058fdd4
mov word [ebp - 0x18], 0x98
mov eax, dword [ebp + 8]
add esp, 0x20
lea edx, [ebp - 4]
call fcn.0058fb34
mov eax, dword [ebp + 8]
mov edx, 2
mov word [ebp - 0x18], 0xa4
push eax
lea eax, [ebp - 4]
dec dword [ebp - 0xc]
call fcn.0058fb04
pop eax
mov word [ebp - 0x18], 0x98
inc dword [ebp - 0xc]
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret