Function at 0x40d1e0
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e79fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x280
push esi
mov esi, ecx
mov dword [ebp - 0x18], edx
push edi
mov ecx, 0x524e73
mov dword [ebp - 0x20], esi
call fcn.004e6414
push 0x104
lea eax, [ebp - 0x188]
push 0
push eax
call fcn.004bc490
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x14], 0
push eax
push 0
call edi
cmp eax, 0x6f
je 0x40d271
push 1
lea eax, [ebp - 0x188]
push str.:3:_d
push eax
call fcn.0040dc70
add esp, 0xc
jmp 0x40d59c
push dword [ebp - 0x14]
call fcn.004c616e
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x40d29e
push 1
lea eax, [ebp - 0x188]
push str.:4:_d
push eax
call fcn.0040dc70
add esp, 0xc
jmp 0x40d59c
lea ecx, [ebp - 0x14]
mov esi, eax
push ecx
push eax
call edi
test eax, eax
je 0x40d2d0
push 1
lea eax, [ebp - 0x188]
push str.:5:_d
push eax
call fcn.0040dc70
add esp, 0xc
push esi
jmp 0x40d591
mov eax, dword [esi + 0x190]
cmp eax, 6
jb 0x40d584
cmp eax, 8
ja 0x40d584
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea edx, [esi + 0x10c]
mov dword [ebp - 4], 1
mov ecx, edx
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d340
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.00403090
lea eax, [esi + 0x1b0]
cmp eax, str.0.0.0.0
je 0x40d519
lea edx, [esi + 8]
test edx, edx
je 0x40d519
cmp byte [edx], 0
je 0x40d519
mov ecx, edx
mov dword [ebp - 0x64], 0
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x74], xmm0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d392
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.00403360
lea ecx, [ebp - 0x74]
call fcn.0040d030
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x2c], eax
cmp ecx, 0x10
jb 0x40d3e4
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d3da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d5ed
push ecx
push edx
call fcn.004b8e2a
add esp, 8
mov eax, dword [esi + 0x1a0]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x190]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
mov dword [ebp - 0x24], eax
cmp eax, 6
jne 0x40d453
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
lea eax, [ebp - 0x290]
push str._02X__02X__02X__02X__02X__02X
push eax
call fcn.0040dc70
add esp, 0x20
jmp 0x40d4a7
movzx eax, byte [esi + 0x19b]
push eax
movzx eax, byte [esi + 0x19a]
push eax
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
lea eax, [ebp - 0x290]
push str._02X__02X__02X__02X__02X__02X__02X__02X
push eax
call fcn.0040dc70
add esp, 0x28
lea ecx, [ebp - 0x290]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d4b0
sub ecx, edx
lea eax, [ebp - 0x290]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00403090
mov eax, dword [ebp - 0x18]
mov edi, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x40d50d
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x7c], edi
push eax
mov ecx, edi
call fcn.00407700
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
lea ecx, [edi + 0x18]
push eax
call fcn.00407700
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x34], eax
mov eax, dword [ebp - 0x24]
mov dword [edi + 0x38], eax
add dword [edx + 4], 0x3c
jmp 0x40d519
lea ecx, [ebp - 0x5c]
push ecx
push edi
mov ecx, eax
call fcn.0040dcd0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x40d554
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d54a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d5ed
push ecx
push edx
call fcn.004b8e2a
add esp, 8
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x40d584
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d57a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d5ed
push ecx
push edx
call fcn.004b8e2a
add esp, 8
mov esi, dword [esi]
test esi, esi
jne 0x40d2d0
push dword [ebp - 0x1c]
call fcn.004c529d
mov esi, dword [ebp - 0x20]
add esp, 4
xorps xmm0, xmm0
lea ecx, [ebp - 0x188]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edx, [ecx + 1]
mov dword [esi + 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d5c0
sub ecx, edx
lea eax, [ebp - 0x188]
push ecx
push eax
mov ecx, esi
call fcn.00403360
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004c05a0
int3