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

Disassembly:
push 0xffffffffffffffff
push 0x42e136
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x43b050]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43b050]
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 0x4186b6
call fcn.004204b3
mov ebx, dword [esi + 0xc]
mov ebp, dword [esi]
cmp ebx, dword [esi + 0x10]
jbe 0x4186c5
call fcn.004204b3
mov eax, dword [esi]
push edi
push ebp
push ebx
push eax
lea eax, [esp + 0x30]
push eax
mov ebx, esi
call fcn.0041a1e0
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 0x418951
mov edx, dword [esp + 0x18]
push edx
call fcn.0042136f
add esp, 4
mov ebp, eax
lea eax, [esp + 0x18]
push eax
push ebp
push ebx
push ebx
push 2
mov dword [esp + 0x34], ebp
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
cmp eax, ebx
jne 0x418944
mov edi, ebp
cmp ebp, ebx
je 0x418951
mov ecx, dword [edi + 0x34]
cmp ecx, ebx
jbe 0x418939
mov eax, dword [edi + 0x40]
cmp eax, 0x47
je 0x418741
cmp eax, 6
jne 0x418939
mov eax, 7
mov dword [esp + 0x7c], eax
mov dword [esp + 0x98], eax
xor edx, edx
xor eax, eax
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], dx
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], ax
xor esi, esi
mov dword [esp + 0xb0], ebx
cmp ecx, ebx
jbe 0x41881f
mov edi, edi
movzx ecx, byte [edi + esi + 0x2c]
push ecx
push str._02X
lea edx, [esp + 0xa4]
push 4
push edx
call fcn.004185f0
add esp, 0x10
xor eax, eax
mov word [esp + 0x2c], ax
lea eax, [esp + 0x9c]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4187c0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x30]
call fcn.00404e10
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x70]
mov byte [esp + 0xbc], 1
call fcn.00405190
mov byte [esp + 0xb0], bl
cmp dword [esp + 0x40], 8
jb 0x418815
mov eax, dword [esp + 0x2c]
push eax
call fcn.0041f860
add esp, 4
inc esi
cmp esi, dword [edi + 0x34]
jb 0x418780
cmp dword [edi + 0x40], 0x47
mov esi, dword [edi + 0xc]
sete cl
mov eax, esi
mov byte [esp + 0x60], cl
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea ebp, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x418842
sub eax, ebp
push eax
push esi
lea ecx, [esp + 0x30]
call fcn.004015d0
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb4], 2
call fcn.00417bf0
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0xbc], 3
call fcn.004048d0
mov esi, 8
cmp dword [esp + 0x5c], esi
jb 0x41889f
mov eax, dword [esp + 0x48]
push eax
call fcn.0041f860
add esp, 4
xor ecx, ecx
mov ebp, 7
mov byte [esp + 0xb0], bl
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], cx
jb 0x4188ce
mov edx, dword [esp + 0x2c]
push edx
call fcn.0041f860
add esp, 4
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0x60]
push eax
call fcn.00419f20
mov dword [esp + 0xb0], 0xffffffff
cmp dword [esp + 0x98], esi
jb 0x418900
mov ecx, dword [esp + 0x84]
push ecx
call fcn.0041f860
add esp, 4
xor edx, edx
mov dword [esp + 0x98], ebp
mov dword [esp + 0x94], 0
mov word [esp + 0x84], dx
cmp dword [esp + 0x7c], esi
jb 0x41892f
mov eax, dword [esp + 0x68]
push eax
call fcn.0041f860
add esp, 4
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
xor ebx, ebx
mov edi, dword [edi + 8]
cmp edi, ebx
jne 0x418725
cmp ebp, ebx
je 0x418951
push ebp
call fcn.004202bd
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.0041f86b
add esp, 0xa0
ret