Function at 0x1003a360
Capabilities:
Get local ipv4 addresses
Get mac address on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10059976
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x1006c3ac]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1006c3ac]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 0x10]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], 0
cmp dword [esi + 0xc], edi
jbe 0x1003a3b6
call fcn.1003f767
mov ebx, dword [esi + 0xc]
mov ebp, dword [esi]
cmp ebx, dword [esi + 0x10]
jbe 0x1003a3c5
call fcn.1003f767
mov eax, dword [esi]
push edi
push ebp
push ebx
push eax
lea eax, [esp + 0x30]
push eax
mov ebx, esi
call fcn.1003be30
lea ecx, [esp + 0x18]
push ecx
xor ebx, ebx
push ebx
push ebx
push ebx
push 2
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
cmp eax, 0x6f
jne 0x1003a650
mov edx, dword [esp + 0x18]
push edx
call fcn.100415ef
add esp, 4
mov edi, eax
lea eax, [esp + 0x18]
push eax
push edi
push ebx
push ebx
push 2
mov dword [esp + 0x34], edi
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
cmp eax, ebx
jne 0x1003a643
mov ebp, edi
cmp edi, ebx
je 0x1003a650
mov ecx, dword [ebp + 0x34]
cmp ecx, ebx
jbe 0x1003a638
mov eax, dword [ebp + 0x40]
cmp eax, 0x47
je 0x1003a441
cmp eax, 6
jne 0x1003a638
mov esi, 7
xor edx, edx
xor eax, eax
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], dx
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], ax
xor edi, edi
mov dword [esp + 0xb0], ebx
cmp ecx, ebx
jbe 0x1003a524
mov edi, edi
movzx ecx, byte [edi + ebp + 0x2c]
push ecx
push str._02X
mov ecx, 4
lea ebx, [esp + 0xa4]
call fcn.1003a300
xor ebx, ebx
add esp, 8
xor edx, edx
lea eax, [esp + 0x9c]
mov word [esp + 0x2c], dx
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1003a4c0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xa0]
lea esi, [esp + 0x2c]
call fcn.1000b540
mov eax, esi
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x6c]
mov byte [esp + 0xb8], 1
call fcn.10017400
mov byte [esp + 0xb0], bl
cmp dword [esp + 0x40], 8
jb 0x1003a513
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.1003f2c6
add esp, 4
inc edi
mov esi, 7
cmp edi, dword [ebp + 0x34]
jb 0x1003a480
xor ebx, ebx
cmp dword [ebp + 0x40], 0x47
mov ecx, dword [ebp + 0xc]
sete dl
mov eax, ecx
mov byte [esp + 0x60], dl
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x1003a547
sub eax, edi
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.100028e0
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb4], 2
call fcn.100399b0
add esp, 4
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x88]
mov byte [esp + 0xb8], 3
call fcn.1000b980
mov edi, 8
cmp dword [esp + 0x5c], edi
jb 0x1003a5a3
mov ecx, dword [esp + 0x48]
push ecx
call fcn.1003f2c6
add esp, 4
xor edx, edx
mov byte [esp + 0xb0], bl
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], dx
jb 0x1003a5cd
mov eax, dword [esp + 0x2c]
push eax
call fcn.1003f2c6
add esp, 4
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x60]
push ecx
call fcn.1003bc10
mov dword [esp + 0xb0], 0xffffffff
cmp dword [esp + 0x98], edi
jb 0x1003a5ff
mov edx, dword [esp + 0x84]
push edx
call fcn.1003f2c6
add esp, 4
xor eax, eax
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], 0
mov word [esp + 0x84], ax
cmp dword [esp + 0x7c], edi
jb 0x1003a62e
mov ecx, dword [esp + 0x68]
push ecx
call fcn.1003f2c6
add esp, 4
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
xor ebx, ebx
mov ebp, dword [ebp + 8]
cmp ebp, ebx
jne 0x1003a425
cmp edi, ebx
je 0x1003a650
push edi
call fcn.10041172
add esp, 4
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
neg eax
sbb eax, eax
neg eax
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.1003f2d1
add esp, 0xa0
ret