Function at 0x10004850
Capabilities:
Get local ipv4 addresses
Get mac address on windows
Get routing table

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000b1d0
mov eax, dword fs:[0]
push eax
sub esp, 0x350
mov eax, dword [0x1000f040]
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 fs:[0x2c]
mov ecx, dword [0x1000f61c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10013b9c]
cmp eax, dword [ecx + 4]
jle 0x100048eb
push 0x10013b9c
call fcn.1000a453
add esp, 4
cmp dword [0x10013b9c], 0xffffffff
jne 0x100048eb
xorps xmm0, xmm0
mov dword [0x10013ad0], 0
movups xmmword [0x10013ac0], xmm0
push 0x1000b670
mov dword [0x10013ad4], 0xf
mov byte [0x10013ac0], 0
call fcn.1000a7ec
push 0x10013b9c
call fcn.1000a402
add esp, 8
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
lea eax, [ebp - 0x350]
push 1
push eax
push 0
mov dword [ebp - 0x350], 0
call edi
cmp eax, 0x7a
jne 0x1000496c
push dword [ebp - 0x350]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
lea eax, [ebp - 0x350]
push 1
push eax
push esi
call edi
test eax, eax
jne 0x10004965
test esi, esi
je 0x1000496c
cmp dword [esi], eax
jbe 0x10004965
push dword [esi + 0x10]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edx, eax
test edx, edx
je 0x10004965
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004950
sub ecx, edi
push ecx
push edx
mov ecx, 0x10013ac0
call fcn.10007a00
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0x10013ac0
lea ecx, [ebp - 0x348]
call fcn.10007870
push 0x31c
lea eax, [ebp - 0x32c]
mov dword [ebp - 4], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x288
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
add esp, 0x10
mov esi, eax
mov dword [ebp - 0x34c], 0x288
lea eax, [ebp - 0x34c]
mov dword [ebp - 0x358], esi
push eax
push esi
call edi
cmp eax, 0x6f
jne 0x100049e9
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push dword [ebp - 0x34c]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 8
mov dword [ebp - 0x358], eax
mov esi, eax
lea eax, [ebp - 0x34c]
push eax
push esi
call edi
test eax, eax
jne 0x10004c83
mov edi, esi
test esi, esi
je 0x10004c83
lea eax, [ebp - 0x330]
mov dword [ebp - 0x35c], eax
push 0x64
call fcn.1000a4b7
push 0x64
mov esi, eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
movzx ecx, byte [edi + 0x199]
movzx eax, byte [edi + 0x197]
push ecx
movzx ecx, byte [edi + 0x198]
push ecx
push eax
movzx eax, byte [edi + 0x196]
push eax
movzx eax, byte [edi + 0x195]
push eax
movzx eax, byte [edi + 0x194]
push eax
push str._02x__02x__02x__02x__02x__02x
push esi
call fcn.10007b40
lea eax, [edi + 0x1b0]
push eax
lea eax, [esi + 0x14]
push 0x14
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea eax, [edi + 0x1c0]
push eax
lea eax, [esi + 0x28]
push 0x14
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0x48
lea eax, [edi + 0x1d8]
push eax
lea eax, [esi + 0x3c]
push 0x14
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov eax, dword [ebp - 0x35c]
add esp, 0xc
mov edi, dword [edi]
mov dword [eax], esi
add eax, 4
mov dword [ebp - 0x35c], eax
test edi, edi
jne 0x10004a11
push dword [ebp - 0x358]
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call eax
mov esi, dword [ebp - 0x330]
add esp, 4
mov dword [ebp - 0x34c], esi
test esi, esi
je 0x10004c8e
xor al, al
lea ecx, [ebp - 0x330]
mov dword [ebp - 0x350], eax
mov dword [ebp - 0x358], ecx
test al, al
jne 0x10004c15
mov edx, esi
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x10004b00
sub edx, ecx
lea ecx, [esi + 0x14]
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004b10
sub ecx, edi
mov dword [ebp - 0x35c], ecx
cmp byte [str.a0_99_9b_1b_fa_93], al
jne 0x10004b54
cmp edx, 0x10
jle 0x10004c15
mov ecx, 0x19
mov edi, str.a0_99_9b_1b_fa_93
rep movsd dword es:[edi], dword [esi]
cmp byte [str.a0_99_9b_1b_fa_93], al
je 0x10004c15
mov ecx, dword [ebp - 0x35c]
mov esi, dword [ebp - 0x34c]
cmp ecx, 8
jle 0x10004c15
cmp edx, 0x10
jle 0x10004c15
mov edx, dword [ebp - 0x34c]
mov ecx, 0x19
mov edi, str.a0_99_9b_1b_fa_93
add edx, 0x3c
rep movsd dword es:[edi], dword [esi]
mov edi, edx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x10004b80
mov esi, dword [ebp - 0x338]
sub edi, ecx
cmp dword [ebp - 0x334], 0xf
lea ecx, [ebp - 0x348]
cmova ecx, dword [ebp - 0x348]
cmp esi, edi
jne 0x10004c15
sub esi, 4
jb 0x10004bc1
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10004bc6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10004bb0
cmp esi, 0xfffffffc
je 0x10004bfa
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10004bf3
cmp esi, 0xfffffffd
je 0x10004bfa
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10004bf3
cmp esi, 0xfffffffe
je 0x10004bfa
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10004bf3
cmp esi, 0xffffffff
je 0x10004bfa
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x10004bfa
sbb eax, eax
or eax, 1
jmp 0x10004bfc
xor eax, eax
mov ecx, dword [ebp - 0x350]
test eax, eax
movzx ecx, cl
mov eax, 1
cmove ecx, eax
mov dword [ebp - 0x350], ecx
push dword [ebp - 0x34c]
call fcn.1000a3d2
mov ecx, dword [ebp - 0x358]
add esp, 4
mov eax, dword [ebp - 0x350]
add ecx, 4
mov dword [ebp - 0x358], ecx
mov esi, dword [ecx]
mov dword [ebp - 0x34c], esi
test esi, esi
jne 0x10004af1
test al, al
jne 0x10004c7a
cmp dword [ebp - 0x338], 0
je 0x10004c7a
cmp dword [ebp - 0x334], 0xf
lea eax, [ebp - 0x348]
cmova eax, dword [ebp - 0x348]
push eax
push 0x14
push str.192.168.0.1
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
mov byte [ebp - 0x351], 1
jmp 0x10004c95
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push esi
call eax
add esp, 4
mov byte [ebp - 0x351], 0
mov ecx, dword [ebp - 0x334]
cmp ecx, 0xf
jbe 0x10004cd1
mov edx, dword [ebp - 0x348]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004cc7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10004cc7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1000a801
add esp, 8
mov al, byte [ebp - 0x351]
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.1000a2a2
mov esp, ebp
pop ebp
ret