Function at 0x10054960
Capabilities:
Get local ipv4 addresses
Get mac address on windows
Get networking parameters

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
mov eax, dword [0x10086ba0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0xd0], 0x7d0
mov byte [ebp - 0xc9], 0
lea ecx, [ebp - 0xc8]
call fcn.10003450
mov byte [ebp - 0x95], 0
mov byte [ebp - 0x151], 0
mov dword [ebp - 0xe4], 0x7d0
push 8
push 0
lea eax, [ebp - 0x15c]
push eax
call fcn.100139b0
add esp, 0xc
lea ecx, [ebp - 0x15c]
push ecx
call sym.RtlLib.dll_RT_GetMacAddress
add esp, 4
push 0x80
push 0
lea edx, [ebp - 0x88]
push edx
call fcn.100139b0
add esp, 0xc
mov eax, 1
test eax, eax
je 0x10054da8
mov dword [ebp - 0x94], 0
mov ecx, dword [ebp - 0x94]
add ecx, 1
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0xd0]
push edx
call fcn.10004590
add esp, 4
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xd4], ecx
lea edx, [ebp - 0xd0]
push edx
mov eax, dword [ebp - 0xd4]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0x6f
jne 0x10054a7d
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0x164], ecx
mov edx, dword [ebp - 0x164]
push edx
call fcn.10004585
add esp, 4
jmp 0x10054a7f
jmp 0x10054a95
cmp dword [ebp - 0xd8], 0x6f
jne 0x10054a95
cmp dword [ebp - 0x94], 3
jb 0x10054a00
cmp dword [ebp - 0xd8], 0
je 0x10054aa3
jmp 0x10054da8
mov dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x94]
add eax, 1
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0xe4]
push ecx
call fcn.10004590
add esp, 4
mov dword [ebp - 0x168], eax
mov edx, dword [ebp - 0x168]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xe0], eax
lea ecx, [ebp - 0xe4]
push ecx
mov edx, dword [ebp - 0xe0]
push edx
call sub.IPHLPAPI.DLL_GetNetworkParams
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0x6f
jne 0x10054b2a
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x16c]
push ecx
call fcn.10004585
add esp, 4
jmp 0x10054b2c
jmp 0x10054b42
cmp dword [ebp - 0xd8], 0x6f
jne 0x10054b42
cmp dword [ebp - 0x94], 3
jb 0x10054aad
cmp dword [ebp - 0xd8], 0
je 0x10054b50
jmp 0x10054da8
mov edx, dword [ebp - 0xd4]
mov dword [ebp - 4], edx
mov dword [ebp - 0x90], 0
jmp 0x10054b74
mov eax, dword [ebp - 0x90]
add eax, 1
mov dword [ebp - 0x90], eax
cmp dword [ebp - 4], 0
je 0x10054d1e
mov ecx, dword [ebp - 4]
add ecx, 0x194
mov dword [ebp - 0x9c], ecx
push 6
lea edx, [ebp - 0x15c]
push edx
mov eax, dword [ebp - 0x9c]
push eax
call fcn.10013abb
add esp, 0xc
test eax, eax
jne 0x10054cff
mov byte [ebp - 0xc9], 0
push 0x64
push 0
lea ecx, [ebp - 0x150]
push ecx
call fcn.100139b0
add esp, 0xc
lea edx, [ebp - 0xc8]
push edx
mov eax, dword [ebp - 4]
add eax, 8
push eax
call sym.RtlLib.dll_RT_GetDriverInfo
add esp, 8
push str.vwifimp.ndi
lea ecx, [ebp - 0xa8]
call fcn.10001ae0
push eax
call fcn.100029a0
add esp, 8
test eax, eax
jne 0x10054c01
mov byte [ebp - 0xc9], 1
movsx ecx, byte [ebp - 0xc9]
movsx edx, byte [ebp + 8]
cmp ecx, edx
jne 0x10054cff
push 0x40
push 0
movsx eax, byte [ebp - 0xc9]
shl eax, 6
lea ecx, [ebp + eax - 0x88]
push ecx
call fcn.100139b0
add esp, 0xc
movsx edx, byte [ebp - 0xc9]
push edx
push 0x10079b5c
movsx eax, byte [ebp - 0xc9]
shl eax, 6
lea ecx, [ebp + eax - 0x88]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1a4]
push eax
push 0x10079b60
movsx ecx, byte [ebp - 0xc9]
shl ecx, 6
lea edx, [ebp + ecx - 0x86]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [ebp - 4]
add eax, 0x1b0
push eax
push 0x10079b64
movsx ecx, byte [ebp - 0xc9]
shl ecx, 6
lea edx, [ebp + ecx - 0x84]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [ebp - 4]
add eax, 0x1c0
push eax
push 0x10079b68
movsx ecx, byte [ebp - 0xc9]
shl ecx, 6
lea edx, [ebp + ecx - 0x70]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x170]
push ecx
call fcn.10004585
add esp, 4
mov dword [ebp - 0xdc], 0
mov byte [ebp - 0x95], 1
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 4], eax
movzx ecx, byte [ebp - 0x95]
test ecx, ecx
je 0x10054d19
mov dword [ebp - 4], 0
jmp 0x10054b65
cmp dword [ebp - 0xe0], 0
je 0x10054d7f
mov edx, dword [ebp - 0xe0]
add edx, 0x110
push edx
push 0x10079b6c
movsx eax, byte [ebp - 0xc9]
shl eax, 6
lea ecx, [ebp + eax - 0x5c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x174], edx
mov eax, dword [ebp - 0x174]
push eax
call fcn.10004585
add esp, 4
mov dword [ebp - 0x8c], 0
mov byte [ebp - 0x151], 1
jmp 0x10054da1
push str.0.0.0.0
push 0x10079b78
movsx ecx, byte [ebp - 0xc9]
shl ecx, 6
lea edx, [ebp + ecx - 0x5c]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x10054da8
movzx eax, byte [ebp - 0x95]
test eax, eax
je 0x10054e3f
movzx ecx, byte [ebp - 0x151]
test ecx, ecx
je 0x10054e3f
mov dword [ebp - 0xd8], 0xffffffff
push 0x64
push 0
lea edx, [ebp - 0x150]
push edx
call fcn.100139b0
add esp, 0xc
movsx eax, byte [ebp + 8]
shl eax, 6
lea ecx, [ebp + eax - 0x5c]
push ecx
movsx edx, byte [ebp + 8]
shl edx, 6
lea eax, [ebp + edx - 0x70]
push eax
movsx ecx, byte [ebp + 8]
shl ecx, 6
lea edx, [ebp + ecx - 0x84]
push edx
movsx eax, byte [ebp + 8]
shl eax, 6
lea ecx, [ebp + eax - 0x86]
push ecx
push str.dhcp__s_ip__s_mask__s_primary_dns__s
lea edx, [ebp - 0x150]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x150]
push eax
call sub.RtlIhvOid.dll_Ordinal_61
add esp, 4
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xdc], 0
je 0x10054e63
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0x178], ecx
mov edx, dword [ebp - 0x178]
push edx
call fcn.10004585
add esp, 4
cmp dword [ebp - 0x8c], 0
je 0x10054e87
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x17c]
push ecx
call fcn.10004585
add esp, 4
movzx edx, byte [ebp - 0x95]
test edx, edx
je 0x10054ea9
movzx eax, byte [ebp - 0x151]
test eax, eax
je 0x10054ea9
mov dword [ebp - 0x184], 1
jmp 0x10054eb3
mov dword [ebp - 0x184], 0
mov cl, byte [ebp - 0x184]
mov byte [ebp - 0x17d], cl
lea ecx, [ebp - 0xc8]
call fcn.100034c0
mov al, byte [ebp - 0x17d]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1001362b
mov esp, ebp
pop ebp
ret